aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>2016-05-11 08:11:52 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-05-11 08:11:52 +0000
commita3d643bc61fb04b471d8a9a518092963ac072d9e (patch)
tree934b801971c142132d65bd1ba7caeb358fdf042c
parent6aa7b972efaf51dd1bb2c1dbd7186b8f4625cab7 (diff)
parent1d62a3a8acb616ed0afe724e55f3adcd214a566c (diff)
Merge "The configuration of the coexistence between SFC and Netvirt is added"
-rwxr-xr-xprototypes/sfc_tacker/poc.tacker-up.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/prototypes/sfc_tacker/poc.tacker-up.sh b/prototypes/sfc_tacker/poc.tacker-up.sh
index be647b409..4dbb37240 100755
--- a/prototypes/sfc_tacker/poc.tacker-up.sh
+++ b/prototypes/sfc_tacker/poc.tacker-up.sh
@@ -350,6 +350,18 @@ function populate_rc() {
done
}
+
+#Configure ODL so that it allows the coexistence between Netvirt and SFC
+function coexistence() {
+ curl -i -u admin:admin -H 'Content-type: application/json' -X PUT \
+ -d '{"netvirt-providers-config":{"table-offset":"1"}}' \
+ http://${mgmt_addr}:${odl_port}/restconf/config/netvirt-providers-config:netvirt-providers-config
+
+ curl -i -u admin:admin -H 'Content-type: application/json' -X PUT \
+ -d '{"sfc-of-renderer-config":{"sfc-of-table-offset":"150","sfc-of-app-egress-table-offset":"11"}}' \
+ http://${mgmt_addr}:${odl_port}/restconf/config/sfc-of-renderer:sfc-of-renderer-config
+}
+
envSetup
deployTackerClient
deployJsonrpclib
@@ -359,6 +371,7 @@ deployTackerServer
populate_client
orchestarte
populate_rc
+coexistence
remove_repo "$MYREPO"
remove_repo "$DEPREPO"