Add network-cfg.json for OLT
diff --git a/xos/configurations/cord/cord.yaml b/xos/configurations/cord/cord.yaml
index e9a6291..67d8bb6 100644
--- a/xos/configurations/cord/cord.yaml
+++ b/xos/configurations/cord/cord.yaml
@@ -58,7 +58,7 @@
# - (Synchronizer should copy the files to ONOS container immediately)
# - Log into service_ONOS_vBNG VM and restart ONOS Docker container
# (Should roll this step into a Synchronizer)
-#
+#f
vBNG_ONOS_app:
type: tosca.nodes.ONOSvBNGApp
requirements:
@@ -116,6 +116,7 @@
artifacts:
pubkey: /opt/xos/observers/onos/onos_key.pub
+
vOLT_ONOS_app:
type: tosca.nodes.ONOSvOLTApp
requirements:
@@ -127,6 +128,20 @@
relationship: tosca.relationships.UsedByService
properties:
dependencies: org.onosproject.olt
+ config_network-cfg.json: >
+ {
+ "devices" : {
+ "of:0000000000000001" : {
+ "accessDevice" : {
+ "uplink" : "2",
+ "vlan" : "400"
+ },
+ "basic" : {
+ "driver" : "default"
+ }
+ }
+ }
+ }
# Network templates
Private: