[CORD-2887] Adding subscriber details for fabric termination
Change-Id: Ib1d44a0cd65d8b62ce8599505aaeb43d1b988a79
diff --git a/samples/subscriber.yaml b/samples/subscriber.yaml
index 915a8dd..ba79a16 100644
--- a/samples/subscriber.yaml
+++ b/samples/subscriber.yaml
@@ -37,6 +37,9 @@
device_type: simulated_olt
host: 172.17.0.1
port: 50060
+ switch_datapath_id: of:0000000ce2314000
+ switch_port: "5"
+ outer_tpid: "0x8100"
requirements:
- volt_service:
node: service#volt
@@ -66,5 +69,5 @@
olt_device: volt-1
olt_port: volt-port-1
uni_port_id: 101
-# ip_address: 10.8.2.1
-# switch_datapath_id: of:0000000ce2314000
+ mac_address: 00:AA:00:00:00:01
+ ip_address: 10.8.2.1
diff --git a/xos/synchronizer/models/volt.xproto b/xos/synchronizer/models/volt.xproto
index 8e927a4..aa2518d 100644
--- a/xos/synchronizer/models/volt.xproto
+++ b/xos/synchronizer/models/volt.xproto
@@ -41,6 +41,10 @@
required string uplink = 15 [default="129", help_text = "uplink port", null = False, db_index = False, blank = False];
required string driver = 16 [default="pmc-olt", help_text = "Olt driver", null = True, db_index = False, blank = False];
+
+ optional string switch_datapath_id = 17 [help_text = "Fabric switch to which the OLT is connected", null = False, db_index = False, blank = False];
+ optional string switch_port = 18 [help_text = "Fabric port to which the OLT is connected", null = False, db_index = False, blank = False];
+ optional string outer_tpid = 19 [help_text = "Outer VLAN id field EtherType", null = False, db_index = False, blank = False];
}
message ONUDevice (XOSBase){