VOL-2602 Update docker compose onos netcfg for new onos
- new style sadis configuration
- bbsim can now provide its own sadis config
- update development quickstart doc with new onos and
CLI output
Change-Id: Ifbf06d473eee033bd11e650b0f749d746923e71f
diff --git a/compose/network-cfg-bbsim.json b/compose/network-cfg-bbsim.json
index 5507aa3..86f2fd4 100644
--- a/compose/network-cfg-bbsim.json
+++ b/compose/network-cfg-bbsim.json
@@ -1,15 +1,4 @@
{
- "devices": {
- "of:00000000ac110001": {
- "accessDevice": {
- "uplink": "1048576",
- "vlan": "1"
- },
- "basic": {
- "driver": "voltha"
- }
- }
- },
"apps": {
"org.opencord.dhcpl2relay": {
"dhcpl2relay": {
@@ -33,84 +22,23 @@
"org.opencord.sadis": {
"sadis": {
"integration": {
+ "url": "http://172.17.0.1:50074/subscribers/%s",
"cache": {
"enabled": true,
"maxsize": 50,
"ttl": "PT1m"
}
- },
- "entries": [
- {
- "id": "BBSIM_OLT_0",
- "uplinkPort": 1048576,
- "hardwareIdentifier": "00:00:ac:11:00:01",
- "ipAddress": "172.17.0.1",
- "nasId": "BBSIM_OLT_0"
- },
- {
- "id": "BBSM00000001-1",
- "cTag": 900,
- "sTag": 900,
- "nasPortId": "BBSM00000001-1",
- "circuitId": "BBSM00000001-1",
- "remoteId": "BBSIM_OLT_0",
- "technologyProfileId": 64,
- "upstreamBandwidthProfile": "Default",
- "downstreamBandwidthProfile": "Default"
- },
- {
- "id": "BBSM00000001-2",
- "cTag": 900,
- "sTag": 900,
- "nasPortId": "BBSM00000001-2",
- "circuitId": "BBSM00000001-2",
- "remoteId": "BBSIM_OLT_0",
- "technologyProfileId": 64,
- "upstreamBandwidthProfile": "Default",
- "downstreamBandwidthProfile": "Default"
- },
- {
- "id": "BBSM00000001-3",
- "cTag": 900,
- "sTag": 900,
- "nasPortId": "BBSM00000001-3",
- "circuitId": "BBSM00000001-3",
- "remoteId": "BBSIM_OLT_0",
- "technologyProfileId": 64,
- "upstreamBandwidthProfile": "Default",
- "downstreamBandwidthProfile": "Default"
- },
- {
- "id": "BBSM00000001-4",
- "cTag": 900,
- "sTag": 900,
- "nasPortId": "BBSM00000001-4",
- "circuitId": "BBSM00000001-4",
- "remoteId": "BBSIM_OLT_0",
- "technologyProfileId": 64,
- "upstreamBandwidthProfile": "Default",
- "downstreamBandwidthProfile": "Default"
- }
- ]
+ }
},
"bandwidthprofile": {
"integration": {
+ "url": "http://172.17.0.1:50074/bandwidthprofiles/%s",
"cache": {
"enabled": true,
"maxsize": 40,
"ttl": "PT1m"
}
- },
- "entries": [
- {
- "id": "Default",
- "air": 10000000,
- "cbs": 5000,
- "cir": 750000,
- "ebs": 5000,
- "eir": 1000000
- }
- ]
+ }
}
}
}