Skip to content

Commit 46c4591

Browse files
Bryan SullivanEric Z
Bryan Sullivan
authored and
Eric Z
committed
Add licenses and .gitreview
JIRA: ACUMOS-203 Change-Id: I99540d00a50126c452d880ad7f2b2a651a1ced6e Signed-off-by: Bryan Sullivan <[email protected]>
1 parent ebb5c11 commit 46c4591

21 files changed

+529
-154
lines changed

.gitreview

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[gerrit]
2+
host=gerrit.acumos.org
3+
port=29418
4+
project=vm-predictor.git
5+

README.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
<!---
2+
.. ===============LICENSE_START=======================================================
3+
.. Acumos CC-BY-4.0
4+
.. ===================================================================================
5+
.. Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
.. ===================================================================================
7+
.. This Acumos documentation file is distributed by AT&T and Tech Mahindra
8+
.. under the Creative Commons Attribution 4.0 International License (the "License");
9+
.. you may not use this file except in compliance with the License.
10+
.. You may obtain a copy of the License at
11+
..
12+
.. http://creativecommons.org/licenses/by/4.0
13+
..
14+
.. This file is distributed on an "AS IS" BASIS,
15+
.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
.. See the License for the specific language governing permissions and
17+
.. limitations under the License.
18+
.. ===============LICENSE_END=========================================================
19+
-->
20+
121
# vm-predictor
222
An example model that can predict resource utilization at
323
a given timestamp based on the time and historical context.

docs/index.rst

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
.. ===============LICENSE_START=======================================================
2+
.. Acumos CC-BY-4.0
3+
.. ===================================================================================
4+
.. Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
5+
.. ===================================================================================
6+
.. This Acumos documentation file is distributed by AT&T and Tech Mahindra
7+
.. under the Creative Commons Attribution 4.0 International License (the "License");
8+
.. you may not use this file except in compliance with the License.
9+
.. You may obtain a copy of the License at
10+
..
11+
.. http://creativecommons.org/licenses/by/4.0
12+
..
13+
.. This file is distributed on an "AS IS" BASIS,
14+
.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
.. See the License for the specific language governing permissions and
16+
.. limitations under the License.
17+
.. ===============LICENSE_END=========================================================
118
vm-predictor
219
-------------------
320

docs/release-notes.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
<!---
2+
.. ===============LICENSE_START=======================================================
3+
.. Acumos CC-BY-4.0
4+
.. ===================================================================================
5+
.. Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
.. ===================================================================================
7+
.. This Acumos documentation file is distributed by AT&T and Tech Mahindra
8+
.. under the Creative Commons Attribution 4.0 International License (the "License");
9+
.. you may not use this file except in compliance with the License.
10+
.. You may obtain a copy of the License at
11+
..
12+
.. http://creativecommons.org/licenses/by/4.0
13+
..
14+
.. This file is distributed on an "AS IS" BASIS,
15+
.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
.. See the License for the specific language governing permissions and
17+
.. limitations under the License.
18+
.. ===============LICENSE_END=========================================================
19+
-->
20+
121
# Release Notes
222
## 0.8
323
### 0.8.2

docs/tutorials/index.rst

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
.. ===============LICENSE_START=======================================================
2+
.. Acumos CC-BY-4.0
3+
.. ===================================================================================
4+
.. Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
5+
.. ===================================================================================
6+
.. This Acumos documentation file is distributed by AT&T and Tech Mahindra
7+
.. under the Creative Commons Attribution 4.0 International License (the "License");
8+
.. you may not use this file except in compliance with the License.
9+
.. You may obtain a copy of the License at
10+
..
11+
.. http://creativecommons.org/licenses/by/4.0
12+
..
13+
.. This file is distributed on an "AS IS" BASIS,
14+
.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
.. See the License for the specific language governing permissions and
16+
.. limitations under the License.
17+
.. ===============LICENSE_END=========================================================
118
Tutorial
219
--------
320

docs/tutorials/lesson1.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
<!---
2+
.. ===============LICENSE_START=======================================================
3+
.. Acumos CC-BY-4.0
4+
.. ===================================================================================
5+
.. Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
.. ===================================================================================
7+
.. This Acumos documentation file is distributed by AT&T and Tech Mahindra
8+
.. under the Creative Commons Attribution 4.0 International License (the "License");
9+
.. you may not use this file except in compliance with the License.
10+
.. You may obtain a copy of the License at
11+
..
12+
.. http://creativecommons.org/licenses/by/4.0
13+
..
14+
.. This file is distributed on an "AS IS" BASIS,
15+
.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
.. See the License for the specific language governing permissions and
17+
.. limitations under the License.
18+
.. ===============LICENSE_END=========================================================
19+
-->
20+
121
# Wrapping Models for Deployment
222
To utilize this transformer model set, it first creates a detect transformer
323
and then a pixelate transformer.

docs/tutorials/lesson2.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
<!---
2+
.. ===============LICENSE_START=======================================================
3+
.. Acumos CC-BY-4.0
4+
.. ===================================================================================
5+
.. Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
.. ===================================================================================
7+
.. This Acumos documentation file is distributed by AT&T and Tech Mahindra
8+
.. under the Creative Commons Attribution 4.0 International License (the "License");
9+
.. you may not use this file except in compliance with the License.
10+
.. You may obtain a copy of the License at
11+
..
12+
.. http://creativecommons.org/licenses/by/4.0
13+
..
14+
.. This file is distributed on an "AS IS" BASIS,
15+
.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
.. See the License for the specific language governing permissions and
17+
.. limitations under the License.
18+
.. ===============LICENSE_END=========================================================
19+
-->
20+
121
# Web Demo
222
This web page visualizes reports for policy optimization of hosted
323
customer VMs. Interested readers in more background for the exploration of

docs/tutorials/lesson3.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
<!---
2+
.. ===============LICENSE_START=======================================================
3+
.. Acumos CC-BY-4.0
4+
.. ===================================================================================
5+
.. Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
.. ===================================================================================
7+
.. This Acumos documentation file is distributed by AT&T and Tech Mahindra
8+
.. under the Creative Commons Attribution 4.0 International License (the "License");
9+
.. you may not use this file except in compliance with the License.
10+
.. You may obtain a copy of the License at
11+
..
12+
.. http://creativecommons.org/licenses/by/4.0
13+
..
14+
.. This file is distributed on an "AS IS" BASIS,
15+
.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
.. See the License for the specific language governing permissions and
17+
.. limitations under the License.
18+
.. ===============LICENSE_END=========================================================
19+
-->
20+
121
# Advanced Machine Learning Topics
222
This tutotial discusses more background information for the problem of
323
temporal pattern prediction as it applied to this model and its data.

docs/vm-predictor.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
<!---
2+
.. ===============LICENSE_START=======================================================
3+
.. Acumos CC-BY-4.0
4+
.. ===================================================================================
5+
.. Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
.. ===================================================================================
7+
.. This Acumos documentation file is distributed by AT&T and Tech Mahindra
8+
.. under the Creative Commons Attribution 4.0 International License (the "License");
9+
.. you may not use this file except in compliance with the License.
10+
.. You may obtain a copy of the License at
11+
..
12+
.. http://creativecommons.org/licenses/by/4.0
13+
..
14+
.. This file is distributed on an "AS IS" BASIS,
15+
.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
.. See the License for the specific language governing permissions and
17+
.. limitations under the License.
18+
.. ===============LICENSE_END=========================================================
19+
-->
20+
121
# vm-predictor
222
An example model that can predict resource utilization at a given timestamp
323
based on the time and historical context.

legacy/bin/example-envfile.sh

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
#!/usr/bin/env bash
2-
2+
# ===============LICENSE_START=======================================================
3+
# Acumos Apache-2.0
4+
# ===================================================================================
5+
# Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
# ===================================================================================
7+
# This Acumos software file is distributed by AT&T and Tech Mahindra
8+
# under the Apache License, Version 2.0 (the "License");
9+
# you may not use this file except in compliance with the License.
10+
# You may obtain a copy of the License at
11+
#
12+
# http://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# This file is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
# ===============LICENSE_END=========================================================
319
rm -f example-python.war
420

521
curl -X POST \

legacy/bin/example-python.sh

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
#!/usr/bin/env bash
2-
2+
# ===============LICENSE_START=======================================================
3+
# Acumos Apache-2.0
4+
# ===================================================================================
5+
# Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
# ===================================================================================
7+
# This Acumos software file is distributed by AT&T and Tech Mahindra
8+
# under the Apache License, Version 2.0 (the "License");
9+
# you may not use this file except in compliance with the License.
10+
# You may obtain a copy of the License at
11+
#
12+
# http://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# This file is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
# ===============LICENSE_END=========================================================
319
rm -f example-python.war
420

521
curl -X POST \

legacy/bin/run-example-python.sh

100755100644
+17-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
#!/usr/bin/env bash
2-
2+
# ===============LICENSE_START=======================================================
3+
# Acumos Apache-2.0
4+
# ===================================================================================
5+
# Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
# ===================================================================================
7+
# This Acumos software file is distributed by AT&T and Tech Mahindra
8+
# under the Apache License, Version 2.0 (the "License");
9+
# you may not use this file except in compliance with the License.
10+
# You may obtain a copy of the License at
11+
#
12+
# http://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# This file is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
# ===============LICENSE_END=========================================================
319
echo "starting prediction service on port 55002"
420

521
java -jar ../jetty-runner-8.1.14.v20131031.jar --port 55002 example-python.war

legacy/bin/run_all_models.sh

100755100644
+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
#!/usr/bin/env bash
2+
# ===============LICENSE_START=======================================================
3+
# Acumos Apache-2.0
4+
# ===================================================================================
5+
# Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
# ===================================================================================
7+
# This Acumos software file is distributed by AT&T and Tech Mahindra
8+
# under the Apache License, Version 2.0 (the "License");
9+
# you may not use this file except in compliance with the License.
10+
# You may obtain a copy of the License at
11+
#
12+
# http://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# This file is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
# ===============LICENSE_END=========================================================
119
python ../../vm_predictor/subscriber_models.py vnf_bandwidth_flt_timecols.csv usage
220
python ../../vm_predictor/subscriber_models.py vnf_bandwidth_flt_timecols.csv received
321
python ../../vm_predictor/subscriber_models.py vnf_bandwidth_flt_timecols.csv transmitted

legacy/bin/run_vm_and_subscriber.sh

100755100644
+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
#!/bin/bash
2+
# ===============LICENSE_START=======================================================
3+
# Acumos Apache-2.0
4+
# ===================================================================================
5+
# Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
# ===================================================================================
7+
# This Acumos software file is distributed by AT&T and Tech Mahindra
8+
# under the Apache License, Version 2.0 (the "License");
9+
# you may not use this file except in compliance with the License.
10+
# You may obtain a copy of the License at
11+
#
12+
# http://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# This file is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
# ===============LICENSE_END=========================================================
119
#python ../../vm_predictor/subscriber_models2.py vnf_bandwidth_flt_timecols.csv usage SUBSCRIBER_NAME
220
#python ../../vm_predictor/subscriber_models2.py vnf_bandwidth_flt_timecols.csv usage VM_ID
321
#python ../../vm_predictor/subscriber_models2.py vnf_bandwidth_flt_timecols.csv received SUBSCRIBER_NAME

legacy/bin/run_vm_models.sh

100755100644
+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
#!/usr/bin/env bash
2+
# ===============LICENSE_START=======================================================
3+
# Acumos Apache-2.0
4+
# ===================================================================================
5+
# Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
# ===================================================================================
7+
# This Acumos software file is distributed by AT&T and Tech Mahindra
8+
# under the Apache License, Version 2.0 (the "License");
9+
# you may not use this file except in compliance with the License.
10+
# You may obtain a copy of the License at
11+
#
12+
# http://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# This file is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
# ===============LICENSE_END=========================================================
119
python ../../vm_predictor/VM_models.py vnf_bandwidth_flt_timecols.csv usage
220
python ../../vm_predictor/VM_models.py vnf_bandwidth_flt_timecols.csv received
321
python ../../vm_predictor/VM_models.py vnf_bandwidth_flt_timecols.csv transmitted

setup.py

+18
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
# -*- coding: utf-8 -*-
2+
# ===============LICENSE_START=======================================================
3+
# Acumos Apache-2.0
4+
# ===================================================================================
5+
# Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
# ===================================================================================
7+
# This Acumos software file is distributed by AT&T and Tech Mahindra
8+
# under the Apache License, Version 2.0 (the "License");
9+
# you may not use this file except in compliance with the License.
10+
# You may obtain a copy of the License at
11+
#
12+
# http://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# This file is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
# ===============LICENSE_END=========================================================
19+
220
import os
321
from setuptools import setup, find_packages
422
from setuptools.command.install import install

web_demo/README.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
<!---
2+
.. ===============LICENSE_START=======================================================
3+
.. Acumos CC-BY-4.0
4+
.. ===================================================================================
5+
.. Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6+
.. ===================================================================================
7+
.. This Acumos documentation file is distributed by AT&T and Tech Mahindra
8+
.. under the Creative Commons Attribution 4.0 International License (the "License");
9+
.. you may not use this file except in compliance with the License.
10+
.. You may obtain a copy of the License at
11+
..
12+
.. http://creativecommons.org/licenses/by/4.0
13+
..
14+
.. This file is distributed on an "AS IS" BASIS,
15+
.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
.. See the License for the specific language governing permissions and
17+
.. limitations under the License.
18+
.. ===============LICENSE_END=========================================================
19+
-->
20+
121
# web_demo
222
This directory provides a simple web page and demo content for
323
the vm_predictor demo.

0 commit comments

Comments
 (0)