Merge "Adding onf-demo-pod configs"
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/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: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMrVENDQWVHZ0F3SUJBZ0lKQU5kMEkyS25Na0RPTUEwR0NTcUdTSWIzRFFFQkN3VUFNQkl4RURBT0JnTlYKQkFNTUIydDFZbVV0WTJFd0lCY05NVGd3T1RJMk1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JUTdvd1IyWkh3ay96SXYxdzJ6cWNwNFVuR0MxcGh0VAppeFp4aDJ1UWRISkdHNGtMS0Eza3ljWmxoZXpJMnJkQ0htd202RG5QdUZ5OHJxd2lxQ2VCZ3dST0JVUDdnbG5rCld4T3IwejdxY3BOZDlXUmhxTjBqZ3RscmFlRTczcGo2K0g3cEJ6eGNpZzZrZkZvL3UyMER2YTgyMDdzZAotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
+ 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: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURvekNDQW91Z0F3SUJBZ0lKQUwrN2JCZHZXUStlTUEwR0NTcUdTSWIzRFFFQkN3VUFNQkl4RURBT0JnTlYKQkFNTUIydDFZbVV0WTJFd0lCY05NVGd3T1RJMk1qRTFPVEE0V2hnUE1qRXhPREE1TURJeU1UVTVNRGhhTURReApHVEFYQmdOVkJBTU1FR3QxWW1VdFlXUnRhVzR0Ym05a1pURXhGekFWQmdOVkJBb01Ebk41YzNSbGJUcHRZWE4wClpYSnpNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQSt0dXVNa0hUY2RhZWpLRkQKTnhhL2RYSEJDSDV5VGN1VlB5dWk4Tmdtc3VSWmFlL1FuKzNRQ2Q2N2xYM3oxSDJpVE9EaXVkWmt5Wm1aL0FhbgowR0hnS0xwa1RiWUlMV0UzS1NUVUVsOEo2VlFVYk9PVmttTGRsUHg3Sjk1YlEybW9zYnBGamhvN3l6WWNlb2tQCngwcE0vWjRzMGRoVytnRjBKbHpDcG9CRkhyYUZSNFpNMitIZ1c1dEkzZXZvS1FoSUpZYkt5WStaVitPTi9PZTUKaXpjazZTVklpekUrUUNJNWJpSU0zN201VVNuV0NtMFFBVm1tblRJ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4zRjlpOUxPWTA5TUFhYzVvYm1pczg5M0FyL0JOanZJM0pBTgo0QmtSNlpMZGg3d2RzcWhHbTkrNjBsakhFQ1NGWVozVHhYYzR4NlhtNmhqa1V3ZG0yQ0EzWVE9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=
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/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
+