[VOL-3265] Adding XGS-PON based DT job with openonu go on ONF demo pod
Change-Id: I16afe9e4b0d49deeefc1679395ea5df9f44b4ad4
diff --git a/deployment-configs/onf-demo-pod-openonugo-DT.yaml b/deployment-configs/onf-demo-pod-openonugo-DT.yaml
new file mode 100644
index 0000000..934d7dc
--- /dev/null
+++ b/deployment-configs/onf-demo-pod-openonugo-DT.yaml
@@ -0,0 +1,117 @@
+# 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/k8.conf'
+
+nodes:
+ -
+ ip: '10.128.100.70'
+ user: 'cord'
+ pass: 'cord'
+ -
+ ip: '10.128.100.71'
+ user: 'cord'
+ pass: 'cord'
+ -
+ ip: '10.128.100.72'
+ user: 'cord'
+ pass: 'cord'
+
+fabric_switches:
+ -
+ mac: 'cc:37:ab:61:80:ca'
+ ip: '10.128.100.80'
+ user: 'root'
+ pass: 'onl'
+ bngPort: '31'
+ device_id: 'of:0000000000000001'
+
+olts:
+ -
+ name: 'edgecore'
+ ip: '10.111.0.3'
+ sship: '10.128.99.90'
+ user: 'root'
+ pass: 'onl'
+ fortygig: 'true'
+ aggPort: '1'
+ serial: 'EC1904000654'
+ oltDebVersion: openolt_asfvolt16-3.0.0-07ac2cb46d74b83b707fa654ee2e8d4d4de2372a.deb
+ oltDebVersion23: openolt_asfvolt16-2.4.9-dev-d4aeca5a2094f7dc7c519913ab1558348c546dab.deb
+
+onus:
+ -
+ serial: 'ISKT71e80080'
+ -
+ serial: 'ALPHe3d1cf9d'
+
+hosts:
+ src:
+ -
+ ip: '10.128.100.72'
+ user: 'cord'
+ pass: 'cord'
+ dp_iface_name: 'ens255f0.11'
+ container_type: null
+ container_name: null
+ onu: 'ISKT71e80080'
+ olt: 'EC1904000654'
+ c_tag: '11'
+ s_tag: '11'
+ power_switch_port: 6
+ onu_type: 'iskratel'
+ -
+ ip: '10.128.100.71'
+ user: 'cord'
+ pass: 'cord'
+ dp_iface_name: 'ens255f0.22'
+ container_type: null
+ container_name: null
+ onu: 'ALPHe3d1cf9d'
+ olt: 'EC1904000654'
+ c_tag: '22'
+ s_tag: '22'
+ power_switch_port: 1
+ onu_type: 'alpha'
+ dst:
+ -
+ ip: null
+ user: null
+ pass: null
+ dp_iface_name: null
+ dp_iface_ip_qinq: '10.11.11.254'
+ dp_iface_ip: null
+ dp_iface_gateway: null
+ container_type: null
+ container_name: null
+ -
+ ip: null
+ user: null
+ pass: null
+ dp_iface_name: null
+ dp_iface_ip_qinq: '10.22.22.254'
+ dp_iface_ip: null
+ dp_iface_gateway: null
+ container_type: null
+ container_name: null
+
+web_power_switch:
+ ip: '10.128.100.75'
+ user: 'cord'
+ password: 'cord'
+ type: 'DLI'
diff --git a/kubernetes-configs/onf-demo-pod-onpenonugo.conf b/kubernetes-configs/onf-demo-pod-onpenonugo.conf
new file mode 100755
index 0000000..2bb1005
--- /dev/null
+++ b/kubernetes-configs/onf-demo-pod-onpenonugo.conf
@@ -0,0 +1,38 @@
+apiVersion: v1
+kind: Config
+clusters:
+- name: "onf-demo-pod"
+ cluster:
+ server: "https://10.128.100.70:6443"
+ certificate-authority-data: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN3akNDQ\
+ WFxZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFTTVJBd0RnWURWUVFERXdkcmRXSmwKT\
+ FdOaE1CNFhEVEl3TURneU5qSXpNVFl5TkZvWERUTXdNRGd5TkRJek1UWXlORm93RWpFUU1BNEdBM\
+ VVFQXhNSAphM1ZpWlMxallUQ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FOUpQQ25zSld6eU9XSgpBV2xyYUJwSVBUa\
+ nhLTkdud0pjV1RuUVk2WkdIZGV5VnNMdXF4RnhHS0pVc2QxZlBBU289Ci0tLS0tRU5EIENFUlRJR\
+ klDQVRFLS0tLS0K"
+
+users:
+- name: "onf-demo-pod"
+ user:
+ token: "kubeconfig-user-cvpsj.c-xchtj:4575q847j9kchbjfhhl8cxsnpw884bjssswvtgjvnbwmjlgszgp7gk"
+
+contexts:
+- name: "onf-demo-pod"
+ context:
+ user: "onf-demo-pod"
+ cluster: "onf-demo-pod"
+
+current-context: "onf-demo-pod"
diff --git a/kubernetes-configs/voltha/onf-demo-pod-openonugo.yml b/kubernetes-configs/voltha/onf-demo-pod-openonugo.yml
new file mode 100644
index 0000000..06b0e92
--- /dev/null
+++ b/kubernetes-configs/voltha/onf-demo-pod-openonugo.yml
@@ -0,0 +1,83 @@
+# Copyright 2019 Ciena Corporation
+#
+# 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.
+
+defaults:
+ image_tag: master
+ image_pullPolicy: Always
+
+onosSshPort: 30115
+onosApiPort: 30120
+onosOfPort: 31653
+
+individualOpenFlowNodePorts: true
+
+#images:
+# onos:
+# repository: voltha/voltha-onos@sha256
+# tag: 6f23767b85a6515bc465c4678c945d194551dd27abe2cf1b926a524b5e9eb3e6
+# adapter_open_onu:
+# repository: gcgirish/voltha-openonu-adapter
+# tag: tpstate
+# adapter_open_olt:
+# repository: gcgirish/voltha-openolt-adapter
+# tag: ofagentRestartCrashFix
+# rw_core:
+# repository: khagerma/voltha-rw-core
+# tag: update-port-fix
+deployments:
+ etcdOperator: true
+ backupOperator: false
+ restoreOperator: false
+
+nodeAffinityConfig:
+ enabled: true
+ node_label_key: "in-band"
+ node_label_value: "yes"
+
+voltha-etcd-cluster:
+ clusterSize: 1
+onos_env:
+- name: POD_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
+- name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+- name: ONOS_APPS
+ value: "drivers,openflow-base,hostprovider"
+
+apps:
+ - org.onosproject.lldpprovider
+ - org.onosproject.openflow-base
+ - org.onosproject.gui2
+ - org.onosproject.drivers
+ - org.onosproject.mcast
+ - org.opencord.kafka
+ - org.opencord.sadis
+ - org.opencord.dhcpl2relay
+ - org.opencord.igmpproxy
+ - org.opencord.mcast
+ - org.opencord.olt
+ - org.opencord.aaa
+
+atomix:
+ persistence:
+ enabled: false
+
+# Customization for BBSIM
+kafka_broker: 'voltha-kafka.voltha.svc.cluster.local:9092'
+pon_ports: 1
+onus_per_pon_port: 1
diff --git a/tosca-configs/voltha/onf-demo-pod-openonugo-onos-netcfg-switch.json b/tosca-configs/voltha/onf-demo-pod-openonugo-onos-netcfg-switch.json
new file mode 100644
index 0000000..42a4c20
--- /dev/null
+++ b/tosca-configs/voltha/onf-demo-pod-openonugo-onos-netcfg-switch.json
@@ -0,0 +1,24 @@
+{
+ "devices": {
+ "of:0000000000000001" : {
+ "segmentrouting" : {
+ "name" : "Leaf-R1",
+ "ipv4NodeSid" : 101,
+ "ipv4Loopback" : "10.6.1.254",
+ "routerMac" : "00:00:00:00:01:80",
+ "isEdgeRouter" : true,
+ "adjacencySids" : []
+ },
+ "basic" : {
+ "driver" : "ofdpa3"
+ }
+ }
+ },
+ "apps": {
+ "org.opencord.dhcpl2relay" : {
+ "dhcpl2relay" : {
+ "useOltUplinkForServerPktInOut" : true
+ }
+ }
+ }
+}