This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| network_stuff:juniper:vqfx [2019/11/30 11:14] – jotasandoku | network_stuff:juniper:vqfx [2023/11/02 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 32: | Line 32: | ||
| INSTALLATION: | INSTALLATION: | ||
| - | * Preparations: | + | * Preparations: |
| * Importamnt: lag interfaces don't work with virtio, therefore linux servers need to be e1000 <<< | * Importamnt: lag interfaces don't work with virtio, therefore linux servers need to be e1000 <<< | ||
| Line 43: | Line 43: | ||
| * Install: [[https:// | * Install: [[https:// | ||
| - | * step by step guide {{ : | + | * step by step guide [[https:// |
| * to configure the nodes (hosts and vqfx cli): {{ : | * to configure the nodes (hosts and vqfx cli): {{ : | ||
| * Troubleshooting: | * Troubleshooting: | ||
| + | \\ | ||
| + | **FULL DIR CONTENTS: {{ : | ||
| + | # this is the bootstrap script (all components in daughter pages here) | ||
| + | #!/bin/bash | ||
| + | vagrant up | ||
| + | ./ | ||
| + | ./ | ||
| + | ansible-playbook --private-key=~/ | ||
| + | ansible-playbook --private-key=~/ | ||
| - | |||
| - | # genhost.sh file | ||
| - | #!/bin/bash | ||
| - | vagrant ssh-config > ssh-config | ||
| - | echo -e " | ||
| - | [VMX] | ||
| - | R1-vcp ansible_host=`egrep -A 1 "Host R1-vcp" | ||
| - | R2-vcp ansible_host=`egrep -A 1 "Host R2-vcp" | ||
| - | R3-vcp ansible_host=`egrep -A 1 "Host R3-vcp" | ||
| - | R4-vcp ansible_host=`egrep -A 1 "Host R4-vcp" | ||
| - | R5-vcp ansible_host=`egrep -A 1 "Host R5-vcp" | ||
| - | R6-vcp ansible_host=`egrep -A 1 "Host R6-vcp" | ||
| - | R7-vcp ansible_host=`egrep -A 1 "Host R7-vcp" | ||
| - | P1-vcp ansible_host=`egrep -A 1 "Host P1-vcp" | ||
| - | DC1-vcp ansible_host=`egrep -A 1 "Host DC1-vcp" | ||
| - | [CSR] | ||
| - | C1 ansible_host=`egrep -A 1 "Host C1" ssh-config | egrep HostName | cut -d' ' -f 4` | ||
| - | C2 ansible_host=`egrep -A 1 "Host C2" ssh-config | egrep HostName | cut -d' ' -f 4` | ||
| - | T1 ansible_host=`egrep -A 1 "Host T1" ssh-config | egrep HostName | cut -d' ' -f 4` | ||
| - | " > ini/hosts | ||
| - | \\ | ||
| - | ansible-playbook --private-key=~/ | ||
| - | ansible-playbook --private-key=~/ | ||
| - | | ||
| | | ||
| Line 77: | Line 62: | ||
| TODO: | TODO: | ||
| - | - ansible | + | - ansible to save all running configs in files |
| - | - ansible transfers **set-em-mac-to-xe-ae-vQFX.slax** to all instances | + | |
| - | - ansible commit content of this file to all vqfx: {{ : | + | |