File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 100
100
101
101
- name : execute cli "config load_minigraph -y" to apply new minigraph
102
102
become : true
103
- ignore_errors : true
104
103
shell : config load_minigraph -y
105
104
105
+ - name : execute cli "config bgp startup all" to bring up all bgp sessions for test
106
+ become : true
107
+ shell : config bgp startup all
108
+
106
109
- name : execute cli "config save -y" to save current minigraph as startup-config
107
110
become : true
108
- ignore_errors : true
109
111
shell : config save -y
110
112
when : save is defined and save|bool == true
111
113
when : deploy is defined and deploy|bool == true
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ function deploy_minigraph
127
127
128
128
read_file $1
129
129
130
- ansible-playbook -i lab config_sonic_basedon_testbed.yml --vault-password-file=" $2 " -l " $dut " -e vm_base=" $vm_base " -e topo=" $topo " -e deploy=true
130
+ ansible-playbook -i lab config_sonic_basedon_testbed.yml --vault-password-file=" $2 " -l " $dut " -e vm_base=" $vm_base " -e topo=" $topo " -e deploy=true -e save=true
131
131
132
132
echo Done
133
133
}
You can’t perform that action at this time.
0 commit comments