User Tools

Site Tools


network_stuff:juniper:vqfx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
network_stuff:juniper:vqfx [2019/11/21 20:23] jotasandokunetwork_stuff:juniper:vqfx [2023/11/02 14:38] (current) – external edit 127.0.0.1
Line 32: Line 32:
  
 INSTALLATION:\\ INSTALLATION:\\
-  * Preparations: {{ :network_stuff:juniper:host-preparation.docx |}}+  * Preparations: [[https://panda314159.duckdns.org/doku.php?id=network_stuff:juniper:host-preparation|host preparation]]
     * 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://codingpackets.com/blog/juniper-vqfx-vagrant-libvirt-box-install]]   * Install: [[https://codingpackets.com/blog/juniper-vqfx-vagrant-libvirt-box-install]]
-    * step by step guide {{ :network_stuff:step-by-step-vqfx.docx |}}+    * step by step guide [[https://panda314159.duckdns.org/doku.php?id=network_stuff:juniper:vqfx:step-by-step-vqfx|Link]]
     * to configure the nodes (hosts and vqfx cli): {{ :network_stuff:nodes-config-example.docx |}}     * to configure the nodes (hosts and vqfx cli): {{ :network_stuff:nodes-config-example.docx |}}
   * Troubleshooting: {{ :network_stuff:juniper:troubleshooting-vqfx-vmx-install.docx |}}   * Troubleshooting: {{ :network_stuff:juniper:troubleshooting-vqfx-vmx-install.docx |}}
 +\\
 +**FULL DIR CONTENTS: {{ :network_stuff:juniper:vqfx-vagrant-ansible.tar.gz |}} **
  
 +  # this is the bootstrap script (all components in daughter pages here)
 +  #!/bin/bash
 +  vagrant up 
 +  ./genhost.sh
 +  ./push-slax.sh
 +  ansible-playbook --private-key=~/.vagrant.d/insecure_private_key -u vagrant -i ini/hosts -l VQFX playbook-housekeeping.yml
 +  ansible-playbook --private-key=~/.vagrant.d/insecure_private_key -u vagrant -i ini/hosts -l VQFX playbook-vqfx.yml
  
 +  
  
-  # genhost.sh file +---- 
-  #!/bin/bash + 
-  vagrant ssh-config > ssh-config +TODO:  
-  echo -e " +  - ansible to save all running configs in files
-  [VMX] +
-  R1-vcp ansible_host=`egrep -A 1 "Host R1-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` +
-  R2-vcp ansible_host=`egrep -A 1 "Host R2-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` +
-  R3-vcp ansible_host=`egrep -A 1 "Host R3-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` +
-  R4-vcp ansible_host=`egrep -A 1 "Host R4-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` +
-  R5-vcp ansible_host=`egrep -A 1 "Host R5-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` +
-  R6-vcp ansible_host=`egrep -A 1 "Host R6-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` +
-  R7-vcp ansible_host=`egrep -A 1 "Host R7-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` +
-  P1-vcp ansible_host=`egrep -A 1 "Host P1-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` +
-  DC1-vcp ansible_host=`egrep -A 1 "Host DC1-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` +
-  [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=~/.vagrant.d/insecure_private_key -u vagrant -i ini/hosts -l VMX playbook-vmx.yml +
-  ansible-playbook --private-key=~/.vagrant.d/insecure_private_key -u vagrant -i ini/hosts -l VMX playbook-csr.yml+
network_stuff/juniper/vqfx.1574367837.txt.gz · Last modified: (external edit)