new openonu go ATT job - flex pod
Change-Id: Iddc578df73c1b2331a5cdce5e34c4feb1cb03939
diff --git a/deployment-configs/flex-ocp-cord-openonugo.yaml b/deployment-configs/flex-ocp-cord-openonugo.yaml
new file mode 100644
index 0000000..066970d
--- /dev/null
+++ b/deployment-configs/flex-ocp-cord-openonugo.yaml
@@ -0,0 +1,121 @@
+# 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-ocp-cord-voltha-master.conf'
+
+nodes:
+ -
+ ip: '10.192.20.45'
+ user: 'cord'
+ pass: 'cord'
+ -
+ ip: '10.192.20.46'
+ user: 'cord'
+ pass: 'cord'
+ -
+ ip: '10.192.20.47'
+ user: 'cord'
+ pass: 'cord'
+
+fabric_switches:
+ -
+ mac: 'cc:37:ab:5b:6d:a8'
+ ip: '10.192.20.217'
+ user: 'root'
+ pass: 'onl'
+ bngPort: '3'
+ device_id: 'of:0000000000000001'
+
+olts:
+ -
+ ip: '10.192.20.206'
+ sship: '10.192.20.206'
+ user: 'root'
+ pass: 'onl'
+ fortygig: 'true'
+ aggPort: '10'
+ serial: 'EC1838000853'
+ oltDebVersion: openolt_asfvolt16-3.1.0-812c1126ece038da5c40d0830a09cb67ca36ea07.deb
+ oltDebVersion23: openolt_asfvolt16-2.4.9-dev-d4aeca5a2094f7dc7c519913ab1558348c546dab.deb
+
+onus:
+ -
+ serial: 'ALPHe3d1cfa7'
+
+hosts:
+ src:
+ -
+ ip: '10.192.20.61'
+ user: 'cord'
+ pass: 'cord'
+ dp_iface_name: 'ens2f0'
+ container_type: null
+ container_name: null
+ onu: 'ALPHe3d1cea3'
+ olt: 'EC1838000853'
+ c_tag: '801'
+ s_tag: '111'
+ power_switch_port: 1
+ onu_type: 'alpha'
+ -
+ ip: '10.192.20.46'
+ user: 'cord'
+ pass: 'cord'
+ dp_iface_name: 'ens2f1'
+ container_type: null
+ container_name: null
+ onu: 'ALPHe3d1ceb7'
+ olt: 'EC1838000853'
+ c_tag: '101'
+ s_tag: '222'
+ power_switch_port: 2
+ onu_type: 'alpha'
+
+ dst:
+ -
+ ip: null
+ user: null
+ pass: null
+ noroot_ip: '10.192.20.47'
+ noroot_user: cord
+ noroot_pass: cord
+ dp_iface_name: ens3d1
+ dp_iface_ip_qinq: '10.8.8.100'
+ dp_iface_ip: null
+ dp_iface_gateway: null
+ container_type: null
+ container_name: null
+ -
+ ip: null
+ user: null
+ pass: null
+ noroot_ip: '10.192.20.47'
+ noroot_user: cord
+ noroot_pass: cord
+ dp_iface_name: ens3d1
+ dp_iface_ip_qinq: '10.8.7.100'
+ dp_iface_ip: null
+ dp_iface_gateway: null
+ container_type: null
+ container_name: null
+
+web_power_switch:
+ ip: '10.192.20.56'
+ user: 'admin'
+ password: '1234'
+ type: 'DLI'
diff --git a/kubernetes-configs/flex-ocp-cord-openonugo.conf b/kubernetes-configs/flex-ocp-cord-openonugo.conf
new file mode 100644
index 0000000..0d43443
--- /dev/null
+++ b/kubernetes-configs/flex-ocp-cord-openonugo.conf
@@ -0,0 +1,38 @@
+apiVersion: v1
+kind: Config
+clusters:
+- name: "flex-ocp-cord"
+ cluster:
+ server: "https://10.192.20.45:6443"
+ certificate-authority-data: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN3akNDQ\
+ WFxZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFTTVJBd0RnWURWUVFERXdkcmRXSmwKT\
+ FdOaE1CNFhEVEl3TURneU56RTNNall3TkZvWERUTXdNRGd5TlRFM01qW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3WjU0czRBSWlVc1FaZ3QrTDI3K2Y4RzhRSHdOMWtVaVNPSjFuMzVkagpscTJMMW1jMHRnN\
+ UJvU1lLcGhHZEZVdWN2c0Qxd0RqRG9jelcyOS8yNDR3eno4Zk5mcDA9Ci0tLS0tRU5EIENFUlRJR\
+ klDQVRFLS0tLS0K"
+
+users:
+- name: "flex-ocp-cord"
+ user:
+ token: "kubeconfig-user-cvpsj.c-xvwg9:xcjwk4h2l8826w9ck4h6jwxkfqfq8g6zbmmrcr27gxbjznwkcdhg42"
+
+contexts:
+- name: "flex-ocp-cord"
+ context:
+ user: "flex-ocp-cord"
+ cluster: "flex-ocp-cord"
+
+current-context: "flex-ocp-cord"
diff --git a/kubernetes-configs/voltha/flex-ocp-cord-openonugo.yml b/kubernetes-configs/voltha/flex-ocp-cord-openonugo.yml
new file mode 100644
index 0000000..95b18f3
--- /dev/null
+++ b/kubernetes-configs/voltha/flex-ocp-cord-openonugo.yml
@@ -0,0 +1,78 @@
+# 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: 9f781ace4c6f4bf3b2e5ff9cb9f26aa4b328284da1d6b6523636dca1375d7666
+# adapter_open_onu:
+# repository: gcgirish/voltha-openonu-adapter
+# tag: ttfix
+# adapter_open_olt:
+# repository: gcgirish/voltha-openolt-adapter
+# tag: fixAction
+# rw_core:
+# repository: gcgirish/voltha-rw-core
+# tag: delete-device
+deployments:
+ etcdOperator: true
+ backupOperator: false
+ restoreOperator: false
+
+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/flex-ocp-cord-openonugo-onos-netcfg-switch.json b/tosca-configs/voltha/flex-ocp-cord-openonugo-onos-netcfg-switch.json
new file mode 100644
index 0000000..42a4c20
--- /dev/null
+++ b/tosca-configs/voltha/flex-ocp-cord-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
+ }
+ }
+ }
+}