Add new BBWF config
Change-Id: Ia18eeae0076d4a44717fee82f5eef3c779e2a3c1
diff --git a/deployment-configs/bbwf.yml b/deployment-configs/bbwf.yml
new file mode 100644
index 0000000..8b87c62
--- /dev/null
+++ b/deployment-configs/bbwf.yml
@@ -0,0 +1,87 @@
+# 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 ONF/ON.Lab physical POD 1
+
+---
+
+nodes:
+ -
+ ip: '192.168.100.1'
+ user: 'cord'
+ pass: 'cord'
+ -
+ ip: '192.168.110.2'
+ user: 'cord'
+ pass: 'cord'
+ -
+ ip: '192.168.100.3'
+ user: 'cord'
+ pass: 'cord'
+
+fabric_switches:
+ -
+ mac: 'cc:37:ab:61:80:ca'
+ ip: '192.168.100.101'
+ user: 'root'
+ pass: 'onl'
+
+olts:
+ -
+ name: 'edgecore'
+ ip: '192.168.100.111'
+ user: 'root'
+ pass: 'onl'
+ fortygig: 'true'
+ -
+ name: 'adtran'
+ ip: '192.168.100.112'
+ user: 'root'
+ pass: 'onl'
+ fortygig: 'true'
+ -
+ name: 'cig'
+ ip: '192.168.100.113'
+ user: 'root'
+ pass: 'onl'
+ fortygig: 'true'
+ -
+ name: 'iskratelx'
+ ip: '192.168.100.114'
+ user: 'root'
+ pass: 'onl'
+ fortygig: 'true'
+ -
+ name: 'iskratelg'
+ ip: '192.168.100.115'
+ user: 'root'
+ pass: 'onl'
+ fortygig: 'true'
+
+onus:
+ -
+ serial: 'X'
+ -
+ serial: 'Y'
+ -
+ serial: 'W'
+ -
+ serial: 'Z'
+ -
+ serial: 'Q'
+
+srcHost:
+ ip: '10.0.3.56'
+ user: 'root'
+ pass: 'root'
diff --git a/kubernetes-configs/bbwf.conf b/kubernetes-configs/bbwf.conf
new file mode 100755
index 0000000..6826250
--- /dev/null
+++ b/kubernetes-configs/bbwf.conf
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Config
+current-context: admin-cluster.local
+preferences: {}
+clusters:
+- cluster:
+ certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMrVENDQWVHZ0F3SUJBZ0lKQU5kMEkyS25Na0RPTUEwR0NTcUdTSWIzRFFFQkN3VUFNQkl4RURBT0JnTlYKQkFNTUIydDFZbVV0WTJFd0lCY05NVGd3T1RJMk1qRTFPVEEyV2hnUE1qRXhPREE1TURJeU1UVTVNRFphTUJJeApFREFPQmdOVkJBTU1CMnQxWW1VdFkyRXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCRHdBd2dnRUtBb0lCCkFRRGVHQWN3WnM0Ym1LbHJEajJWeWpmb1MyVzA5QjVNZkUxMG56Zi9lYzhsK1lCWkJ5SDZYU1Bsc0pCWUVkU3AKMzhPZlcrbG1BS3N2Y3RwdStyQVpDVHcrTXZIRzkxd2tGbUhKSk16eWh6dEpxbmcvbWlUZ0NXNi9aRy9iSjlaagpkc2Nac0NNQmQrTFBMK0xleFJyMjUvSDBGTUYvNjFvSWNhWm5MR3JQNzVuYjgwQVhRdnoyWVVUbDBBdUZtV09vCnlZc3VYdEN2VmRSSHNxWlVQU2FlU2owWlpqMWdzVm1HZlhYc1hFeGJBVzdYOG5wK1F1R0sxeGpYZ3FIcWlLU1gKM3ZYN3J6N2U4UnJ5NkY5RXVscUE2cmxGM05IbXdva0NmY3ptNVRhcFZ2dFgwVDhLUGtJRFh6bE0yOWpXT3F3MAp0QUo1Y1FubHNYa0ZhWG43eUJzV1BrMDVBZ01CQUFHalVEQk9NQjBHQTFVZERnUVdCQlFXN0F5ZzdZVzRFeThmCnlLcE1YS1p0ZDdZMzhUQWZCZ05WSFNNRUdEQVdnQlFXN0F5ZzdZVzRFeThmeUtwTVhLWnRkN1kzOFRBTUJnTlYKSFJNRUJUQURBUUgvTUEwR0NTcUdTSWIzRFFFQkN3VUFBNElCQVFBOHo3cTJUei9rd2cvRU9vc0wrV3BrNW42MgpKMFpNZE8zQWRwNGlJWnpieCtRVzEyNnpiUEtTaTUzbkdlbmkrV0owMzB2bmRJSHc3dW5xS0VwRmRuaUF3amk0CjdLOUcwcWVTaEt6U0NkMDViOTlxb2xxakVrTUV5MkJ5STQ3TVQ5L0ExTVcrbk4zTURyaVJiQnVOanYva1V2VFgKSHlIY0tQcDlKWVpwemFESkJCQVZVSlVrWFRab2FPeFdJUTdvd1IyWkh3ay96SXYxdzJ6cWNwNFVuR0MxcGh0VAppeFp4aDJ1UWRISkdHNGtMS0Eza3ljWmxoZXpJMnJkQ0htd202RG5QdUZ5OHJxd2lxQ2VCZ3dST0JVUDdnbG5rCld4T3IwejdxY3BOZDlXUmhxTjBqZ3RscmFlRTczcGo2K0g3cEJ6eGNpZzZrZkZvL3UyMER2YTgyMDdzZAotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
+ server: https://192.168.100.1:6443
+ name: cluster.local
+contexts:
+- context:
+ cluster: cluster.local
+ user: admin-cluster.local
+ name: admin-cluster.local
+users:
+- name: admin-cluster.local
+ user:
+ client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURvekNDQW91Z0F3SUJBZ0lKQUwrN2JCZHZXUStlTUEwR0NTcUdTSWIzRFFFQkN3VUFNQkl4RURBT0JnTlYKQkFNTUIydDFZbVV0WTJFd0lCY05NVGd3T1RJMk1qRTFPVEE0V2hnUE1qRXhPREE1TURJeU1UVTVNRGhhTURReApHVEFYQmdOVkJBTU1FR3QxWW1VdFlXUnRhVzR0Ym05a1pURXhGekFWQmdOVkJBb01Ebk41YzNSbGJUcHRZWE4wClpYSnpNSUlCSWpBTkJna3Foa2lHOXc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ZGx4bk9adVZCNGlDUFYwQ2dZRUFuL3ZPMzhXR0NYRmRva1locSsvNkd6UGF5ZllOWFEycHZLUncKUVJHcllYd3J3eC9rZU1OZVZSdU1mMlQvVDM3SGY3Y2xHV3VnUEgveXRMMXNHLzhkYXNqVlVUYmtZSlUvbGxzdwoxallRWk4xU0pvMHJ2YTdmM2c5WHNRZ3BLMC9oOEhCZnYvQS93eGlEelVuZHJ4WVRJcVM4elNJWWVZVXlBSE5hClJYcHdtczBDZ1lBRGNaZDQxZ00rR1dCMTRxTkprcHdESzNQbkVHMDl3M014YU1xSTJvNHhXbWVDUHdKaWhjUGUKVE4xd0UyZkRLNy9Ob05sb0xkYW05RWF0QlBtRk4zRjlpOUxPWTA5TUFhYzVvYm1pczg5M0FyL0JOanZJM0pBTgo0QmtSNlpMZGg3d2RzcWhHbTkrNjBsakhFQ1NGWVozVHhYYzR4NlhtNmhqa1V3ZG0yQ0EzWVE9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=
diff --git a/kubernetes-configs/bbwf.yml b/kubernetes-configs/bbwf.yml
new file mode 100644
index 0000000..78881be
--- /dev/null
+++ b/kubernetes-configs/bbwf.yml
@@ -0,0 +1,21 @@
+# SEBA Values
+
+envoyForEtcdImage: 'voltha/voltha-envoy:amsterdam'
+netconfImage: 'voltha/voltha-netconf:amsterdam'
+ofagentImage: 'voltha/voltha-ofagent:amsterdam'
+vcliImage: 'voltha/voltha-cli:amsterdam'
+vcoreImage: 'voltha/voltha-voltha:amsterdam'
+
+onosImage: 'onosproject/onos:1.13.4'
+
+xos_coreImage: 'xosproject/xos-core:2.1.0'
+fabric:
+ fabric_synchronizerImage: 'xosproject/fabric-synchronizer:2.1.0'
+att-workflow-driver:
+ attWorkflowDriver_synchronizerImage: 'xosproject/att-workflow-driver-synchronizer:1.0.0'
+
+# application_logs: |
+# log4j.logger.org.opencord.olt = DEBUG
+# log4j.logger.org.opencord.kafka = DEBUG
+# log4j.logger.org.opencord.sadis = DEBUG
+# log4j.logger.org.opencord.aaa = DEBUG
diff --git a/tosca-configs/att-workflow/bbwf-fabric.yaml b/tosca-configs/att-workflow/bbwf-fabric.yaml
new file mode 100755
index 0000000..45fe310
--- /dev/null
+++ b/tosca-configs/att-workflow/bbwf-fabric.yaml
@@ -0,0 +1,176 @@
+# 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.
+
+# curl -H "xos-username: admin@opencord.org" -H "xos-password: letmein" -X POST --data-binary @onlab-pod1-fabric.yaml http://10.90.0.101:30007/run
+
+tosca_definitions_version: tosca_simple_yaml_1_0
+imports:
+ - custom_types/switch.yaml
+ - custom_types/switchport.yaml
+ - custom_types/portinterface.yaml
+ - custom_types/bngportmapping.yaml
+ - custom_types/attworkflowdriverwhitelistentry.yaml
+ - custom_types/attworkflowdriverservice.yaml
+
+description: Configures the ONF SEBA POD with AT&T workflow
+
+topology_template:
+ node_templates:
+ # Fabric configuration
+ switch#leaf_1:
+ type: tosca.nodes.Switch
+ properties:
+ driver: ofdpa3
+ ipv4Loopback: 192.168.0.201
+ ipv4NodeSid: 17
+ isEdgeRouter: True
+ name: leaf_1
+ ofId: of:0000000000000001
+ routerMac: 00:00:02:01:06:01
+
+ # Setup the EdgeCore OLT switch port
+ port#edgecore_olt_port:
+ type: tosca.nodes.SwitchPort
+ properties:
+ portId: 49
+ host_learning: false
+ requirements:
+ - switch:
+ node: switch#leaf_1
+ relationship: tosca.relationships.BelongsToOne
+
+ # Setup the Adtran OLT switch port
+ port#adtran_olt_port:
+ type: tosca.nodes.SwitchPort
+ properties:
+ portId: 50
+ host_learning: false
+ requirements:
+ - switch:
+ node: switch#leaf_1
+ relationship: tosca.relationships.BelongsToOne
+
+ # Setup the CIG OLT switch port
+ port#cig_olt_port:
+ type: tosca.nodes.SwitchPort
+ properties:
+ portId: 51
+ host_learning: false
+ requirements:
+ - switch:
+ node: switch#leaf_1
+ relationship: tosca.relationships.BelongsToOne
+
+ # Setup the Iskratel XGS-PON OLT switch port
+ port#iskratelx_olt_port:
+ type: tosca.nodes.SwitchPort
+ properties:
+ portId: 52
+ host_learning: false
+ requirements:
+ - switch:
+ node: switch#leaf_1
+ relationship: tosca.relationships.BelongsToOne
+
+ # Setup the Iskratel GPON OLT switch port
+ port#iskratelg_olt_port:
+ type: tosca.nodes.SwitchPort
+ properties:
+ portId: 47
+ host_learning: false
+ requirements:
+ - switch:
+ node: switch#leaf_1
+ relationship: tosca.relationships.BelongsToOne
+
+ # Port connected to the BNG
+ port#bng_port:
+ type: tosca.nodes.SwitchPort
+ properties:
+ portId: 48
+ host_learning: false
+ requirements:
+ - switch:
+ node: switch#leaf_1
+ relationship: tosca.relationships.BelongsToOne
+
+ # Setup the fabric switch port where the external
+ # router is connected to
+ bngmapping:
+ type: tosca.nodes.BNGPortMapping
+ properties:
+ s_tag: any
+ switch_port: 48
+
+ # ONU Whitelist
+ service#att:
+ type: tosca.nodes.AttWorkflowDriverService
+ properties:
+ name: att-workflow-driver
+ must-exist: true
+
+ ALPHA:
+ type: tosca.nodes.AttWorkflowDriverWhiteListEntry
+ properties:
+ serial_number: ALPHA
+ pon_port_id: 12345678
+ device_id: of:000000000a5a0072
+ requirements:
+ - owner:
+ node: service#att
+ relationship: tosca.relationships.BelongsToOne
+
+ ADTRAN:
+ type: tosca.nodes.AttWorkflowDriverWhiteListEntry
+ properties:
+ serial_number: ADTRAN
+ pon_port_id: 536870912
+ device_id: of:000000000a5a0072
+ requirements:
+ - owner:
+ node: service#att
+ relationship: tosca.relationships.BelongsToOne
+
+ CIG:
+ type: tosca.nodes.AttWorkflowDriverWhiteListEntry
+ properties:
+ serial_number: CIG
+ pon_port_id: 536870912
+ device_id: of:000000000a5a0072
+ requirements:
+ - owner:
+ node: service#att
+ relationship: tosca.relationships.BelongsToOne
+
+ ISKRATELK:
+ type: tosca.nodes.AttWorkflowDriverWhiteListEntry
+ properties:
+ serial_number: ISKRATELK
+ pon_port_id: 536870912
+ device_id: of:000000000a5a0072
+ requirements:
+ - owner:
+ node: service#att
+ relationship: tosca.relationships.BelongsToOne
+
+ ISKRATELG:
+ type: tosca.nodes.AttWorkflowDriverWhiteListEntry
+ properties:
+ serial_number: ISKRATELG
+ pon_port_id: 536870912
+ device_id: of:000000000a5a0072
+ requirements:
+ - owner:
+ node: service#att
+ relationship: tosca.relationships.BelongsToOne
\ No newline at end of file
diff --git a/tosca-configs/att-workflow/bbwf-olt.yaml b/tosca-configs/att-workflow/bbwf-olt.yaml
new file mode 100755
index 0000000..7a8fd24
--- /dev/null
+++ b/tosca-configs/att-workflow/bbwf-olt.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.
+
+# curl -H "xos-username: admin@opencord.org" -H "xos-password: letmein" -X POST --data-binary @onlab-pod1-olt.yaml http://10.90.0.101:30007/run
+
+tosca_definitions_version: tosca_simple_yaml_1_0
+imports:
+ - custom_types/oltdevice.yaml
+ - custom_types/onudevice.yaml
+ - custom_types/voltservice.yaml
+description: Create a simulated OLT Device in VOLTHA
+topology_template:
+ node_templates:
+
+ service#volt:
+ type: tosca.nodes.VOLTService
+ properties:
+ name: volt
+ must-exist: true
+
+ olt_device:
+ type: tosca.nodes.OLTDevice
+ properties:
+ name: EdgeCore OLT
+ device_type: openolt
+ host: 192.168.100.111
+ port: 9191
+ switch_datapath_id: of:0000000000000001
+ switch_port: "49"
+ outer_tpid: "0x8100"
+ uplink: "65536"
+ nas_id: "NAS_ID"
+ requirements:
+ - volt_service:
+ node: service#volt
+ relationship: tosca.relationships.BelongsToOne
+
+ olt_device:
+ type: tosca.nodes.OLTDevice
+ properties:
+ name: Adtran OLT
+ device_type: openolt
+ host: 192.168.100.112
+ port: 9191
+ switch_datapath_id: of:0000000000000001
+ switch_port: "50"
+ outer_tpid: "0x8100"
+ uplink: "65536"
+ nas_id: "NAS_ID"
+ requirements:
+ - volt_service:
+ node: service#volt
+ relationship: tosca.relationships.BelongsToOne
+
+ olt_device:
+ type: tosca.nodes.OLTDevice
+ properties:
+ name: CIG OLT
+ device_type: openolt
+ host: 192.168.100.113
+ port: 9191
+ switch_datapath_id: of:0000000000000001
+ switch_port: "51"
+ outer_tpid: "0x8100"
+ uplink: "65536"
+ nas_id: "NAS_ID"
+ requirements:
+ - volt_service:
+ node: service#volt
+ relationship: tosca.relationships.BelongsToOne
+
+ olt_device:
+ type: tosca.nodes.OLTDevice
+ properties:
+ name: Iskratel XGS-PON OLT
+ device_type: openolt
+ host: 192.168.100.114
+ port: 9191
+ switch_datapath_id: of:0000000000000001
+ switch_port: "52"
+ outer_tpid: "0x8100"
+ uplink: "65536"
+ nas_id: "NAS_ID"
+ requirements:
+ - volt_service:
+ node: service#volt
+ relationship: tosca.relationships.BelongsToOne
+
+ olt_device:
+ type: tosca.nodes.OLTDevice
+ properties:
+ name: Iskratel GPON OLT
+ device_type: openolt
+ host: 192.168.100.115
+ port: 9191
+ switch_datapath_id: of:0000000000000001
+ switch_port: "47"
+ outer_tpid: "0x8100"
+ uplink: "65536"
+ nas_id: "NAS_ID"
+ requirements:
+ - volt_service:
+ node: service#volt
+ relationship: tosca.relationships.BelongsToOne
\ No newline at end of file
diff --git a/tosca-configs/att-workflow/bbwf-subscriber.yaml b/tosca-configs/att-workflow/bbwf-subscriber.yaml
new file mode 100755
index 0000000..5ee3c0c
--- /dev/null
+++ b/tosca-configs/att-workflow/bbwf-subscriber.yaml
@@ -0,0 +1,61 @@
+# 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.
+
+# curl -H "xos-username: admin@opencord.org" -H "xos-password: letmein" -X POST --data-binary @onlab-pod1-subscriber.yaml http://10.90.0.101:30007/run
+
+tosca_definitions_version: tosca_simple_yaml_1_0
+imports:
+ - custom_types/rcordsubscriber.yaml
+
+description: Pre-provsion a subscriber
+
+topology_template:
+ node_templates:
+
+ # Pre-provision the subscriber the subscriber
+ onf_subscriber_1:
+ type: tosca.nodes.RCORDSubscriber
+ properties:
+ name: Sub_BRCM22222222
+ status: pre-provisioned
+ c_tag: 111
+ s_tag: 111
+ onu_device: BRCM22222222
+ nas_port_id : "PON 1/1/03/1:1.1.1"
+ circuit_id: foo1
+ remote_id: bar1
+
+ onf_subscriber_2:
+ type: tosca.nodes.RCORDSubscriber
+ properties:
+ name: Sub_ALPHe3d1cfde
+ status: pre-provisioned
+ c_tag: 112
+ s_tag: 111
+ onu_device: ALPHe3d1cfde
+ nas_port_id : "PON 1/1/04/1:1.1.1"
+ circuit_id: foo2
+ remote_id: bar2
+
+ onf_subscriber_3:
+ type: tosca.nodes.RCORDSubscriber
+ properties:
+ name: Sub_ISKT71e801a0
+ status: pre-provisioned
+ c_tag: 113
+ s_tag: 111
+ onu_device: ISKT71e801a0
+ nas_port_id : "PON 1/1/05/1:1.1.1"
+ circuit_id: foo3
+ remote_id: bar3