VOL-1821: Voltha 2.0 Functional Test Case: OLT Provisioning and Enabling (BBSIM)
VOL-1822: Voltha 2.0 Functional Test Case: ONU Discovery (BBSIM)
First two Functional Test Cases to run in its own Kind Voltha framework
in a new Jenkins Job to be run at given periods during the day (nightly?)
This uses BBSIM with 16 ONUs and is intented to perform more indept testing
than what the sanity tests does
Added config and sadis files to handle 8 pon, 2 onus or single pon, 16 onus
Change-Id: I4a02bbffacb24b76f2166366b47437120b91ce67
diff --git a/tests/data/sadis-with-tp-8x2.json b/tests/data/sadis-with-tp-8x2.json
new file mode 100755
index 0000000..b28b53e
--- /dev/null
+++ b/tests/data/sadis-with-tp-8x2.json
@@ -0,0 +1,241 @@
+{
+ "org.opencord.sadis": {
+ "sadis": {
+ "integration": {
+ "cache": {
+ "enabled": false,
+ "maxsize": 50,
+ "ttl": "PT0m"
+ }
+ },
+ "entries": [
+ {
+ "id": "BBSIM_OLT_0",
+ "hardwareIdentifier": "00:00:0a:62:ce:e2",
+ "ipAddress": "192.168.1.252",
+ "nasId": "BBSIM_OLT_0",
+ "uplinkPort": 65536
+ },
+ {
+ "id": "BBSM00000001-1",
+ "cTag": 55,
+ "sTag": 66,
+ "nasPortId": "BBSM00000001-1",
+ "circuitId": "BBSM00000001-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "BBSM00000002-1",
+ "cTag": 56,
+ "sTag": 66,
+ "nasPortId": "BBSM00000002-1",
+ "circuitId": "BBSM00000002-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "BBSM00000101-1",
+ "cTag": 57,
+ "sTag": 66,
+ "nasPortId": "BBSM00000101-1",
+ "circuitId": "BBSM00000101-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "BBSM00000102-1",
+ "cTag": 58,
+ "sTag": 66,
+ "nasPortId": "BBSM00000102-1",
+ "circuitId": "BBSM00000102-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "BBSM00000201-1",
+ "cTag": 60,
+ "sTag": 77,
+ "nasPortId": "BBSM00000201-1",
+ "circuitId": "BBSM00000201-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "BBSM00000202-1",
+ "cTag": 61,
+ "sTag": 77,
+ "nasPortId": "BBSM00000202-1",
+ "circuitId": "BBSM00000202-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "BBSM00000301-1",
+ "cTag": 62,
+ "sTag": 77,
+ "nasPortId": "BBSM00000301-1",
+ "circuitId": "BBSM00000301-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "User_Bandwidth1",
+ "downstreamBandwidthProfile": "User_Bandwidth1"
+ },
+ {
+ "id": "BBSM00000302-1",
+ "cTag": 63,
+ "sTag": 77,
+ "nasPortId": "BBSM00000302-1",
+ "circuitId": "BBSM00000302-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "BBSM00000401-1",
+ "cTag": 70,
+ "sTag": 88,
+ "nasPortId": "BBSM00000401-1",
+ "circuitId": "BBSM00000401-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "BBSM00000402-1",
+ "cTag": 71,
+ "sTag": 88,
+ "nasPortId": "BBSM00000402-1",
+ "circuitId": "BBSM00000402-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "BBSM00000501-1",
+ "cTag": 72,
+ "sTag": 88,
+ "nasPortId": "BBSM00000501-1",
+ "circuitId": "BBSM00000501-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "BBSM00000502-1",
+ "cTag": 73,
+ "sTag": 88,
+ "nasPortId": "BBSM00000502-1",
+ "circuitId": "BBSM00000502-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "BBSM00000601-1",
+ "cTag": 80,
+ "sTag": 99,
+ "nasPortId": "BBSM00000601-1",
+ "circuitId": "BBSM00000601-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "User_Bandwidth2",
+ "downstreamBandwidthProfile": "User_Bandwidth2"
+ },
+ {
+ "id": "BBSM00000602-1",
+ "cTag": 81,
+ "sTag": 99,
+ "nasPortId": "BBSM00000602-1",
+ "circuitId": "BBSM00000602-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "BBSM00000701-1",
+ "cTag": 82,
+ "sTag": 99,
+ "nasPortId": "BBSM00000701-1",
+ "circuitId": "BBSM00000701-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ },
+ {
+ "id": "BBSM00000702-1",
+ "cTag": 83,
+ "sTag": 99,
+ "nasPortId": "BBSM00000702-1",
+ "circuitId": "BBSM00000702-1",
+ "remoteId" : "BBSIM_OLT_0",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "Default",
+ "downstreamBandwidthProfile": "Default"
+ }
+ ]
+ },
+ "bandwidthprofile": {
+ "integration": {
+ "cache": {
+ "enabled": true,
+ "maxsize": 40,
+ "ttl": "PT1m"
+ }
+ },
+ "entries": [
+ {
+ "id": "User_Bandwidth1",
+ "air": 100000,
+ "cbs": 10000,
+ "cir": 30000,
+ "ebs": 1000,
+ "eir": 20000
+ },
+ {
+ "id": "User_Bandwidth2",
+ "air": 100000,
+ "cbs": 5000,
+ "cir": 100000,
+ "ebs": 5000,
+ "eir": 100000
+ },
+ {
+ "id": "User_Bandwidth3",
+ "air": 100000,
+ "cbs": 5000,
+ "cir": 1000000,
+ "ebs": 5000,
+ "eir": 1000000
+ },
+ {
+ "id": "Default",
+ "air": 100000,
+ "cbs": 30,
+ "cir": 600,
+ "ebs": 30,
+ "eir": 400
+ }
+ ]
+ }
+ }
+}