User Tools

Site Tools


network_stuff:juniper:vmx

This is an old revision of the document!


  • Create interfaces in KVM > VMX-VFP

INSTALLATION:

#!/bin/bash
# This file creates an ini/host files with the names and mgmt values assigned by vagrant so it can be used by   ansible
vagrant ssh-config > ssh-config
echo -e "
[TEST]
R1-vcp ansible_host=`egrep -A 1 "R1-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
R2-vcp ansible_host=`egrep -A 1 "R2-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
R3-vcp ansible_host=`egrep -A 1 "R3-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
R4-vcp ansible_host=`egrep -A 1 "R4-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
R5-vcp ansible_host=`egrep -A 1 "R5-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
R6-vcp ansible_host=`egrep -A 1 "R6-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
R7-vcp ansible_host=`egrep -A 1 "R7-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
";
network_stuff/juniper/vmx.1573938412.txt.gz · Last modified: (external edit)