[VOL-4724] TIM Workflow Robot Test Setup
Added some configuration to the test enviroment for set up multiple sanity test for tim workflow
Change-Id: I9cdc88eb278bb48945dd71befec81a7ddea9d312
Added some method to verify the correctness of flow rules genereted by ONOS.
Change-Id: Iba9a11a87070ce1bf4bbd7d06c767e1e2e1cac28
Added some Test Case to do a Sanity-Test for the TIM Workflow Test are x Multi OLT, Multi PON and Multi ONO About the correctness of generation about the ONOS flow rules
Change-Id: Ica62a7720554bb2cbf82597ee861a7149b89e30a
Test file structure to do a single OLT, Single PON and Single ONU Sanity Test for TIM Workflow
Change-Id: I5a1cdf323398055ec41d2dddbf5c842e3b50b393
Test file structure to do a single OLT, Single PON and Multi ONU Sanity Test for TIM Workflow
Change-Id: Ifc74e84da3bafda23c3501e40104624ff98a6007
Test file structure to do a single OLT, Multi PON and Multi ONU Sanity Test for TIM Workflow
Change-Id: I22a812ceac39caeb574feffc64892559f6c0096d
Test file structure to do a Multi OLT, Multi PON and Multi ONU Sanity Test for TIM Workflow
Change-Id: I68745b986cdb94347dff96ffd99608bffdfa8470
Robot Test Code to do TIM Workflow Sanity Test
Scalability Test in ONOS and in OLTs and ONUs device
Change-Id: I1c21f45751b5502c16fbcadc6f70e50388389d3f
diff --git a/tests/data/bbsim-kind-tim-2OLTx2PONx2ONU.yaml b/tests/data/bbsim-kind-tim-2OLTx2PONx2ONU.yaml
new file mode 100644
index 0000000..ec02b87
--- /dev/null
+++ b/tests/data/bbsim-kind-tim-2OLTx2PONx2ONU.yaml
@@ -0,0 +1,115 @@
+---
+
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Automated deployment configuration for systems running BBSim
+
+# Change default values in tests
+workflow: TIM
+has_dataplane: false
+teardown_device: true
+ONOS_REST_PORT: 8181
+ONOS_SSH_PORT: 8101
+OLT_PORT: 50060
+
+# Actual Unused sadis.file but ready to future implementation
+# sadis.file: ../data/tim-sadis-config.json
+
+nodes:
+ -
+ ip: '127.0.0.1'
+
+olts:
+ - ip: bbsim0.voltha.svc
+ serial: BBSIM_OLT_10
+ - ip: bbsim1.voltha.svc
+ serial: BBSIM_OLT_11
+
+hosts:
+ src:
+ - onu: 'BBSM000a0001'
+ olt: 'BBSIM_OLT_10'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+ - onu: 'BBSM000a0002'
+ olt: 'BBSIM_OLT_10'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+ - onu: 'BBSM000a0101'
+ olt: 'BBSIM_OLT_10'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+ - onu: 'BBSM000a0102'
+ olt: 'BBSIM_OLT_10'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+ - onu: 'BBSM000b0001'
+ olt: 'BBSIM_OLT_11'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+ - onu: 'BBSM000b0002'
+ olt: 'BBSIM_OLT_11'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+ - onu: 'BBSM000b0101'
+ olt: 'BBSIM_OLT_11'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+ - onu: 'BBSM000b0102'
+ olt: 'BBSIM_OLT_11'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+
+ dst:
+ - ip: null
+ - ip: null
+ - ip: null
+ - ip: null
+ - ip: null
+ - ip: null
+ - ip: null
+ - ip: null
diff --git a/tests/data/bbsim-kind-tim-OLTx2PONx2ONU.yaml b/tests/data/bbsim-kind-tim-OLTx2PONx2ONU.yaml
new file mode 100644
index 0000000..483ad27
--- /dev/null
+++ b/tests/data/bbsim-kind-tim-OLTx2PONx2ONU.yaml
@@ -0,0 +1,77 @@
+---
+
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Automated deployment configuration for systems running BBSim
+
+# Change default values in tests
+workflow: TIM
+has_dataplane: false
+teardown_device: true
+ONOS_REST_PORT: 8181
+ONOS_SSH_PORT: 8101
+OLT_PORT: 50060
+
+# Actual Unused sadis.file but ready to future implementation
+# sadis.file: ../data/tim-sadis-config.json
+
+nodes:
+ -
+ ip: '127.0.0.1'
+
+olts:
+ - ip: bbsim0.voltha.svc
+ serial: BBSIM_OLT_10
+
+hosts:
+ src:
+ - onu: 'BBSM000a0001'
+ olt: 'BBSIM_OLT_10'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+ - onu: 'BBSM000a0002'
+ olt: 'BBSIM_OLT_10'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+ - onu: 'BBSM000a0101'
+ olt: 'BBSIM_OLT_10'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+ - onu: 'BBSM000a0102'
+ olt: 'BBSIM_OLT_10'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+
+ dst:
+ - ip: null
+ - ip: null
+ - ip: null
+ - ip: null
diff --git a/tests/data/bbsim-kind-tim-OLTxPONx2ONU.yaml b/tests/data/bbsim-kind-tim-OLTxPONx2ONU.yaml
new file mode 100644
index 0000000..8a71814
--- /dev/null
+++ b/tests/data/bbsim-kind-tim-OLTxPONx2ONU.yaml
@@ -0,0 +1,59 @@
+---
+
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Automated deployment configuration for systems running BBSim
+
+# Change default values in tests
+workflow: TIM
+has_dataplane: false
+teardown_device: true
+ONOS_REST_PORT: 8181
+ONOS_SSH_PORT: 8101
+OLT_PORT: 50060
+
+# Actual Unused sadis.file but ready to future implementation
+# sadis.file: ../data/tim-sadis-config.json
+
+nodes:
+ -
+ ip: '127.0.0.1'
+
+olts:
+ - ip: bbsim0.voltha.svc
+ serial: BBSIM_OLT_10
+
+hosts:
+ src:
+ - onu: 'BBSM000a0001'
+ olt: 'BBSIM_OLT_10'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+ - onu: 'BBSM000a0002'
+ olt: 'BBSIM_OLT_10'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+
+ dst:
+ - ip: null
+ - ip: null
diff --git a/tests/data/bbsim-kind-tim.yaml b/tests/data/bbsim-kind-tim.yaml
new file mode 100644
index 0000000..79e9769
--- /dev/null
+++ b/tests/data/bbsim-kind-tim.yaml
@@ -0,0 +1,50 @@
+---
+
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Automated deployment configuration for systems running BBSim
+
+# Change default values in tests
+workflow: TIM
+has_dataplane: false
+teardown_device: true
+ONOS_REST_PORT: 8181
+ONOS_SSH_PORT: 8101
+OLT_PORT: 50060
+
+# Actual Unused sadis.file but ready to future implementation
+# sadis.file: ../data/tim-sadis-config.json
+
+nodes:
+ -
+ ip: '127.0.0.1'
+
+olts:
+ - ip: bbsim0.voltha.svc
+ serial: BBSIM_OLT_10
+
+hosts:
+ src:
+ - onu: 'BBSM000a0001'
+ olt: 'BBSIM_OLT_10'
+ uni_tag: '835'
+ c_tag: '100'
+ s_tag: '4096'
+ service_type: 'hsia'
+ uni_id: 1
+ tp_id: '64'
+
+ dst:
+ - ip: null