Merge "[VOL-4298] Added menlo-certification-pod-radisys-3200g DT job configs" into voltha-2.8
diff --git a/deployment-configs/menlo-certification-pod-radisys-3200g-DT.yaml b/deployment-configs/menlo-certification-pod-radisys-3200g-DT.yaml
new file mode 100644
index 0000000..51022f7
--- /dev/null
+++ b/deployment-configs/menlo-certification-pod-radisys-3200g-DT.yaml
@@ -0,0 +1,147 @@
+---
+
+  # Copyright 2020-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 Tucson pod
+
+  # Change default values in tests
+  ONOS_REST_PORT: 30120
+  ONOS_SSH_PORT: 30115
+  OLT_PORT: 9191
+  KUBERNETES_CONF: $HOME/.kube/kind-config-voltha-minimal
+
+# This tells the control node how to reach the Kubernetes nodes.
+  nodes:
+    -
+      ip: '10.90.0.240'
+      user: 'cord'
+      pass: 'cord'
+    -
+      ip: '10.90.0.241'
+      user: 'cord'
+      pass: 'cord'
+
+  fabric_switches:
+    -
+      mac: '8c:ea:1b:a7:29:72'
+      ip: 10.90.0.243
+      user: root
+      pass: onl
+      bngPort: 31
+      device_id: 'of:0000000000000001'
+
+  olts:
+  # Gpon OLT
+    -
+      ip:  10.90.0.244
+      sship:  10.90.0.244
+      user: root
+      pass: onl
+      fortygig: True
+      aggPort: 1
+      serial: 722033538840
+      oltDebVersion: openolt_rlt-3200g-w-40g-3.5.1-dev-262b6293cdeda78317dda9d3a6cfab0e7ebfbf05.deb
+      board_technology: GPON
+
+  hosts:
+    src:
+      # 3200G ONU
+      -
+        ip: 10.90.0.241
+        user: cord
+        pass: cord
+        dp_iface_name: eth1.111
+        container_type: LXC
+        container_name: SCOM00001c7f
+        onu: SCOM00001c7f
+        olt: 722033538840
+        c_tag: 111
+        s_tag: 11
+        power_switch_port: 2
+        uni_id: 1
+
+      - ip: 10.90.0.240
+        user: cord
+        pass: cord
+        dp_iface_name: eth1.41
+        container_type: LXC
+        container_name: SCOMa0108af9
+        onu: SCOMa0108af9
+        olt: 722033538840
+        c_tag: 41
+        s_tag: 54
+        power_switch_port: 6
+        uni_id: 1
+
+      - ip: 10.90.0.240
+        user: cord
+        pass: cord
+        dp_iface_name: eth1.42
+        container_type: LXC
+        container_name: SCOMa0108aea
+        onu: SCOMa0108aea
+        olt: 722033538840
+        c_tag: 42
+        s_tag: 55
+        power_switch_port: 5
+        uni_id: 1
+
+    dst:
+      # 3200G OLT
+      -
+        dp_iface_ip_qinq: 10.11.11.254
+        ip: null
+        user: null
+        pass: null
+        noroot_ip: 10.90.0.241
+        noroot_user: cord
+        noroot_pass: cord
+        dp_iface_name: enp3s0d1
+        dp_iface_ip: null
+        dp_iface_gateway: null
+        container_type: null
+        container_name: null
+
+      - dp_iface_ip_qinq: 10.54.41.254
+        ip: null
+        user: null
+        pass: null
+        noroot_ip: 10.90.0.241
+        noroot_user: cord
+        noroot_pass: cord
+        dp_iface_name: enp3s0d1
+        dp_iface_ip: null
+        dp_iface_gateway: null
+        container_type: null
+        container_name: null
+
+      - dp_iface_ip_qinq: 10.55.42.254
+        ip: null
+        user: null
+        pass: null
+        noroot_ip: 10.90.0.241
+        noroot_user: cord
+        noroot_pass: cord
+        dp_iface_name: enp3s0d1
+        dp_iface_ip: null
+        dp_iface_gateway: null
+        container_type: null
+        container_name: null
+
+  web_power_switch:
+    ip: '10.90.0.250'
+    user: 'cord'
+    password: 'cord'
+    type: 'DLI'
diff --git a/kubernetes-configs/menlo-certification-pod-radisys-3200g.conf b/kubernetes-configs/menlo-certification-pod-radisys-3200g.conf
new file mode 100644
index 0000000..8ca460c
--- /dev/null
+++ b/kubernetes-configs/menlo-certification-pod-radisys-3200g.conf
@@ -0,0 +1,39 @@
+apiVersion: v1
+kind: Config
+clusters:
+- name: "voltha-certification-pod"
+  cluster:
+    server: "https://10.90.0.240:6443"
+    certificate-authority-data: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN3akNDQ\
+      WFxZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFTTVJBd0RnWURWUVFERXdkcmRXSmwKT\
+      FdOaE1CNFhEVEl4TURVeE1URTRNemt3TkZvWERUTXhNRFV3T1RFNE16a3dORm93RWpFUU1BNEdBM\
+      VVFQXhNSAphM1ZpWlMxallUQ0NBU0l3RFFZSktvWklodmNOQVFFQkJRQURnZ0VQQURDQ0FRb0NnZ\
+      0VCQUw5WFFneUc4cjA0CjN5VzFCbDZwVUhKKzBPQ1RUdWhQWUo1czQwektTMzZpc1pXWS82Z21YN\
+      llMd1J5ZnYxellubDc0WWxCNGRJQXoKdXVVd2NTVFoyS3V3b25aQXNLc2NSNWJZOG53UEJUMEdRR\
+      k9QbWNEbDk0YXQ4ZGxYVzRoOHNUN1NueU01VGJHUQp2c0dHUmZWdmZUdGpPMWtML2V6VDZGSHRVM\
+      DlOamd0Z1oxam9RU21pNVp4eU1RbER0RlE4UmZWb003VnhxS1hUCjhYaTIzRlh5N3kxWGRaNVJHS\
+      WV1UVpGUUg4cUtRdEVBQVB0dG9zcGoxNVRkZlZIQndhd2EyNG00OEEweDF6aDMKRzQvaXMxZ0VFV\
+      TBmT2RGdXdNL2wyaVpZLzk4ZjhROGY2NTVMNmR6TWhEbHp0VVRnby9TbGxBWE9BdXhqTnc0cAoyQ\
+      TZ5R1VyUW9DVUNBd0VBQWFNak1DRXdEZ1lEVlIwUEFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93U\
+      UZNQU1CCkFmOHdEUVlKS29aSWh2Y05BUUVMQlFBRGdnRUJBRWM5ZUF5RlRBbE0wTmprL2M4dWtWY\
+      jBLNzVzMGM1ZnRKbUsKc2xmeDNnUnBtamR6WUc4NWRQM3lDOVVLZnVsOFNXMUNraVc0aFljZmpST\
+      mVNTnA3MXlkWGw5Qk9DT3p2QmU1bgppZHhSR0pwaXE4RWEzWDM0SkVWMlhnNnQ2U0MvME9XampBM\
+      DUvdlI3czRKekJWUkhQMDl5STA5eVBtaHhNWlAvCkhzbSs4NWNPSDVyY09xanFGVElZK3JMUGZFd\
+      k9rNUk3OFZ0WU5pS1B2bEtnSXdJV1NJdTFyMytocnl5ZERrRHAKRkRYVFNFWlJQTzRWQTdhazhQS\
+      mNzc0FOZ1RKVlVBMTVUM1F1VW1pcDB6c0t5UGZiYVp4VzN3Qk1nc2t4K0xKUAp6dy83NmFEbk5jZ\
+      m9EbUo1SzhFYUQ4ZFUrUGJlbjVhMzUvY3pPd0pKVkxSdm83YXZlMUk9Ci0tLS0tRU5EIENFUlRJR\
+      klDQVRFLS0tLS0K"
+
+users:
+- name: "voltha-certification-pod"
+  user:
+    token: "kubeconfig-user-cvpsj.c-9j2w8:nbh49pk45tp5kwb9fbzr6fthtf6kbpdvlv8k85vbbg4x9jjcfsnn5f"
+
+
+contexts:
+- name: "voltha-certification-pod"
+  context:
+    user: "voltha-certification-pod"
+    cluster: "voltha-certification-pod"
+
+current-context: "voltha-certification-pod"
diff --git a/kubernetes-configs/voltha/menlo-certification-pod-radisys-3200g.yml b/kubernetes-configs/voltha/menlo-certification-pod-radisys-3200g.yml
new file mode 100644
index 0000000..79a9d27
--- /dev/null
+++ b/kubernetes-configs/voltha/menlo-certification-pod-radisys-3200g.yml
@@ -0,0 +1,68 @@
+# 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.
+
+global:
+  image_pullPolicy: Always
+
+onosSshPort: 30115
+onosApiPort: 30120
+onosOfPort: 31653
+
+individualOpenFlowNodePorts: true
+
+#images:
+#  onos:
+#    repository: "andreacampanella/voltha-onos"
+#    tag: "app-update-sadis"
+
+network:
+  netconfUserSecret: ''
+
+
+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
diff --git a/tosca-configs/voltha/menlo-certification-pod-radisys-3200g-onos-netcfg-switch.json b/tosca-configs/voltha/menlo-certification-pod-radisys-3200g-onos-netcfg-switch.json
new file mode 100644
index 0000000..5ddbebd
--- /dev/null
+++ b/tosca-configs/voltha/menlo-certification-pod-radisys-3200g-onos-netcfg-switch.json
@@ -0,0 +1,24 @@
+{
+  "devices": {
+    "of:0000000000000001" : {
+      "segmentrouting" : {
+        "name" : "agg-switch",
+        "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
+      }
+    }
+  }
+}