Skip to content

Commit

Permalink
Merge pull request #144 from mpeuster/master
Browse files Browse the repository at this point in the history
Fix: Directly connect services upon instantiation
  • Loading branch information
Manuel Peuster authored Jun 21, 2019
2 parents 2146612 + 7dd23ba commit 964c703
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk-projects/netsoft_instantiate_stage1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
sudo date
echo "Instantiating NS1.0 and NS1.1 ..."
tng-cli -u http://127.0.0.1 service -i tng-smpilot-ns1-emulator
tng-cli -u http://127.0.0.1 service -i tng-smpilot-ns1-emulator
Expand All @@ -11,3 +12,7 @@ tng-cli -u http://127.0.0.1 service -i tng-smpilot-ns2-emulator
tng-cli -u http://127.0.0.1 service -i tng-smpilot-ns2-emulator
echo "DONE"
echo ""

echo "Interconnecting services ..."
./netsoft_connect_stage1.sh
echo "DONE"
5 changes: 5 additions & 0 deletions sdk-projects/netsoft_instantiate_stage2.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
sudo date
echo "Instantiating NS1.2 ..."
tng-cli -u http://127.0.0.1 service -i tng-smpilot-ns1-emulator
echo "DONE"
Expand All @@ -9,3 +10,7 @@ tng-cli -u http://127.0.0.1 service -i tng-smpilot-ns2-emulator
tng-cli -u http://127.0.0.1 service -i tng-smpilot-ns2-emulator
echo "DONE"
echo ""

echo "Interconnecting services ..."
./netsoft_connect_stage2.sh
echo "DONE"

0 comments on commit 964c703

Please sign in to comment.