Is there a way to streamline this use case? #2710
Closed
lwhitworth
started this conversation in
General
Replies: 2 comments 1 reply
-
|
Just to further my rambling chain of thought on this, after a bit more playing I suppose I could just do something akin to: #!/bin/bash
netlab up --no-config
ansible-playbook playbooks/deploy_simulation.yml --limit dist-01,core-01,exit-01
netlab exec vlan-003-client1 /sbin/ip addr add 192.168.29.10/24 dev eth1
netlab exec vlan-003-client1 /sbin/ip route replace default via 192.168.29.200
netlab exec vlan-003-client1 ping 192.168.23.151 # test visibilty from a "user" device all the way up to the exit node which is using 192.168.23.151That'll work for some of my use cases.....but if I could bring the SONiC nodes up with a pre-determined minimum config then I wouldn't have to run the whole deploy_simulation.yml every time. Still, the tool has allowed me to get this far so massive thanks for that 😄 |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Thanks for the prompt response, really appreciated. If I end up with anything useful I'll certainly submit a PR. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Apologies if I'm missing something obvious, or trying to ram a square peg into a round hole......but.....I'm trying to use netlab to validate our Broadcom Enterprise SONiC switch configs which are entirely built in Ansible already.
My topology (at the moment) looks like:
If I run
netlab up --no-configand then run our ansible playbooks against them everything all comes up perfectly and (once I configure it with the right IP) vlan-003-client1 can ping all the way up to exit-01 and get a response. So that's brilliant and exactly what I need.However, once I
netlab downit everything's gone and I'm back to a blank slate. This I expect, but no level of reading docs andnetlab collectexploration seems to be able to get me to a point where I can justnetlab upthe lab and continue where I left off.Am I just missing something obvious here?
Beta Was this translation helpful? Give feedback.
All reactions