Merge "Moving BBSim to OMCI"
diff --git a/deployment-configs/edgecore-pod1.yaml b/deployment-configs/edgecore-pod1.yaml
index 8985212..96d9489 100644
--- a/deployment-configs/edgecore-pod1.yaml
+++ b/deployment-configs/edgecore-pod1.yaml
@@ -34,6 +34,7 @@
ip: '192.168.99.182'
user: 'root'
pass: 'onl'
+ fortygig: 'true'
srcHost:
ip: '10.0.3.56'
diff --git a/deployment-configs/flex-pod1-olt-voltha16.yaml b/deployment-configs/flex-pod1-olt-voltha16.yaml
new file mode 100644
index 0000000..f8d0d23
--- /dev/null
+++ b/deployment-configs/flex-pod1-olt-voltha16.yaml
@@ -0,0 +1,68 @@
+# 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 Flex POD 1 , olt/onu are connected to this
+
+---
+
+kube_config: 'flex-pod1-olt-voltha16.conf'
+
+nodes:
+ -
+ ip: '10.192.4.241'
+ user: 'cord'
+ pass: 'cord'
+ -
+ ip: '10.192.4.242'
+ user: 'cord'
+ pass: 'cord'
+ -
+ ip: '10.192.4.243'
+ user: 'cord'
+ pass: 'cord'
+ -
+ ip: '10.192.4.244'
+ user: 'cord'
+ pass: 'cord'
+
+fabric_switches:
+ -
+ mac: 'cc:37:ab:5b:6d:a8'
+ ip: '10.192.4.217'
+ user: 'root'
+ pass: 'onl'
+
+olts:
+ -
+ ip: '10.192.4.206'
+ user: 'root'
+ pass: 'onl'
+ fortygig: 'true'
+
+hosts:
+ src:
+ ip: '10.192.4.61'
+ user: 'cluser'
+ pass: 'cloudlabs'
+ dp_iface_name: 'enp4s0f1'
+ dp_iface_ip: '10.8.2.1'
+ dp_iface_gateway: '10.8.2.254'
+ dst:
+ ip: '10.192.4.62'
+ user: 'cord'
+ pass: 'cord'
+ dp_iface_name: 'ens3'
+ dp_iface_ip_qinq: '10.8.2.100'
+ dp_iface_ip: '10.8.3.1'
+ dp_iface_gateway: '10.8.3.254'
diff --git a/deployment-configs/onf-demo-pod.yaml b/deployment-configs/onf-demo-pod.yaml
new file mode 100644
index 0000000..f4cb7a1
--- /dev/null
+++ b/deployment-configs/onf-demo-pod.yaml
@@ -0,0 +1,48 @@
+# 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 BBWF POD
+
+---
+
+kube_config: '/var/bbwf.conf'
+
+nodes:
+ -
+ ip: '192.168.100.1'
+ user: 'cord'
+ pass: 'cord'
+ -
+ ip: '192.168.100.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'
diff --git a/kubernetes-configs/edgecore-pod1.yml b/kubernetes-configs/edgecore-pod1.yml
index 31a00a3..a1d2494 100644
--- a/kubernetes-configs/edgecore-pod1.yml
+++ b/kubernetes-configs/edgecore-pod1.yml
@@ -1,103 +1,3 @@
---
# SEBA Values
-global:
- registry: '192.168.99.181:30500/'
-
-images:
-
- envoy_for_etcd:
- repository: 'matteoscandolo/voltha-envoy'
- tag: 'ams-1.0.2'
-
- netconf:
- repository: 'matteoscandolo/voltha-netconf'
- tag: 'ams-1.0.2'
-
- ofagent:
- repository: 'matteoscandolo/voltha-ofagent'
- tag: 'ams-1.0.2'
-
- vcli:
- repository: 'matteoscandolo/voltha-cli'
- tag: 'ams-1.0.2'
-
- vcore:
- repository: 'matteoscandolo/voltha-voltha'
- tag: 'ams-1.0.2'
-
- onos:
- tag: 'ams-1.0.0'
-
-# xos
- xos_core:
- tag: 2.1.4
- xos_chameleon:
- tag: master
- xos_tosca:
- tag: master
-
-xos-gui:
- images:
- xos_gui:
- tag: master
- xos_ws:
- tag: master
-
-# synchronizers
-rcord:
- image:
- tag: 1.0.3
-fabric:
- image:
- tag: 2.1.1
-volt:
- image:
- tag: 2.0.3
-fabric-crossconnect:
- image:
- tag: 1.0.2
-onos-service:
- image:
- tag: 2.0.4
-att-workflow-driver:
- image:
- tag: 1.0.0
-kubernetes:
- image:
- tag: 1.0.2
-
-# kafka
-# NOTE: should make this a separate file or it will collide with other
-# definitions of 'image'
-#
-# image: '192.168.99.181:30500/confluentinc/cp-kafka:4.1.2-2'
-
-zookeper:
- image: '192.168.99.181:30500/google_samples/k8szk:v3'
-
-# etcd
-# FIXME not used....
-etcd-operator:
- etcdOperator:
- image:
- repository: 192.168.99.181:30500/quay.io/coreos/etcd-operator
- tag: v0.7.0
- etcdCluster:
- image:
- repository: 192.168.99.181:30500/quay.io/coreos/etcd
- tag: v3.2.13
- backupOperator:
- image:
- repository: 192.168.99.181:30500/quay.io/coreos/etcd-operator
- tag: v0.7.0
- restoreOperator:
- image:
- repository: 192.168.99.181:30500/quay.io/coreos/etcd-operator
- tag: v0.7.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/kubernetes-configs/flex-pod1-olt-voltha16.conf b/kubernetes-configs/flex-pod1-olt-voltha16.conf
new file mode 100644
index 0000000..ad8d871
--- /dev/null
+++ b/kubernetes-configs/flex-pod1-olt-voltha16.conf
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Config
+current-context: admin-cluster.local
+preferences: {}
+clusters:
+- cluster:
+ certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM5ekNDQWQrZ0F3SUJBZ0lKQUlJVytOSWVGbkc4TUEwR0NTcUdTSWIzRFFFQkN3VUFNQkl4RURBT0JnTlYKQkFNTUIydDFZbVV0WTJFd0hoY05NVGd3TmpFeE1qRTBOVE0xV2hjTk5EVXhNREkzTWpFME5UTTFXakFTTVJBdwpEZ1lEVlFRRERBZHJkV0psTFdOaE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQkNnS0NBUUVBCnVBaFNSWlBpU1Yxb1hDMUVlYk5xTzlxL3lkK0x6RDdleEZkOVNOcFI1aDZKOFZ5R2VickgzUjJEMHhOZEN4eVcKY09yWUxWZVpwNkF3M01jRGpkc0I5dTU4bW5pc3U1cm1KcjhJeVR6ZUl1UGJCa25ITzc3eDVjb09Rb014aHZGWQpSRmN6TjFoTGxqYVBFODlaazBDV2dyWmUxVHFyRWNJSlNQUDdvY3hCYU05NTU4MC82czNBc0d2YVFWZlR0ckhlCk5jcWFrYUxEWmtBeTRmQlllWmVPS0Zick53WERJUno0YjdZS2E0ODdrV1BZTVNReWVhSTB6WjlTeTEzTDBGbmUKbmxJcTZTc2Q4aHMxOUY0S0pJdU5XWjBjV2VpdUdYTnprVEoremplZW1Zc3JvOHI4QmV1VHNkdi9EN01oL1prTApFZWVEVjN5KzlPZGV3b2dpRjFobHd3SURBUUFCbzFBd1RqQWRCZ05WSFE0RUZnUVVBVlhFNDJrTVk0ZHRwaEFaCk5jTkEwNnZNakdFd0h3WURWUjBqQkJnd0ZvQVVBVlhFNDJrTVk0ZHRwaEFaTmNOQTA2dk1qR0V3REFZRFZSMFQKQkFVd0F3RUIvekFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBQkZZRDhIMEVHR1JmdUVTWU4veW5SZldtTERVSgpZWFZuUHh3OVFjSXRFLzdNQkZ1R1JyQkpiUXVaUVovb3ljSHo0eGYwTTdxd3EwSzkxQjF0MkpsODhKUEloM1g0CnJkTjdRRk9ST2l2NS9wcU14cTNiQVhGZUlJTi9ROXVQd21GY3ZFcDJ3dGJ4R214LzMvYldGOG96Y1pKVmtYajQKZW1hMlN1OXlla2RKYjNWbXJ5TU9kVTEvbmc1YUlFSm90L0tlZFBEQ0JTem9uTU80R08xWkR2dGNaQzdzUXRaQwpZVTg1WnlPZnN5dXBiU0ZmS3BoYyttZldsYldQUjI4V2UxaHpJakFaVW5jczdOMkJuRElCaEdoamtYSXZZb1BqCis4Q1hhMytGTkNDQy9hejUzcWMxODk0ZnRhQllZQmpuYm15UTVUMTZKeEtYUk5LeTdzc2lUOUlpU0E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
+ server: https://10.192.4.241: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: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURqakNDQW5hZ0F3SUJBZ0lKQU5HVjRhbzdpdXBPTUEwR0NTcUdTSWIzRFFFQkN3VUFNQkl4RURBT0JnTlYKQkFNTUIydDFZbVV0WTJFd0hoY05NVGd3TmpFeE1qRTBOVE0xV2hjTk1qZ3dOakE0TWpFME5UTTFXakEwTVJrdwpGd1lEVlFRRERCQnJkV0psTFdGa2JXbHVMVzV2WkdVeE1SY3dGUVlEVlFRS0RBNXplWE4wWlcwNmJXRnpkR1Z5CmN6Q0NBU0l3RFFZSktvWklodmNOQVFFQkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU5IQVArUDI0RTFxUDRXQ1FXWGUKU2NoZzBGZEtWSW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Y3hNN1BwcnRmMXFWbW5mQ3FwbFZ3SCtKeHVrRwpkNXRjKzA5TitzbW5jaTExV2tsQm1lUXZ1blA2eXZ6V0M3aGRiUEY3WHFuSGlvZXFaRlpHM2JIdklyd2x1SWRUCmlucWVvUUtCZ0dBN2NoTWxZa1M3OTd4TERLUXpyT0RBWkNycnk3NHNOTk8zdFRLZTR2eTNhZlRHaURpbDdjTnUKL1ZQSCsxNWQvTitrZlM1Tk5SZjR5cXNFWXFNYWkzWlpBaEd3S1ZQZXFCMDNBTXJ5ZXppMW5XbFhYTXFJVFFHRAo0TWQ2VG03dThRSExxZGtDWmZHVW1BN242M1p4TDRFdDl2YWVrWi9xU2M4MDBkY2VxOTU2Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==
diff --git a/kubernetes-configs/flex-pod1-olt-voltha16.yml b/kubernetes-configs/flex-pod1-olt-voltha16.yml
new file mode 100644
index 0000000..109afd3
--- /dev/null
+++ b/kubernetes-configs/flex-pod1-olt-voltha16.yml
@@ -0,0 +1,43 @@
+---
+# 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 Flex POD 1 , olt/onu are connected to this
+
+# This file is used to optionally customize helm charts installations
+
+images:
+ netconf:
+ repository: '10.192.4.244:30500/voltha/voltha-netconf'
+ tag: 'voltha-test3'
+
+ ofagent:
+ repository: '10.192.4.244:30500/voltha/voltha-ofagent'
+ tag: 'voltha-test3'
+
+ vcli:
+ repository: '10.192.4.244:30500/voltha/voltha-cli'
+ tag: 'voltha-test3'
+
+ vcore:
+ repository: '10.192.4.244:30500/voltha/voltha-voltha'
+ tag: 'voltha-test3'
+
+ envoy_for_etcd:
+ repository: '10.192.4.244:30500/voltha/voltha-envoy'
+ tag: 'voltha-test3'
+
+ alarm_generator:
+ repository: '10.192.4.244:30500/voltha/voltha-alarm-generator'
+ tag: 'voltha-test3'
diff --git a/kubernetes-configs/onf-demo-pod.conf b/kubernetes-configs/onf-demo-pod.conf
new file mode 100755
index 0000000..6826250
--- /dev/null
+++ b/kubernetes-configs/onf-demo-pod.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: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURvekNDQW91Z0F3SUJBZ0lKQUwrN2JCZHZXUStlTUEwR0NTcUdTSWIzRFFFQkN3VUFNQkl4RURBT0JnTlYKQkFNTUIydDFZbVV0WTJFd0lCY05NVGd3T1RJMk1qRTFPVEE0V2hnUE1qRXhPREE1TUR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GSkg0MWhjRjBvcXFldTN2MHJUMjRHYWFrcwo2TXNhTE5FTzhSL0VXZFFCUDVVM0MyWmJzd1JHS2FhVUNiZUVlaEVhTnplVnlBQlNraS9ySkE2bEdZbitrbThPCnU2bCtHL0VNZGx4bk9adVZCNGlDUFYwQ2dZRUFuL3ZPMzhXR0NYRmRva1locSsvNkd6UGF5ZllOWFEycHZLUncKUVJHcllYd3J3eC9rZU1OZVZSdU1mMlQvVDM3SGY3Y2xHV3VnUEgveXRMMXNHLzhkYXNqVlVUYmtZSlUvbGxzdwoxallRWk4xU0pvMHJ2YTdmM2c5WHNRZ3BLMC9oOEhCZnYvQS93eGlEelVuZHJ4WVRJcVM4elNJWWVZVXlBSE5hClJYcHdtczBDZ1lBRGNaZDQxZ00rR1dCMTRxTkprcHdESzNQbkVHMDl3M014YU1xSTJvNHhXbWVDUHdKaWhjUGUKVE4xd0UyZkRLNy9Ob05sb0xkYW05RWF0QlBtRk4zRjlpOUxPWTA5TUFhYzVvYm1pczg5M0FyL0JOanZJM0pBTgo0QmtSNlpMZGg3d2RzcWhHbTkrNjBsakhFQ1NGWVozVHhYYzR4NlhtNmhqa1V3ZG0yQ0EzWVE9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=
diff --git a/kubernetes-configs/onf-demo-pod.yml b/kubernetes-configs/onf-demo-pod.yml
new file mode 100644
index 0000000..a06ef52
--- /dev/null
+++ b/kubernetes-configs/onf-demo-pod.yml
@@ -0,0 +1,93 @@
+global:
+ registry: 192.168.100.1:30500/
+
+image: 192.168.100.1:30500/confluentinc/cp-kafka
+imageTag: 4.1.2-2
+
+images:
+ vcore:
+ tag: '1.6'
+
+ vcli:
+ tag: '1.6'
+
+ ofagent:
+ tag: '1.6'
+
+ netconf:
+ tag: '1.6'
+
+ envoy_for_etcd:
+ tag: '1.6'
+
+ alarm_generator:
+ tag: '1.6'
+
+zookeeper:
+ image:
+ repository: 192.168.100.1:30500/gcr.io/google_samples/k8szk
+
+etcd-cluster:
+ spec:
+ repository: 192.168.100.1:30500/quay.io/coreos/etcd
+ pod:
+ busyboxImage: 192.168.100.1:30500/busybox:1.28.1-glibc
+
+etcdOperator:
+ image:
+ repository: 192.168.100.1:30500/quay.io/coreos/etcd-operator
+backupOperator:
+ image:
+ repository: 192.168.100.1:30500/quay.io/coreos/etcd-operator
+restoreOperator:
+ image:
+ repository: 192.168.100.1:30500/quay.io/coreos/etcd-operator
+
+grafana:
+ image:
+ repository: 192.168.100.1:30500/grafana/grafana
+ sidecar:
+ image: 192.168.100.1:30500/kiwigrid/k8s-sidecar:0.0.3
+
+prometheus:
+ server:
+ image:
+ repository: 192.168.100.1:30500/prom/prometheus
+ alertmanager:
+ image:
+ repository: 192.168.100.1:30500/prom/alertmanager
+ configmapReload:
+ image:
+ repository: 192.168.100.1:30500/jimmidyson/configmap-reload
+ kubeStateMetrics:
+ image:
+ repository: 192.168.100.1:30500/quay.io/coreos/kube-state-metrics
+ nodeExporter:
+ image:
+ repository: 192.168.100.1:30500/prom/node-exporter
+ pushgateway:
+ image:
+ repository: 192.168.100.1:30500/prom/pushgateway
+ initChownData:
+ image:
+ repository: 192.168.100.1:30500/busybox
+
+elasticsearch:
+ image:
+ repository: 192.168.100.1:30500/docker.elastic.co/elasticsearch/elasticsearch-oss
+ initImage:
+ repository: 192.168.100.1:30500/busybox
+
+kibana:
+ image:
+ repository: 192.168.100.1:30500/docker.elastic.co/kibana/kibana-oss
+
+logstash:
+ image:
+ repository: 192.168.100.1:30500/docker.elastic.co/logstash/logstash-oss
+
+oltAppUrl: http://192.168.100.1:30160/olt.oar
+sadisAppUrl: http://192.168.100.1:30160/sadis.oar
+dhcpL2RelayAppUrl: http://192.168.100.1:30160/dhcpl2relay.oar
+aaaAppUrl: http://192.168.100.1:30160/aaa.oar
+kafkaAppUrl: http://192.168.100.1:30160/kafka.oar
diff --git a/kubernetes-configs/onlab-pod1.yml b/kubernetes-configs/onlab-pod1.yml
index e871e63..9af85ad 100644
--- a/kubernetes-configs/onlab-pod1.yml
+++ b/kubernetes-configs/onlab-pod1.yml
@@ -22,6 +22,11 @@
repository: 'smbaker/voltha-voltha'
tag: '1.6'
+volt:
+ image:
+ repository: smbaker/volt-synchronizer
+ tag: test-syncstep
+
application_logs: |
log4j.logger.org.opencord.olt = TRACE
log4j.logger.org.opencord.kafka = DEBUG
diff --git a/tosca-configs/att-workflow/edgecore-pod1-fabric.yaml b/tosca-configs/att-workflow/edgecore-pod1-fabric.yaml
index e9b71d5..32505d3 100755
--- a/tosca-configs/att-workflow/edgecore-pod1-fabric.yaml
+++ b/tosca-configs/att-workflow/edgecore-pod1-fabric.yaml
@@ -22,6 +22,8 @@
- custom_types/bngportmapping.yaml
- custom_types/attworkflowdriverwhitelistentry.yaml
- custom_types/attworkflowdriverservice.yaml
+ - custom_types/serviceinstanceattribute.yaml
+ - custom_types/onosapp.yaml
description: Configures the EdgeCore SEBA POD with AT&T workflow
@@ -131,3 +133,26 @@
- owner:
node: service#att
relationship: tosca.relationships.BelongsToOne
+
+ # DHCP L2 Relay config
+ onos_app#dhcpl2relay:
+ type: tosca.nodes.ONOSApp
+ properties:
+ name: dhcpl2relay
+ must-exist: true
+
+ dhcpl2relay-config-attr:
+ type: tosca.nodes.ServiceInstanceAttribute
+ properties:
+ name: /onos/v1/network/configuration/apps/org.opencord.dhcpl2relay
+ value: >
+ {
+ "dhcpl2relay" : {
+ "useOltUplinkForServerPktInOut" : false,
+ "dhcpServerConnectPoints" : [ "of:0000000000000001/48" ]
+ }
+ }
+ requirements:
+ - service_instance:
+ node: onos_app#dhcpl2relay
+ relationship: tosca.relationships.BelongsToOne
diff --git a/tosca-configs/att-workflow/flex-pod1-olt-voltha16-fabric.yaml b/tosca-configs/att-workflow/flex-pod1-olt-voltha16-fabric.yaml
new file mode 100755
index 0000000..3064223
--- /dev/null
+++ b/tosca-configs/att-workflow/flex-pod1-olt-voltha16-fabric.yaml
@@ -0,0 +1,112 @@
+# 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 @flex-pod1-olt-fabric.yaml http://10.192.4.241: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
+ - custom_types/serviceinstanceattribute.yaml
+ - custom_types/onosapp.yaml
+
+description: Configures the Flex POD with AT&T workflow
+
+topology_template:
+ node_templates:
+ # Fabric configuration
+ switch#leaf_1:
+ type: tosca.nodes.Switch
+ properties:
+ driver: ofdpa3
+ ipv4Loopback: 192.168.9.24
+ ipv4NodeSid: 19
+ isEdgeRouter: false
+ name: Fabric Switch - 1
+ ofId: of:0000cc37ab5b6da8
+ routerMac: 00:00:00:00:00:03
+
+ # Setup the OLT switch port
+ port#olt_port:
+ type: tosca.nodes.SwitchPort
+ properties:
+ portId: 7
+ 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: 8
+ 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: 8
+
+ # DHCP L2 Relay config
+ onos_app#dhcpl2relay:
+ type: tosca.nodes.ONOSApp
+ properties:
+ name: dhcpl2relay
+ must-exist: true
+
+ dhcpl2relay-config-attr:
+ type: tosca.nodes.ServiceInstanceAttribute
+ properties:
+ name: /onos/v1/network/configuration/apps/org.opencord.dhcpl2relay
+ value: >
+ {
+ "dhcpl2relay" : {
+ "useOltUplinkForServerPktInOut" : false,
+ "dhcpServerConnectPoints" : [ "of:0000cc37ab5b6da8/8" ]
+ }
+ }
+ requirements:
+ - service_instance:
+ node: onos_app#dhcpl2relay
+ relationship: tosca.relationships.BelongsToOne
+
+ # ONU Whitelist
+ service#att:
+ type: tosca.nodes.AttWorkflowDriverService
+ properties:
+ name: att-workflow-driver
+ must-exist: true
+
+ ALPHe3d1cfa7:
+ type: tosca.nodes.AttWorkflowDriverWhiteListEntry
+ properties:
+ serial_number: ALPHe3d1cfa7
+ pon_port_id: 536870912
+ device_id: of:000000000ac004ce
+ requirements:
+ - owner:
+ node: service#att
+ relationship: tosca.relationships.BelongsToOne
diff --git a/tosca-configs/att-workflow/flex-pod1-olt-voltha16-olt.yaml b/tosca-configs/att-workflow/flex-pod1-olt-voltha16-olt.yaml
new file mode 100755
index 0000000..a00311b
--- /dev/null
+++ b/tosca-configs/att-workflow/flex-pod1-olt-voltha16-olt.yaml
@@ -0,0 +1,47 @@
+# 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 @flex-pod1-olt-olt.yaml http://10.192.4.241: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: olt-1
+ device_type: openolt
+ host: 10.192.4.206
+ port: 9191
+ switch_datapath_id: of:0000cc37ab5b6da8
+ switch_port: "7"
+ outer_tpid: "0x8100"
+ uplink: "65536"
+ nas_id: "NAS_ID"
+ requirements:
+ - volt_service:
+ node: service#volt
+ relationship: tosca.relationships.BelongsToOne
diff --git a/tosca-configs/att-workflow/flex-pod1-olt-voltha16-subscriber.yaml b/tosca-configs/att-workflow/flex-pod1-olt-voltha16-subscriber.yaml
new file mode 100755
index 0000000..4914bfd
--- /dev/null
+++ b/tosca-configs/att-workflow/flex-pod1-olt-voltha16-subscriber.yaml
@@ -0,0 +1,37 @@
+# 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
+ my_house:
+ type: tosca.nodes.RCORDSubscriber
+ properties:
+ name: My House-305
+ status: pre-provisioned
+ s_tag: 111
+ c_tag: 999
+ onu_device: ALPHe3d1cfa7
+ nas_port_id : "PON 1/1/03/1:1.1.1"
+ circuit_id: foo1
+ remote_id: bar1
diff --git a/tosca-configs/att-workflow/onf-demo-pod-fabric.yaml b/tosca-configs/att-workflow/onf-demo-pod-fabric.yaml
new file mode 100755
index 0000000..fc701fb
--- /dev/null
+++ b/tosca-configs/att-workflow/onf-demo-pod-fabric.yaml
@@ -0,0 +1,147 @@
+# 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 @onf-demo-pod-fabric.yaml http://192.168.100.1: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
+ - custom_types/serviceinstanceattribute.yaml
+ - custom_types/onosapp.yaml
+
+description: Configures the fabric and the whitelist
+
+topology_template:
+ node_templates:
+ switch#agg_sw:
+ type: tosca.nodes.Switch
+ properties:
+ driver: ofdpa3
+ ipv4Loopback: 192.168.0.201
+ ipv4NodeSid: 17
+ isEdgeRouter: True
+ name: AGG SWITCH
+ 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: 1
+ host_learning: false
+ requirements:
+ - switch:
+ node: switch#agg_sw
+ 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#agg_sw
+ # relationship: tosca.relationships.BelongsToOne
+
+ # Port connected to the BNG
+ port#bng_port:
+ type: tosca.nodes.SwitchPort
+ properties:
+ portId: 109
+ requirements:
+ - switch:
+ node: switch#agg_sw
+ 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: 109
+
+ # DHCP L2 Relay config
+ onos_app#dhcpl2relay:
+ type: tosca.nodes.ONOSApp
+ properties:
+ name: dhcpl2relay
+ must-exist: true
+
+ dhcpl2relay-config-attr:
+ type: tosca.nodes.ServiceInstanceAttribute
+ properties:
+ name: /onos/v1/network/configuration/apps/org.opencord.dhcpl2relay
+ value: >
+ {
+ "dhcpl2relay" : {
+ "useOltUplinkForServerPktInOut" : false,
+ "dhcpServerConnectPoints" : [ "of:0000000000000001/109" ]
+ }
+ }
+ requirements:
+ - service_instance:
+ node: onos_app#dhcpl2relay
+ relationship: tosca.relationships.BelongsToOne
+
+ # ONU Whitelist
+ service#att:
+ type: tosca.nodes.AttWorkflowDriverService
+ properties:
+ name: att-workflow-driver
+ must-exist: true
+
+ # ONUs connected to EdgeCore OLT
+ ALPHe3d1cfde:
+ type: tosca.nodes.AttWorkflowDriverWhiteListEntry
+ properties:
+ serial_number: ALPHe3d1cfde
+ pon_port_id: 536870912
+ device_id: of:00000000c0a8646f
+ requirements:
+ - owner:
+ node: service#att
+ relationship: tosca.relationships.BelongsToOne
+
+ ISKT71e801a0:
+ type: tosca.nodes.AttWorkflowDriverWhiteListEntry
+ properties:
+ serial_number: ISKT71e801a0
+ pon_port_id: 536870912
+ device_id: of:00000000c0a8646f
+ requirements:
+ - owner:
+ node: service#att
+ relationship: tosca.relationships.BelongsToOne
+
+ # ONUs connected to Adtran OLT
+ ADTN17510028:
+ type: tosca.nodes.AttWorkflowDriverWhiteListEntry
+ properties:
+ serial_number: ADTN17510028
+ pon_port_id: 5
+ device_id: of:00000024454a6be4
+ requirements:
+ - owner:
+ node: service#att
+ relationship: tosca.relationships.BelongsToOne
+
diff --git a/tosca-configs/att-workflow/onf-demo-pod-olt.yaml b/tosca-configs/att-workflow/onf-demo-pod-olt.yaml
new file mode 100755
index 0000000..35b1607
--- /dev/null
+++ b/tosca-configs/att-workflow/onf-demo-pod-olt.yaml
@@ -0,0 +1,49 @@
+# 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 @onf-demo-pod-olt.yaml http://192.168.100.1:30007/run
+
+tosca_definitions_version: tosca_simple_yaml_1_0
+imports:
+ - custom_types/oltdevice.yaml
+ - custom_types/onudevice.yaml
+ - custom_types/voltservice.yaml
+description: Creates OLT devices
+topology_template:
+ node_templates:
+
+ service#volt:
+ type: tosca.nodes.VOLTService
+ properties:
+ name: volt
+ must-exist: true
+
+ edgecore:
+ 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: "1"
+ outer_tpid: "0x8100"
+ uplink: "65536"
+ nas_id: "NAS_ID"
+ serial_number: "192.168.100.111:9191"
+ requirements:
+ - volt_service:
+ node: service#volt
+ relationship: tosca.relationships.BelongsToOne
+
diff --git a/tosca-configs/att-workflow/onf-demo-pod-subscriber.yaml b/tosca-configs/att-workflow/onf-demo-pod-subscriber.yaml
new file mode 100755
index 0000000..dfea33d
--- /dev/null
+++ b/tosca-configs/att-workflow/onf-demo-pod-subscriber.yaml
@@ -0,0 +1,63 @@
+# 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 @onf-demo-pod-subscriber.yaml http://192.168.100.1:30007/run
+
+tosca_definitions_version: tosca_simple_yaml_1_0
+imports:
+ - custom_types/rcordsubscriber.yaml
+
+description: Pre-provsion subscribers
+
+topology_template:
+ node_templates:
+
+ # EdgeCore OLT subscribers
+ edgecore_alpha_subscriber:
+ type: tosca.nodes.RCORDSubscriber
+ properties:
+ name: Sub_ALPHe3d1cfde
+ status: pre-provisioned
+ c_tag: 11
+ s_tag: 111
+ onu_device: ALPHe3d1cfde
+ nas_port_id : "PON 1/1/03/1:1.1.1"
+ circuit_id: edgecore_alpha_circuit
+ remote_id: edgecore_alpha_remote
+
+ edgecore_iskratel_subscriber:
+ type: tosca.nodes.RCORDSubscriber
+ properties:
+ name: Sub_ISKT71e801a0
+ status: pre-provisioned
+ c_tag: 12
+ s_tag: 111
+ onu_device: ISKT71e801a0
+ nas_port_id : "PON 1/1/04/1:1.1.1"
+ circuit_id: edgecore_iskratel_circuit
+ remote_id: edgecore_iskratel_remote
+
+ # Adtran OLT subscribers
+ adtran_subscriber_1:
+ type: tosca.nodes.RCORDSubscriber
+ properties:
+ name: Sub_ADTN17510028
+ status: pre-provisioned
+ c_tag: 21
+ s_tag: 222
+ onu_device: ADTN17510028
+ nas_port_id : "PON 1/1/05/1:1.1.1"
+ circuit_id: adtran_sub1_circuit
+ remote_id: adtran_sub1_remote
+
diff --git a/tosca-configs/att-workflow/onlab-pod1-cig.yaml b/tosca-configs/att-workflow/onlab-pod1-cig.yaml
deleted file mode 100755
index 1e47e3d..0000000
--- a/tosca-configs/att-workflow/onlab-pod1-cig.yaml
+++ /dev/null
@@ -1,100 +0,0 @@
-# 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-cig.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
- - custom_types/attworkflowdriverwhitelistentry.yaml
- - custom_types/attworkflowdriverservice.yaml
- - custom_types/rcordsubscriber.yaml
- - custom_types/switch.yaml
- - custom_types/switchport.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
-
- # CIG
- olt_device:
- type: tosca.nodes.OLTDevice
- properties:
- name: CIG
- device_type: openolt
- host: 10.90.0.115
- port: 10400
- switch_datapath_id: of:0000000000000001
- switch_port: "4"
- outer_tpid: "0x8100"
- uplink: "65536"
- nas_id: "NAS_ID"
- requirements:
- - volt_service:
- node: service#volt
- relationship: tosca.relationships.BelongsToOne
-
- # Whitelist
- service#att:
- type: tosca.nodes.AttWorkflowDriverService
- properties:
- name: att-workflow-driver
- must-exist: true
-
- CIG:
- type: tosca.nodes.AttWorkflowDriverWhiteListEntry
- properties:
- serial_number: CIGG70606829
- pon_port_id: 536870913
- device_id: of:000000000a5a0073
- requirements:
- - owner:
- node: service#att
- relationship: tosca.relationships.BelongsToOne
-
- # Pre-provision the subscriber
- cig_subscriber_1:
- type: tosca.nodes.RCORDSubscriber
- properties:
- name: Sub_CIGG70606829
- status: pre-provisioned
- c_tag: 444
- s_tag: 444
- onu_device: CIGG70606829
- nas_port_id : "PON 1/1/03/1:1.1.1"
- circuit_id: foo1
- remote_id: bar1
-
- switch#leaf_1:
- type: tosca.nodes.Switch
- properties:
- name: AGG_SWITCH
- must-exist: true
-
- port#cig_olt_port:
- type: tosca.nodes.SwitchPort
- properties:
- portId: 4
- host_learning: false
- requirements:
- - switch:
- node: switch#leaf_1
- relationship: tosca.relationships.BelongsToOne
\ No newline at end of file
diff --git a/tosca-configs/att-workflow/onlab-pod1-edgecore.yaml b/tosca-configs/att-workflow/onlab-pod1-edgecore.yaml
new file mode 100755
index 0000000..8e0daf5
--- /dev/null
+++ b/tosca-configs/att-workflow/onlab-pod1-edgecore.yaml
@@ -0,0 +1,47 @@
+# 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-edgecore.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: ONF OLT
+ device_type: openolt
+ host: 10.90.0.114
+ port: 9191
+ switch_datapath_id: of:0000000000000001
+ switch_port: "1"
+ outer_tpid: "0x8100"
+ uplink: "65536"
+ nas_id: "NAS_ID"
+ requirements:
+ - volt_service:
+ node: service#volt
+ relationship: tosca.relationships.BelongsToOne
diff --git a/tosca-configs/att-workflow/onlab-pod1-olt.yaml b/tosca-configs/att-workflow/onlab-pod1-olt.yaml
index bcfa161..c94b5e1 100755
--- a/tosca-configs/att-workflow/onlab-pod1-olt.yaml
+++ b/tosca-configs/att-workflow/onlab-pod1-olt.yaml
@@ -19,6 +19,11 @@
- custom_types/oltdevice.yaml
- custom_types/onudevice.yaml
- custom_types/voltservice.yaml
+ - custom_types/attworkflowdriverwhitelistentry.yaml
+ - custom_types/attworkflowdriverservice.yaml
+ - custom_types/rcordsubscriber.yaml
+ - custom_types/switch.yaml
+ - custom_types/switchport.yaml
description: Create a simulated OLT Device in VOLTHA
topology_template:
node_templates:
@@ -29,15 +34,16 @@
name: volt
must-exist: true
+ # CIG
olt_device:
type: tosca.nodes.OLTDevice
properties:
- name: ONF OLT
+ name: CIG
device_type: openolt
- host: 10.90.0.114
- port: 9191
+ host: 10.90.0.115
+ port: 10400
switch_datapath_id: of:0000000000000001
- switch_port: "1"
+ switch_port: "4"
outer_tpid: "0x8100"
uplink: "65536"
nas_id: "NAS_ID"
@@ -45,3 +51,50 @@
- volt_service:
node: service#volt
relationship: tosca.relationships.BelongsToOne
+
+ # Whitelist
+ service#att:
+ type: tosca.nodes.AttWorkflowDriverService
+ properties:
+ name: att-workflow-driver
+ must-exist: true
+
+ CIG:
+ type: tosca.nodes.AttWorkflowDriverWhiteListEntry
+ properties:
+ serial_number: CIGG70606829
+ pon_port_id: 536870913
+ device_id: of:000000000a5a0073
+ requirements:
+ - owner:
+ node: service#att
+ relationship: tosca.relationships.BelongsToOne
+
+ # Pre-provision the subscriber
+ cig_subscriber_1:
+ type: tosca.nodes.RCORDSubscriber
+ properties:
+ name: Sub_CIGG70606829
+ status: pre-provisioned
+ c_tag: 444
+ s_tag: 444
+ onu_device: CIGG70606829
+ nas_port_id : "PON 1/1/03/1:1.1.1"
+ circuit_id: foo1
+ remote_id: bar1
+
+ switch#leaf_1:
+ type: tosca.nodes.Switch
+ properties:
+ name: AGG_SWITCH
+ must-exist: true
+
+ port#cig_olt_port:
+ type: tosca.nodes.SwitchPort
+ properties:
+ portId: 4
+ host_learning: false
+ requirements:
+ - switch:
+ node: switch#leaf_1
+ relationship: tosca.relationships.BelongsToOne
\ No newline at end of file