Creating sadis config for the ONF Soak POD
Change-Id: I3b283d53d4cd715d5bbc8e610ae187c4a7217ce6
diff --git a/requirements.txt b/requirements.txt
index f7a9a66..691e08a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,14 +1,13 @@
-flake8
-pexpect
-pylint
-pyyaml
+flake8==3.8.2
+pexpect==4.8.0
+pylint==2.5.2
robotframework==3.1.2
-robotframework-kafkalibrary
-robotframework-lint
-robotframework-requests
-robotframework-sshlibrary
+robotframework-kafkalibrary==0.0.3
+robotframework-lint==1.0
+robotframework-requests==0.7.0
+robotframework-sshlibrary==3.4.0
robotframework-timer==0.0.5
-yamllint
+yamllint==1.23.0
# replace when we can use upstream (needs python 3.6)
git+https://github.com/zdw/robotframework-importresource@b81b87aabaee0594e966687b41e3674b866f28ee
cord-robot==2.1.1
diff --git a/tests/data/onf-soak-pod-sadis.json b/tests/data/onf-soak-pod-sadis.json
new file mode 100644
index 0000000..2a5179c
--- /dev/null
+++ b/tests/data/onf-soak-pod-sadis.json
@@ -0,0 +1,96 @@
+{
+ "apps": {
+ "org.opencord.sadis": {
+ "sadis": {
+ "integration": {
+ "cache": {
+ "enabled": false,
+ "maxsize": 50,
+ "ttl": "PT0m"
+ }
+ },
+ "entries": [
+ {
+ "id": "ALPHe3d1cf8e-1",
+ "nasPortId": "ALPHe3d1cf8e-1",
+ "circuitId": "",
+ "remoteId": "",
+ "uniTagList": [{
+ "ponCTag": 11,
+ "ponSTag": 111,
+ "technologyProfileId": 64,
+ "downstreamBandwidthProfile": "Default",
+ "upstreamBandwidthProfile": "Default",
+ "isDhcpRequired": true
+ }]
+ },
+ {
+ "id": "ALPHe3d1cfe3-1",
+ "nasPortId": "ALPHe3d1cfe3-1",
+ "circuitId": "",
+ "remoteId": "",
+ "uniTagList": [{
+ "ponCTag": 12,
+ "ponSTag": 111,
+ "technologyProfileId": 64,
+ "downstreamBandwidthProfile": "Default",
+ "upstreamBandwidthProfile": "Default",
+ "isDhcpRequired": true
+ }]
+ },
+ {
+ "id": "EC1721000208",
+ "hardwareIdentifier": "aa:bb:cc:dd:ee:ff",
+ "ipAddress": "10.192.20.206",
+ "nasId": "EC1721000208",
+ "uplinkPort": 1048576
+ }
+ ]
+ },
+ "bandwidthprofile":{
+ "integration":{
+ "cache":{
+ "enabled":true,
+ "maxsize":40,
+ "ttl":"PT1m"
+ }
+ },
+ "entries":[
+ {
+ "id": "Default",
+ "air": 100000,
+ "cbs": 30,
+ "cir": 16000,
+ "ebs": 30,
+ "eir": 16000
+ },
+ {
+ "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": 500000,
+ "ebs": 5000,
+ "eir": 500000
+ }
+
+ ]
+ }
+ }
+ }
+}