Config for Tucson pod
Change-Id: I933fe29ab2365defa1a22e71209e754805a08177
diff --git a/Jenkinsfile-voltha-build b/Jenkinsfile-voltha-build
index 845e3c1..25a9a95 100644
--- a/Jenkinsfile-voltha-build
+++ b/Jenkinsfile-voltha-build
@@ -59,10 +59,14 @@
export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
cd kind-voltha/
if ( ${released} ); then
- EXTRA_HELM_FLAGS="--set defaults.image_tag=null" VOLTHA_LOG_LEVEL=DEBUG WITH_SIM_ADAPTERS=n WITH_RADIUS=y WITH_TP=yes DEPLOY_K8S=no INSTALL_KUBECTL=no INSTALL_HELM=no FANCY=0 ./voltha up
+ export EXTRA_HELM_FLAGS="--set defaults.image_tag=null"
else
- EXTRA_HELM_FLAGS='-f $WORKSPACE/${configBaseDir}/${configKubernetesDir}/voltha/${configFileName}.yml' VOLTHA_LOG_LEVEL=DEBUG WITH_SIM_ADAPTERS=n WITH_RADIUS=y WITH_TP=yes DEPLOY_K8S=no INSTALL_KUBECTL=no INSTALL_HELM=no FANCY=0 ./voltha up
+ export EXTRA_HELM_FLAGS='-f $WORKSPACE/${configBaseDir}/${configKubernetesDir}/voltha/${configFileName}.yml'
fi
+
+ # VOL-2194 ONOS SSH and REST ports hardcoded to 30115/30120 in tests
+ ONOS_SSH_PORT=30115 ONOS_API_PORT=30120 VOLTHA_LOG_LEVEL=DEBUG WITH_SIM_ADAPTERS=n WITH_RADIUS=y WITH_TP=yes DEPLOY_K8S=no INSTALL_KUBECTL=no INSTALL_HELM=no FANCY=0 ./voltha up
+
kubectl get pods --all-namespaces -o jsonpath="{range .items[*].status.containerStatuses[*]}{.image}{'\\t'}{.imageID}{'\\n'}" | sort | uniq -c
kubectl get nodes -o wide
kubectl get pods -n voltha -o wide
diff --git a/tests/data/tucson-pod-sadis.json b/tests/data/tucson-pod-sadis.json
new file mode 100644
index 0000000..f886d30
--- /dev/null
+++ b/tests/data/tucson-pod-sadis.json
@@ -0,0 +1,78 @@
+{
+ "apps": {
+ "org.opencord.sadis": {
+ "sadis": {
+ "integration": {
+ "cache": {
+ "enabled": false,
+ "maxsize": 50,
+ "ttl": "PT0m"
+ }
+ },
+ "entries": [
+ {
+ "id": "EC1925000157",
+ "hardwareIdentifier": "0f:f1:ce:c0:ff:ee",
+ "nasId": "EC1925000157",
+ "uplinkPort": 65536
+ },
+ {
+ "id": "ALPHe3d1ce7b-1",
+ "cTag": 11,
+ "sTag": 11,
+ "nasPortId": "ALPHe3d1ce7b-1",
+ "circuitId": "ALPHe3d1ce7b-1",
+ "remoteId": "ALPHe3d1ce7b",
+ "technologyProfileId": 64,
+ "upstreamBandwidthProfile": "User_Bandwidth1",
+ "downstreamBandwidthProfile": "User_Bandwidth1"
+ }
+ ]
+ },
+ "bandwidthprofile":{
+ "integration":{
+ "cache":{
+ "enabled":true,
+ "maxsize":40,
+ "ttl":"PT1m"
+ }
+ },
+ "entries":[
+ {
+ "id": "Default",
+ "air": 100000,
+ "cbs": 30,
+ "cir": 600,
+ "ebs": 30,
+ "eir": 400
+ },
+ {
+ "id": "User_Bandwidth1",
+ "air": 100000,
+ "cbs": 10000,
+ "cir": 5000,
+ "ebs": 1000,
+ "eir": 5000
+ },
+ {
+ "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
+ }
+
+ ]
+ }
+ }
+ }
+}