Merge "Adding configuration files for DT community pod in Berlin"
diff --git a/deployment-configs/dt-berlin-pod-kubespray.yaml b/deployment-configs/dt-berlin-pod-kubespray.yaml
new file mode 100644
index 0000000..d928b72
--- /dev/null
+++ b/deployment-configs/dt-berlin-pod-kubespray.yaml
@@ -0,0 +1,118 @@
+---
+
+# 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.34.90.40'
+    user: 'community'
+    pass: 'admin'
+  -
+    ip: '10.34.90.41'
+    user: 'community'
+    pass: 'admin'
+  -
+    ip: '10.34.90.42'
+    user: 'community'
+    pass: 'admin'
+  -
+    ip: '10.34.90.43'
+    user: 'community'
+    pass: 'admin'
+
+fabric_switches:
+  -
+    mac: '??'
+    ip: 10.34.90.55
+    user: root
+    pass: onl
+    bngPort: 32
+    #XGSPON
+    oltPort: 1
+    #GPON
+    #oltPort: 2
+    device_id: 'of:0000000000000001'
+
+olts:
+# XGS-PON OLT
+  -
+    ip: 10.34.90.51
+    user: root
+    pass: onl
+    fortygig: True
+    serial: '??' # mandatory --> connect it to voltha and check it 
+# Gpon OLT
+  # -
+  #   ip:  10.34.90.50
+  #   user: root
+  #   pass: onl
+  #   fortygig: True
+  #   serial: ??
+
+hosts:
+  src:
+    #XGSPON ONU
+    -
+      ip: 127.0.0.1
+      user: cord
+      pass: cord
+      dp_iface_name: eno3
+      container_type: null
+      container_name: null
+      onu: ALPHe3d1cf5c
+      c_tag: 11
+      s_tag: 11
+    #GPON ONU
+    # -
+    #   ip: 127.0.0.1
+    #   user: cord
+    #   pass: cord
+    #   dp_iface_name: eno2
+    #   container_type: null
+    #   container_name: null
+    #   onu: SCOM00001c82
+    #   c_tag: 12
+    #   s_tag: 11
+
+  dst:
+    -
+      dp_iface_ip_qinq: 192.168.11.254
+      ip: null
+      user: null
+      pass: null
+      dp_iface_name: null
+      dp_iface_ip: null
+      dp_iface_gateway: null
+      container_type: null
+      container_name: null
+    # -
+    #   dp_iface_ip_qinq: 192.168.12.254
+    #   ip: null
+    #   user: null
+    #   pass: null
+    #   dp_iface_name: null
+    #   dp_iface_ip: null
+    #   dp_iface_gateway: null
+    #   container_type: null
+    #   container_name: null  
\ No newline at end of file
diff --git a/deployment-configs/dt-berlin-pod.yaml b/deployment-configs/dt-berlin-pod.yaml
new file mode 100644
index 0000000..b01f41e
--- /dev/null
+++ b/deployment-configs/dt-berlin-pod.yaml
@@ -0,0 +1,104 @@
+---
+
+# 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: '127.0.0.1'
+
+fabric_switches:
+  -
+    mac: '8c:ea:1b:a7:29:72'
+    ip: 10.34.90.55
+    user: root
+    pass: onl
+    bngPort: 32
+    #XGSPON
+    oltPort: 1
+    #GPON
+    #oltPort: 2
+    device_id: 'of:0000000000000001'
+
+olts:
+# XGS-PON OLT
+  -
+    ip: 10.34.90.51
+    user: root
+    pass: onl
+    fortygig: True
+    serial: 'EC1729003539' 
+# Gpon OLT
+  # -
+  #   ip:  10.34.90.50
+  #   user: root
+  #   pass: onl
+  #   fortygig: True
+  #   serial: ASGvOLT640000000
+
+hosts:
+  src:
+    #XGSPON ONU
+    -
+      ip: 127.0.0.1
+      user: cord
+      pass: cord
+      dp_iface_name: eno3
+      container_type: null
+      container_name: null
+      onu: ALPHe3d1cf5c
+      c_tag: 11
+      s_tag: 11
+    #GPON ONU
+    # -
+    #   ip: 127.0.0.1
+    #   user: cord
+    #   pass: cord
+    #   dp_iface_name: eno2
+    #   container_type: null
+    #   container_name: null
+    #   onu: SCOM00001c82
+    #   c_tag: 12
+    #   s_tag: 11
+
+  dst:
+    -
+      dp_iface_ip_qinq: 192.168.11.254
+      ip: null
+      user: null
+      pass: null
+      dp_iface_name: null
+      dp_iface_ip: null
+      dp_iface_gateway: null
+      container_type: null
+      container_name: null
+    # -
+    #   dp_iface_ip_qinq: 192.168.12.254
+    #   ip: null
+    #   user: null
+    #   pass: null
+    #   dp_iface_name: null
+    #   dp_iface_ip: null
+    #   dp_iface_gateway: null
+    #   container_type: null
+    #   container_name: null
diff --git a/kubernetes-configs/voltha/dt-berlin-pod.yml b/kubernetes-configs/voltha/dt-berlin-pod.yml
new file mode 100644
index 0000000..3a898a7
--- /dev/null
+++ b/kubernetes-configs/voltha/dt-berlin-pod.yml
@@ -0,0 +1,41 @@
+# 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
+
+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"
+
+# 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/dt-berlin-pod-onos-netcfg-switch.json b/tosca-configs/voltha/dt-berlin-pod-onos-netcfg-switch.json
new file mode 100644
index 0000000..5ddbebd
--- /dev/null
+++ b/tosca-configs/voltha/dt-berlin-pod-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
+      }
+    }
+  }
+}