Commit 740dbcf7 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

NFV-SDN'22 scenario

- Added MockBlockchain deployment
- Added interdomain and DLT components per domain.
parent 72662c24
Loading
Loading
Loading
Loading
+6 −0
Changes for src/tests/scenario2/deploy_all.sh: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -9,12 +9,18 @@ kubectl delete -f nfvsdn22/nginx-ingress-controller-dom2.yaml
kubectl delete -f nfvsdn22/nginx-ingress-controller-dom3.yaml
kubectl delete -f nfvsdn22/nginx-ingress-controller-dom4.yaml

# Delete MockBlockchain
kubectl delete namespace tfs-bchain

# Create secondary ingress controllers
kubectl apply -f nfvsdn22/nginx-ingress-controller-dom1.yaml
kubectl apply -f nfvsdn22/nginx-ingress-controller-dom2.yaml
kubectl apply -f nfvsdn22/nginx-ingress-controller-dom3.yaml
kubectl apply -f nfvsdn22/nginx-ingress-controller-dom4.yaml

# Create MockBlockchain
./deploy_mock_blockchain.sh

# Deploy TFS for Domain 1
source nfvsdn22/deploy_specs_dom1.sh
./deploy.sh
+1 −1
Changes for src/tests/scenario2/deploy_specs_dom1.sh: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
export TFS_REGISTRY_IMAGE="http://localhost:32000/tfs/"

# Set the list of components, separated by spaces, you want to build images for, and deploy.
export TFS_COMPONENTS="context device pathcomp service slice webui"
export TFS_COMPONENTS="context device pathcomp service slice dlt interdomain webui"

# Set the tag you want to use for your images.
export TFS_IMAGE_TAG="dev"
+1 −1
Changes for src/tests/scenario2/deploy_specs_dom2.sh: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
export TFS_REGISTRY_IMAGE="http://localhost:32000/tfs/"

# Set the list of components, separated by spaces, you want to build images for, and deploy.
export TFS_COMPONENTS="context device pathcomp service slice webui"
export TFS_COMPONENTS="context device pathcomp service slice dlt interdomain webui"

# Set the tag you want to use for your images.
export TFS_IMAGE_TAG="dev"
+1 −1
Changes for src/tests/scenario2/deploy_specs_dom3.sh: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
export TFS_REGISTRY_IMAGE="http://localhost:32000/tfs/"

# Set the list of components, separated by spaces, you want to build images for, and deploy.
export TFS_COMPONENTS="context device pathcomp service slice webui"
export TFS_COMPONENTS="context device pathcomp service slice dlt interdomain webui"

# Set the tag you want to use for your images.
export TFS_IMAGE_TAG="dev"
+1 −1
Changes for src/tests/scenario2/deploy_specs_dom4.sh: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
export TFS_REGISTRY_IMAGE="http://localhost:32000/tfs/"

# Set the list of components, separated by spaces, you want to build images for, and deploy.
export TFS_COMPONENTS="context device pathcomp service slice webui"
export TFS_COMPONENTS="context device pathcomp service slice dlt interdomain webui"

# Set the tag you want to use for your images.
export TFS_IMAGE_TAG="dev"