File tree 21 files changed +529
-154
lines changed
21 files changed +529
-154
lines changed Original file line number Diff line number Diff line change
1
+ [gerrit]
2
+ host=gerrit.acumos.org
3
+ port=29418
4
+ project=vm-predictor.git
5
+
Original file line number Diff line number Diff line change
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
+
1
21
# vm-predictor
2
22
An example model that can predict resource utilization at
3
23
a given timestamp based on the time and historical context.
Original file line number Diff line number Diff line change
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=========================================================
1
18
vm-predictor
2
19
-------------------
3
20
Original file line number Diff line number Diff line change
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
+
1
21
# Release Notes
2
22
## 0.8
3
23
### 0.8.2
Original file line number Diff line number Diff line change
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=========================================================
1
18
Tutorial
2
19
--------
3
20
Original file line number Diff line number Diff line change
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
+
1
21
# Wrapping Models for Deployment
2
22
To utilize this transformer model set, it first creates a detect transformer
3
23
and then a pixelate transformer.
Original file line number Diff line number Diff line change
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
+
1
21
# Web Demo
2
22
This web page visualizes reports for policy optimization of hosted
3
23
customer VMs. Interested readers in more background for the exploration of
Original file line number Diff line number Diff line change
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
+
1
21
# Advanced Machine Learning Topics
2
22
This tutotial discusses more background information for the problem of
3
23
temporal pattern prediction as it applied to this model and its data.
Original file line number Diff line number Diff line change
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
+
1
21
# vm-predictor
2
22
An example model that can predict resource utilization at a given timestamp
3
23
based on the time and historical context.
Original file line number Diff line number Diff line change 1
1
#! /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=========================================================
3
19
rm -f example-python.war
4
20
5
21
curl -X POST \
Original file line number Diff line number Diff line change 1
1
#! /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=========================================================
3
19
rm -f example-python.war
4
20
5
21
curl -X POST \
Original file line number Diff line number Diff line change 1
1
#! /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=========================================================
3
19
echo " starting prediction service on port 55002"
4
20
5
21
java -jar ../jetty-runner-8.1.14.v20131031.jar --port 55002 example-python.war
Original file line number Diff line number Diff line change
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=========================================================
1
19
python ../../vm_predictor/subscriber_models.py vnf_bandwidth_flt_timecols.csv usage
2
20
python ../../vm_predictor/subscriber_models.py vnf_bandwidth_flt_timecols.csv received
3
21
python ../../vm_predictor/subscriber_models.py vnf_bandwidth_flt_timecols.csv transmitted
Original file line number Diff line number Diff line change
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=========================================================
1
19
# python ../../vm_predictor/subscriber_models2.py vnf_bandwidth_flt_timecols.csv usage SUBSCRIBER_NAME
2
20
# python ../../vm_predictor/subscriber_models2.py vnf_bandwidth_flt_timecols.csv usage VM_ID
3
21
# python ../../vm_predictor/subscriber_models2.py vnf_bandwidth_flt_timecols.csv received SUBSCRIBER_NAME
Original file line number Diff line number Diff line change
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=========================================================
1
19
python ../../vm_predictor/VM_models.py vnf_bandwidth_flt_timecols.csv usage
2
20
python ../../vm_predictor/VM_models.py vnf_bandwidth_flt_timecols.csv received
3
21
python ../../vm_predictor/VM_models.py vnf_bandwidth_flt_timecols.csv transmitted
Original file line number Diff line number Diff line change 1
1
# -*- 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
+
2
20
import os
3
21
from setuptools import setup , find_packages
4
22
from setuptools .command .install import install
Original file line number Diff line number Diff line change
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
+
1
21
# web_demo
2
22
This directory provides a simple web page and demo content for
3
23
the vm_predictor demo.
You can’t perform that action at this time.
0 commit comments