Skip to content
Snippets Groups Projects
Commit af14d7b1 authored by Fabian Seidl's avatar Fabian Seidl
Browse files

Hotfix clab slim start configured

See merge request !520
parent 0b2c3725
No related branches found
No related tags found
1 merge request!520Hotfix clab slim start configured
Pipeline #160170 failed
......@@ -20,7 +20,8 @@ containerlab-slim-start-reconfigure: create-clab-dir containerize-all generate-a
sudo containerlab deploy --topo $(MAKEFILE_DIR)dev_env_data/clab/gosdn_slim.clab.yaml --reconfigure
containerlab-slim-start-configured: containerlab-slim-start
.$(SCRIPTS_DIR)/setup-clab-slim.sh -s true
@echo 'Waiting 20 seconds for containers to start...'
@.$(SCRIPTS_DIR)/setup-clab-slim.sh -s true
containerlab-slim-stop: create-clab-dir
cd $(CLAB_DIR) &&\
......
......@@ -9,7 +9,7 @@ GOSDN_ADDRESS="172.100.0.5:55055"
ADMINPW="TestPassword"
OPENCONFIG_PLUGIN="d1c269a2-6482-4010-b0d8-679dff73153b"
## Adjust this if timer is to short.
SLEEP_TIMER=15
SLEEP_TIMER=20
## Check for provided flags.
while getopts s: flag
......@@ -22,6 +22,8 @@ done
## Sleep is needed to give gosdn some time to start correctly.
sleep $SLEEP_TIMER
echo 'Logging in via gosdnc and setting up gnmi-targets in controller...'
## Call login and create entries for all the network elements.
## Could be a bit more automated in the future, but fine for now.
$GOSDNC_PATH login --controller $GOSDN_ADDRESS --u admin --p $ADMINPW
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment