diff --git a/ansible/README.testbed.md b/ansible/README.testbed.md index f7d4d454f4..6fa93a1e82 100644 --- a/ansible/README.testbed.md +++ b/ansible/README.testbed.md @@ -4,6 +4,7 @@ - [Setup](doc/README.testbed.Setup.md) - [Topology](doc/README.testbed.Topology.md) - [Configuration](doc/README.testbed.Config.md) +- [Minigraph](doc/README.testbed.Minigraph.md) - [Command Line](doc/README.testbed.Cli.md) - [Example](doc/README.testbed.Example.md) - [FAQ](doc/README.testbed.FAQ.md) diff --git a/ansible/config_sonic_basedon_testbed.yml b/ansible/config_sonic_basedon_testbed.yml index 97345f3f14..8d732af6cc 100644 --- a/ansible/config_sonic_basedon_testbed.yml +++ b/ansible/config_sonic_basedon_testbed.yml @@ -1,5 +1,5 @@ -# This Playbook run time generate matching configuration file for SONiC switch(Minigraph) based on a specific testbed topology specified in testbed.csv -# When user call testbed-cli to deploy a testbed topology, use this playbook to generate matching SONiC minigraph file and deploy it into SONiC switch under test. +# This Playbook run time generate matching configuration file for SONiC switch(Minigraph) based on a specific testbed topology specified in testbed.csv +# When user call testbed-cli to deploy a testbed topology, use this playbook to generate matching SONiC minigraph file and deploy it into SONiC switch under test. # Or when you know your topology name, you may use this playbook alone to generate a minigraph matching your topology name without deploy it. # # VM Topologies are defined inside of vars/ directory in files vars/topo_{{ topology_name}}.yml @@ -13,12 +13,12 @@ # To generate and deploy minigraph for SONiC switch matching the VM topology please use following command # ansible-playbook -i lab config_sonic_basedon_testbed.yml -l sonic_dut_name -e vm_base=VM0300 -e topo=t0 [-e deploy=true -e save=true] # ansible-playbook -i lab config_sonic_basedon_testbed.yml -l sonic_dut_name -e testbed_name=vms1-1 [-e deploy=true -e save=true] -# + # Parameters # -l str-msn2700-01 - the sonic_dut_name you are going to generate minigraph for # -e vm_base=VM0300 - the VM name which is used to as base to calculate VM name for this set # -e topo=t0 - the name of topology to generate minigraph file -# -e testbed_name=vms1-1 - the testbed name specified in testbed.csv file +# -e testbed_name=vms1-1 - the testbed name specified in testbed.csv file # (if you give 'testbed_name' option, will use info from testbed and ignore topo and vm_base options) # -e deploy=True - if deploy the newly generated minigraph to the targent DUT, default is false if not defined # -e save=True - if save the newly generated minigraph to the targent DUT as starup-config, default is false if not defined @@ -31,12 +31,9 @@ #################################################################################################################################################################################### - hosts: sonic - gather_facts: yes + gather_facts: no tasks: - - fail: msg="need hwsku, interface speed, netmask and interface prefix/postfix defined to generate configuration file" - when: (hwsku is not defined) or (iface_speed is not defined) or (mgmt_subnet_mask_length is not defined) - - block: - name: Gathering testbed information test_facts: testbed_name="{{ testbed_name }}" @@ -55,39 +52,55 @@ when: "testbed_facts['vm_base'] != ''" when: testbed_name is defined + - topo_facts: topo={{ topo }} + connection: local + - set_fact: VM_topo: "{% if 'ptf' in topo %}False{% else %}True{% endif %}" remote_dut: "{{ ansible_ssh_host }}" - template_name: "{{ 't1' if 'ptf' in topo else topo }}" - - testbed_vm_info: base_vm="{{ vm_base }}" topo="{{ topo }}" + - name: gather testbed VM informations + testbed_vm_info: base_vm={{ testbed_facts['vm_base'] }} topo={{ testbed_facts['topo'] }} connection: local - when: VM_topo + when: "VM_topo | bool" - - name: find interface name mapping + - name: find interface name mapping and individual interface speed if defined port_alias: hwsku="{{ hwsku }}" - - - debug: var=port_alias - - - name: save original minigraph file (if original file does not exist, then ignore errors) - shell: mv minigraph/{{ inventory_hostname }}.xml minigraph/{{ inventory_hostname }}.xml.orig connection: local - ignore_errors: true - - name: create minigraph file in minigraph folder - become: true - template: src=templates/topo/{{ template_name }}.j2 - dest=minigraph/{{ inventory_hostname}}.xml + - name: find all enabled host_interfaces + set_fact: + host_if_indexes: "{{ vm_topo_config['host_interfaces'] | difference(vm_topo_config['disabled_host_interfaces']) }}" + + - name: find all vlan interface names for T0 topology + set_fact: + vlan_intfs: "{{ vlan_intfs|default([])}} + ['{{ port_alias[item] }}' ]" + with_items: "{{ host_if_indexes }}" + when: ("'host_interfaces' in vm_topo_config") and ("'tor' in vm_topo_config['dut_type'] | lower") + + - name: find all interface indexes connecting to VM + set_fact: + interface_to_vms: "{{ interface_to_vms|default({}) | combine({ item.key: item.value['interface_indexes'] }) }}" + with_dict: vm_topo_config['vm'] + + - name: find all interface names + set_fact: + intf_names: "{{ intf_names | default({}) | combine({item.key: port_alias[item.value[0]|int:item.value[-1]|int+1] }) }}" + with_dict: interface_to_vms + + - name: create minigraph file in ansible minigraph folder + template: src=templates/minigraph_template.j2 + dest=minigraph/{{ inventory_hostname}}.{{ topo }}.xml connection: local - block: - - name: saved original minigraph file (if original file may don't exist, then ignore errors) + - name: saved original minigraph file in SONiC DUT(ignore errors when file doesnot exist) shell: mv /etc/sonic/minigraph.xml /etc/sonic/minigraph.xml.orig become: true ignore_errors: true - - name: create minigraph file for SONiC device - template: src=templates/topo/{{ template_name }}.j2 + - name: create new minigraph file for SONiC device + template: src=templates/minigraph_template.j2 dest=/etc/sonic/minigraph.xml become: true diff --git a/ansible/doc/README.testbed.Config.md b/ansible/doc/README.testbed.Config.md index 88ead7cbbf..9a03ae9f78 100644 --- a/ansible/doc/README.testbed.Config.md +++ b/ansible/doc/README.testbed.Config.md @@ -14,7 +14,7 @@ - [```ansible/files/lab_connection_graph.xml```](../files/lab_connection_graph.xml): This is the lab graph file for library/conn_graph_facts.py to parse and get all lab fanout switch connections information. If you have only one fanout switch, you may go head manually modify the sample lab_connection_graph.xml file to set bot your fanout leaf and fanout root switch management IP point to the same fanout switch management IP and make sure all DUT and Fanout name and IP are matching your testbed. -- ```ansible/files/creategraph.py```: Helper file helps you generate a lab_connection_graph.xml based on the device file and link file specified above. +- [```ansible/files/creategraph.py```](../files/creategraph.py): Helper file helps you generate a lab_connection_graph.xml based on the device file and link file specified above. Based on ansible_facts, you may write ansible playbooks to deploy fanout switches or run test which requires to know the DUT physical connections to fanout switch @@ -63,44 +63,4 @@ Must be strictly checked in code reviews TODO: check this constraints in testbed-cli.sh -## Generate and load SONiC configuration file -There is an ansible playbook `config_sonic_basedon_testbed.yml` which can help you generate a minigraph for your SONiC testbed based on the topology you specified and load the configuration minigraph.xml to SONiC DUT. - -When user call testbed-cli to deploy a testbed topology, use this playbook to generate matching SONiC minigraph file and deploy it into SONiC switch under test. - -Or when you know your topology name, you may use this playbook alone to generate a minigraph matching your topology name without deploy it. - -VM Topologies are defined inside of vars/ directory in files vars/topo_{{ topology_name}}.yml - -Every topology should have a name to distinct one topology from another on the server - -Every topology contains a ptf container which will be used as placeholder for the injected interfaces from VMs, or direct connections to PTF host - -VMs inventory file is also required to have all VMs ready for generating the minigraph file - -VMs inventory is in file 'veos' - -Template files for generating minigraph.xml are defined in template/topo directory - -`TODO: Create xml graph template files for all available topologies; and create config_db style json configuration files to match all available topologies. No all checked in topologies have the correct xml graph template. T0, T1, T1-lag for 32 ports and t1-lag for 64 ports are supported for now.` - -To generate and deploy minigraph for SONiC switch matching the VM topology please use following command: - -`ansible-playbook -i lab config_sonic_basedon_testbed.yml -l sonic_dut_name -e vm_base=VM0300 -e topo=t0 [-e deploy=true]` - -```Parameters --l str-msn2700-01 - the sonic_dut_name you are going to generate minigraph for --e vm_base=VM0300 - the VM name which is used to as base to calculate VM name for this set --e topo=t0 - the name of topology to generate minigraph file --e deploy=True - if deploy the newly generated minigraph to the targent DUT, default is false if not defined --e save=True - if save the newly generated minigraph to the targent DUT as starup-config, default is false if not defined -``` - -After minigraph.xml is generated, the playbook will replace the original minigraph file under ansible/minigraph/ with the newly generated minigraph file for the SONiC device. - -The playbook will based on deploy=True or False to deside if load the SONiC device with new minigraph or not. -``` -If deploy=true, the playbook will apply the newly generated minigraph to the SONiC switch -If save=true, the playbook will save the newly generated minigraph to SONiC switch as startup-config -``` diff --git a/ansible/doc/README.testbed.Minigraph.md b/ansible/doc/README.testbed.Minigraph.md new file mode 100644 index 0000000000..31de69a558 --- /dev/null +++ b/ansible/doc/README.testbed.Minigraph.md @@ -0,0 +1,38 @@ +# Device Minigraph Generation and Deployment + +Different topologies requires different configuration/minigraph on the DUT. +```testbed-cli.sh gen-mg|deploy-mg``` allows to generate and deploy minigraph to +the DUT based on the topology type. + +Before you run the command, first prepare [inventory](../lab) file and +[testbed.csv](../testbed.csv) file. In the command line, `vms-sn2700-t0` +is the testbed name defined in `testbed.csv`, `lab` is the inventory file. +`password.txt` is the vault password file. + +``` +./testbed-cli.sh deploy-mg vms-sn2700-t0 lab password.txt +``` + +**Note** + +- To configure your SONiC switch with different port speeds, you need to specify port speed in `port_config.ini`. Example [port_config.ini](https://github.com/Azure/sonic-buildimage/blob/master/device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D108C8/port_config.ini). + +## How it works + +The tool works as follows: + +- Read the testbed info from `testbed.csv` using the testbed name. + +- Read the topology information defined in topology file `vars/topo_{{ topology_name}}.yml` + +- Read the VMs information from the `veos` inventory file. + +- Generate minigraph based on minigraph templates in `templates` folder. + +- Deploy minigraph to the DUT. + +- Load the minigraph on DUT. + +- Save the configuration in config db. + +For more details, please refer the comments in [`config_sonic_basedon_testbed.yml`](../config_sonic_basedon_testbed.yml). diff --git a/ansible/lab b/ansible/lab index d1da92aa5c..f2f8d81c48 100644 --- a/ansible/lab +++ b/ansible/lab @@ -1,13 +1,35 @@ -[sonic_mlnx_40] +[sonic_sn2700_40] str-msn2700-01 ansible_host=10.251.0.188 -[sonic_mlnx_40:vars] +[sonic_sn2700_40:vars] hwsku="ACS-MSN2700" iface_speed='40000' -mgmt_subnet_mask_length="24" + +[sonic_s6000] +lab-s6000-01 ansible_host=10.251.0.189 + +[sonic_s6000:vars] +hwsku="Force10-S6000" +iface_speed='40000' + +[sonic_s6100] +lab-s6100-01 ansible_host=10.251.0.190 + +[sonic_s6100:vars] +hwsku="Force10-S6100" +iface_speed='40000' + +[sonic_a7260] +lab-a7260-01 ansible_host=10.251.0.191 hwsku="Arista-7260CX3-D108C8" + +[sonic_a7260:vars] +iface_speed='100000' [sonic:children] -sonic_mlnx_40 +sonic_sn2700_40 +sonic_s6000 +sonic_s6100 +sonic_a7260 [ptf] ptf_ptf1 ansible_host=10.255.0.188 ansible_ssh_user=root ansible_ssh_pass=root @@ -17,6 +39,9 @@ ptf_vms1-1 ansible_host=10.255.0.178 ansible_ssh_user=root ansible_ssh_pass=roo sonic fanout +[lab:vars] +mgmt_subnet_mask_length="24" + [fanout] str-7260-10 ansible_host=10.251.0.13 str-7260-11 ansible_host=10.251.0.234 diff --git a/ansible/library/port_alias.py b/ansible/library/port_alias.py index 4d2495cba0..7a74a090d0 100755 --- a/ansible/library/port_alias.py +++ b/ansible/library/port_alias.py @@ -16,7 +16,7 @@ Minigraph file is using SONiC deivce alias to describe the interface name, it's vendor and and hardware platform dependent This module is used to find the correct port_config.ini for the hwsku and return Ansible ansible_facts.port_alias The definition of this mapping is specified in http://github.com/azure/sonic-buildimage/device - You should build docker-sonic-mgmt from sonic-buildimage and run Ansible from sonic-mgmt docker container + You should build docker-sonic-mgmt from sonic-buildimage and run Ansible from sonic-mgmt docker container Input: hwsku @@ -30,14 +30,21 @@ port_alias: hwsku='ACS-MSN2700' ''' -### TODO: we could eventually use sonic config package to replace this port_alias module later ############### -### Here are the expectation of files of device port_config.ini located, in case changed please modify it here +RETURN = ''' + ansible_facts{ + port_alias: [Ethernet0, Ethernet4, ....], + port_speed: {'Ethernet0':'40000', 'Ethernet4':'40000', ......] + } +''' + +### Here are the expectation of files of device port_config.ini located, in case changed please modify it here FILE_PATH = '/usr/share/sonic/device' PORTMAP_FILE = 'port_config.ini' +ALLOWED_HEADER = ['name', 'lanes', 'alias', 'index', 'speed'] class SonicPortAliasMap(): """ - Retrieve SONiC device interface port alias mapping + Retrieve SONiC device interface port alias mapping and port speed if they are definded """ def __init__(self, hwsku): @@ -48,56 +55,67 @@ def __init__(self, hwsku): def findfile(self): for (rootdir, dirnames, filenames) in os.walk(FILE_PATH, followlinks=True): if self.hwsku == rootdir.split('/')[-1] and len(dirnames) == 0 and PORTMAP_FILE in filenames: - self.filename = rootdir+'/'+PORTMAP_FILE + self.filename = rootdir + '/' + PORTMAP_FILE def get_portmap(self): aliases = [] portmap = {} aliasmap = {} + portspeed = {} self.findfile() if self.filename == '': raise Exception("Something wrong when trying to find the portmap file, either the hwsku is not available or file location is not correct") with open(self.filename) as f: lines = f.readlines() - has_alias=False + alias_index = -1 + speed_index = -1 while len(lines) != 0: line = lines.pop(0) if re.match('^#', line): title=re.sub('#', '', line.strip().lower()).split() - if 'alias' in title: - index = title.index('alias') - has_alias = True - else: + for text in title: + if text in ALLOWED_HEADER: + index = title.index(text) + if 'alias' in text: + alias_index = index + if 'speed' in text: + speed_index = index + else: if re.match('^Ethernet', line): mapping = line.split() name = mapping[0] - if has_alias and len(mapping) > index: - alias = mapping[index] + if alias_index != -1 and len(mapping) > alias_index: + alias = mapping[alias_index] else: alias = name aliases.append(alias) portmap[name] = alias aliasmap[alias] = name + if speed_index != -1: + portspeed[alias] = mapping[speed_index] - return (aliases, portmap, aliasmap) + return (aliases, portmap, aliasmap, portspeed) def main(): module = AnsibleModule( argument_spec=dict( hwsku=dict(required=True, type='str') ), - supports_check_mode=False + supports_check_mode=True ) m_args = module.params try: allmap = SonicPortAliasMap(m_args['hwsku']) - (aliases, portmap, aliasmap) = allmap.get_portmap() - module.exit_json(ansible_facts={'port_alias': aliases, 'port_name_map': portmap, 'port_alias_map': aliasmap}) + (aliases, portmap, aliasmap, portspeed) = allmap.get_portmap() + module.exit_json(ansible_facts={'port_alias': aliases, + 'port_name_map': portmap, + 'port_alias_map': aliasmap, + 'port_speed': portspeed}) except (IOError, OSError), e: fail_msg = "IO error" + str(e) module.fail_json(msg=fail_msg) except Exception, e: - fail_msg = "failed to find the correct port names for "+m_args['hwsku'] + str(e) + fail_msg = "failed to find the correct port config for "+m_args['hwsku'] + str(e) module.fail_json(msg=fail_msg) from ansible.module_utils.basic import * diff --git a/ansible/library/testbed_vm_info.py b/ansible/library/testbed_vm_info.py index c60c7c7069..8882fac84c 100644 --- a/ansible/library/testbed_vm_info.py +++ b/ansible/library/testbed_vm_info.py @@ -76,7 +76,7 @@ def main(): base_vm=dict(required=True, type='str'), topo=dict(required=True, type='str'), ), - supports_check_mode=False + supports_check_mode=True ) m_args = module.params topo_type = m_args['topo'] diff --git a/ansible/library/topo_facts.py b/ansible/library/topo_facts.py new file mode 100644 index 0000000000..15890de810 --- /dev/null +++ b/ansible/library/topo_facts.py @@ -0,0 +1,105 @@ +#!/usr/bin/env python +import os +import traceback +import ipaddr as ipaddress +import csv +from operator import itemgetter +from itertools import groupby +import yaml + +DOCUMENTATION = ''' +module: topo_facts.py +version_added: 2.0.0.2 +short_description: get topology information +options: + - topo: + Description: the topology name + Default: None + required: True +''' + +class ParseTestbedTopoinfo(): + ''' + Parse topology yml file + ''' + def __init__(self): + self.vm_topo_config = {} + + def get_topo_config(self, topo_name): + if 'ptf32' in topo_name: + topo_name = 't1' + if 'ptf64' in topo_name: + topo_name = 't1-64' ###TODO: there is no t1-64 topology checked in yet + topo_filename = 'vars/topo_' + topo_name + '.yml' + vm_topo_config = dict() + + ### read topology definition + if not os.path.isfile(topo_filename): + raise Exception("cannot find topology definition file under vars/topo_%s.yml file!" % topo_name) + else: + with open(topo_filename) as f: + topo_definition = yaml.load(f) + + ### parse topo file specified in vars/ to reverse as dut config + if 'VMs' in topo_definition['topology']: + dut_asn = topo_definition['configuration_properties']['common']['dut_asn'] + vm_topo_config['dut_asn'] = dut_asn + vm_topo_config['dut_type'] = topo_definition['configuration_properties']['common']['dut_type'] + vmconfig = dict() + for vm in topo_definition['topology']['VMs']: + vmconfig[vm] = dict() + vmconfig[vm]['intfs'] = [] + vmconfig[vm]['properties']=topo_definition['configuration'][vm]['properties'] + vmconfig[vm]['interface_indexes'] = topo_definition['topology']['VMs'][vm]['vlans'] + vmconfig[vm]['bgp_asn'] = topo_definition['configuration'][vm]['bgp']['asn'] + for intf in topo_definition['configuration'][vm]['interfaces']: + if 'ipv4' in topo_definition['configuration'][vm]['interfaces'][intf] and ('loopback' not in intf.lower()): + (vmconfig[vm]['peer_ipv4'], vmconfig[vm]['ipv4mask']) = topo_definition['configuration'][vm]['interfaces'][intf]['ipv4'].split('/') + vmconfig[vm]['ip_intf'] = intf + if 'ipv6' in topo_definition['configuration'][vm]['interfaces'][intf] and ('loopback' not in intf.lower()): + (ipv6_addr, vmconfig[vm]['ipv6mask']) = topo_definition['configuration'][vm]['interfaces'][intf]['ipv6'].split('/') + vmconfig[vm]['ip_intf'] = intf + vmconfig[vm]['peer_ipv6'] = ipv6_addr.upper() + if 'Ethernet' in intf: + vmconfig[vm]['intfs'].append(intf) + for ip in topo_definition['configuration'][vm]['bgp']['peers'][dut_asn]: + if ip[0:5].upper() in vmconfig[vm]['peer_ipv4'].upper(): + vmconfig[vm]['bgp_ipv4'] = ip.upper() + if ip[0:5].upper() in vmconfig[vm]['peer_ipv6'].upper(): + vmconfig[vm]['bgp_ipv6'] = ip.upper() + vm_topo_config['vm'] = vmconfig + + if 'host_interfaces' in topo_definition['topology']: + vm_topo_config['host_interfaces'] = topo_definition['topology']['host_interfaces'] + else: + vm_topo_config['host_interfaces'] = [] + + if 'disabled_host_interfaces' in topo_definition['topology']: + vm_topo_config['disabled_host_interfaces'] = topo_definition['topology']['disabled_host_interfaces'] + else: + vm_topo_config['disabled_host_interfaces'] = [] + + self.vm_topo_config = vm_topo_config + return vm_topo_config + +def main(): + module = AnsibleModule( + argument_spec=dict( + topo=dict(required=True, default=None), + ), + supports_check_mode=True + ) + m_args = module.params + topo_name = m_args['topo'] + try: + topoinfo = ParseTestbedTopoinfo() + vm_topo_config = topoinfo.get_topo_config(topo_name) + module.exit_json(ansible_facts={'vm_topo_config': vm_topo_config}) + except (IOError, OSError): + module.fail_json(msg="Can not find topo file for %s" % topo_name) + except Exception as e: + module.fail_json(msg=traceback.format_exc()) + +from ansible.module_utils.basic import * +if __name__== "__main__": + main() diff --git a/ansible/minigraph/lab-a7260-01.t0-116.xml b/ansible/minigraph/lab-a7260-01.t0-116.xml new file mode 100644 index 0000000000..bc62e42b3b --- /dev/null +++ b/ansible/minigraph/lab-a7260-01.t0-116.xml @@ -0,0 +1,2057 @@ + + + + + + false + lab-a7260-01 + 10.0.0.32 + ARISTA01T1 + 10.0.0.33 + 1 + 10 + 3 + + + lab-a7260-01 + FC00::21 + ARISTA01T1 + FC00::22 + 1 + 10 + 3 + + + false + lab-a7260-01 + 10.0.0.34 + ARISTA02T1 + 10.0.0.35 + 1 + 10 + 3 + + + lab-a7260-01 + FC00::25 + ARISTA02T1 + FC00::26 + 1 + 10 + 3 + + + false + lab-a7260-01 + 10.0.0.36 + ARISTA03T1 + 10.0.0.37 + 1 + 10 + 3 + + + lab-a7260-01 + FC00::29 + ARISTA03T1 + FC00::2A + 1 + 10 + 3 + + + false + lab-a7260-01 + 10.0.0.38 + ARISTA04T1 + 10.0.0.39 + 1 + 10 + 3 + + + lab-a7260-01 + FC00::2D + ARISTA04T1 + FC00::2E + 1 + 10 + 3 + + + + + 4200065100 + lab-a7260-01 + + +
10.0.0.33
+ + + +
+ +
10.0.0.35
+ + + +
+ +
10.0.0.37
+ + + +
+ +
10.0.0.39
+ + + +
+ + BGPPeer +
10.1.0.32
+ + + + BGPSLBPassive + 10.255.0.0/25 +
+ + BGPPeer +
10.1.0.32
+ + + + BGPVac + 192.168.0.0/25 +
+
+ +
+ + 4200064600 + ARISTA01T1 + + + + 4200064600 + ARISTA02T1 + + + + 4200064600 + ARISTA03T1 + + + + 4200064600 + ARISTA04T1 + + +
+
+ + + + + + HostIP + Loopback0 + + 10.1.0.32/32 + + 10.1.0.32/32 + + + HostIP1 + Loopback0 + + FC00:1::32/128 + + FC00:1::32/128 + + + + + HostIP + eth0 + + 10.251.0.191/24 + + 10.251.0.191/24 + + + V6HostIP + eth0 + + FC00:2::32/64 + + FC00:2::32/64 + + + + + + + lab-a7260-01 + + + PortChannel0001 + Ethernet13/1;Ethernet13/3 + + + + PortChannel0002 + Ethernet14/1;Ethernet14/3 + + + + PortChannel0003 + Ethernet15/1;Ethernet15/3 + + + + PortChannel0004 + Ethernet16/1;Ethernet16/3 + + + + + + Vlan1000 + Ethernet1/1;Ethernet1/3;Ethernet2/1;Ethernet2/3;Ethernet3/1;Ethernet3/3;Ethernet4/1;Ethernet4/3;Ethernet5/1;Ethernet5/3;Ethernet6/1;Ethernet6/3;Ethernet7/1;Ethernet7/3;Ethernet8/1;Ethernet8/3;Ethernet9/1;Ethernet9/3;Ethernet10/1;Ethernet10/3;Ethernet11/1;Ethernet11/3;Ethernet12/1;Ethernet12/3;Ethernet17/1;Ethernet17/3;Ethernet18/1;Ethernet18/3;Ethernet19/1;Ethernet19/3;Ethernet20/1;Ethernet20/3;Ethernet21/1;Ethernet21/3;Ethernet22/1;Ethernet22/3;Ethernet23/1;Ethernet23/3;Ethernet24/1;Ethernet24/3;Ethernet25/1;Ethernet25/3;Ethernet26/1;Ethernet26/3;Ethernet27/1;Ethernet27/3;Ethernet28/1;Ethernet28/3;Ethernet29/1;Ethernet29/3;Ethernet30/1;Ethernet30/3;Ethernet31/1;Ethernet31/3;Ethernet32/1;Ethernet32/3;Ethernet33/1;Ethernet33/3;Ethernet34/1;Ethernet34/3;Ethernet35/1;Ethernet35/3;Ethernet36/1;Ethernet36/3;Ethernet37/1;Ethernet37/3;Ethernet38/1;Ethernet38/3;Ethernet39/1;Ethernet39/3;Ethernet40/1;Ethernet40/3;Ethernet41/1;Ethernet41/3;Ethernet42/1;Ethernet42/3;Ethernet43/1;Ethernet43/3;Ethernet44/1;Ethernet44/3;Ethernet45/1;Ethernet46/1;Ethernet47/1;Ethernet48/1;Ethernet49/1;Ethernet50/1;Ethernet51/1;Ethernet52/1;Ethernet53/1;Ethernet53/3;Ethernet54/1;Ethernet54/3;Ethernet55/1;Ethernet55/3;Ethernet56/1;Ethernet56/3;Ethernet57/1;Ethernet57/3;Ethernet58/1;Ethernet58/3;Ethernet59/1;Ethernet59/3;Ethernet60/1;Ethernet60/3;Ethernet61/1;Ethernet61/3;Ethernet62/1;Ethernet62/3;Ethernet63/1;Ethernet63/3;Ethernet64/1;Ethernet64/3 + False + 0.0.0.0/0 + + 192.0.0.1;192.0.0.2;192.0.0.3;192.0.0.4 + 1000 + 1000 + 192.168.0.0/21 + + + + + + PortChannel0001 + 10.0.0.32/31 + + + + PortChannel0001 + FC00::21/126 + + + + PortChannel0002 + 10.0.0.34/31 + + + + PortChannel0002 + FC00::25/126 + + + + PortChannel0003 + 10.0.0.36/31 + + + + PortChannel0003 + FC00::29/126 + + + + PortChannel0004 + 10.0.0.38/31 + + + + PortChannel0004 + FC00::2D/126 + + + + Vlan1000 + 192.168.0.1/27 + + + + + + SNMP_ACL + SNMP + SNMP + + + ERSPAN + Everflow + Everflow + + + VTY_LINE + ssh-only + SSH + + + + + + + + + + DeviceInterfaceLink + ARISTA01T1 + Ethernet1 + lab-a7260-01 + Ethernet13/1 + + + DeviceInterfaceLink + ARISTA01T1 + Ethernet2 + lab-a7260-01 + Ethernet13/3 + + + DeviceInterfaceLink + ARISTA02T1 + Ethernet1 + lab-a7260-01 + Ethernet14/1 + + + DeviceInterfaceLink + ARISTA02T1 + Ethernet2 + lab-a7260-01 + Ethernet14/3 + + + DeviceInterfaceLink + ARISTA03T1 + Ethernet1 + lab-a7260-01 + Ethernet15/1 + + + DeviceInterfaceLink + ARISTA03T1 + Ethernet2 + lab-a7260-01 + Ethernet15/3 + + + DeviceInterfaceLink + ARISTA04T1 + Ethernet1 + lab-a7260-01 + Ethernet16/1 + + + DeviceInterfaceLink + ARISTA04T1 + Ethernet2 + lab-a7260-01 + Ethernet16/3 + + + + + lab-a7260-01 + Arista-7260CX3-D108C8 + + 10.251.0.191 + + + + ARISTA04T1 + + 10.250.0.5 + + Arista-VM + + + ARISTA03T1 + + 10.250.0.4 + + Arista-VM + + + ARISTA02T1 + + 10.250.0.3 + + Arista-VM + + + ARISTA01T1 + + 10.250.0.2 + + Arista-VM + + + + + true + + + DeviceInterface + + true + true + 1 + Ethernet1/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet1/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet2/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet2/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet3/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet3/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet4/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet4/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet5/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet5/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet6/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet6/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet7/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet7/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet8/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet8/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet9/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet9/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet10/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet10/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet11/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet11/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet12/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet12/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet13/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet13/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet14/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet14/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet15/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet15/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet16/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet16/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet17/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet17/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet18/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet18/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet19/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet19/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet20/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet20/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet21/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet21/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet22/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet22/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet23/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet23/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet24/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet24/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet25/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet25/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet26/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet26/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet27/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet27/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet28/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet28/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet29/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet29/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet30/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet30/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet31/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet31/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet32/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet32/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet33/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet33/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet34/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet34/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet35/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet35/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet36/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet36/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet37/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet37/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet38/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet38/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet39/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet39/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet40/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet40/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet41/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet41/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet42/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet42/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet43/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet43/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet44/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet44/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet45/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet46/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet47/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet48/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet49/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet50/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet51/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet52/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet53/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet53/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet54/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet54/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet55/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet55/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet56/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet56/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet57/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet57/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet58/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet58/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet59/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet59/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet60/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet60/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet61/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet61/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet62/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet62/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet63/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet63/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet64/1 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet64/3 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet65 + + false + 0 + 0 + 100000 + + + DeviceInterface + + true + true + 1 + Ethernet66 + + false + 0 + 0 + 100000 + + + true + 0 + Arista-7260CX3-D108C8 + + + + + + + lab-a7260-01 + + + DeploymentId + + 1 + + + QosProfile + + Profile0 + + + DhcpResources + + 192.0.0.1;192.0.0.2;192.0.0.3;192.0.0.4 + + + NtpResources + + 10.0.0.1;10.0.0.2 + + + SnmpResources + + 10.0.0.9 + + + SyslogResources + + 10.0.0.5;10.0.0.6 + + + TacacsGroup + + testlab + + + TacacsServer + + 10.0.0.9;10.0.0.8 + + + ForcedMgmtRoutes + + 10.0.0.100/31;10.250.0.8;10.255.0.0/28 + + + ErspanDestinationIpv4 + + 10.0.0.7 + + + + + + + lab-a7260-01 + Arista-7260CX3-D108C8 +
diff --git a/ansible/minigraph/lab-s6000-01.t0.xml b/ansible/minigraph/lab-s6000-01.t0.xml new file mode 100644 index 0000000000..8f3d2b7878 --- /dev/null +++ b/ansible/minigraph/lab-s6000-01.t0.xml @@ -0,0 +1,859 @@ + + + + + + false + lab-s6000-01 + 10.0.0.56 + ARISTA01T1 + 10.0.0.57 + 1 + 10 + 3 + + + lab-s6000-01 + FC00::71 + ARISTA01T1 + FC00::72 + 1 + 10 + 3 + + + false + lab-s6000-01 + 10.0.0.58 + ARISTA02T1 + 10.0.0.59 + 1 + 10 + 3 + + + lab-s6000-01 + FC00::75 + ARISTA02T1 + FC00::76 + 1 + 10 + 3 + + + false + lab-s6000-01 + 10.0.0.60 + ARISTA03T1 + 10.0.0.61 + 1 + 10 + 3 + + + lab-s6000-01 + FC00::79 + ARISTA03T1 + FC00::7A + 1 + 10 + 3 + + + false + lab-s6000-01 + 10.0.0.62 + ARISTA04T1 + 10.0.0.63 + 1 + 10 + 3 + + + lab-s6000-01 + FC00::7D + ARISTA04T1 + FC00::7E + 1 + 10 + 3 + + + + + 65100 + lab-s6000-01 + + +
10.0.0.57
+ + + +
+ +
10.0.0.59
+ + + +
+ +
10.0.0.61
+ + + +
+ +
10.0.0.63
+ + + +
+ + BGPPeer +
10.1.0.32
+ + + + BGPSLBPassive + 10.255.0.0/25 +
+ + BGPPeer +
10.1.0.32
+ + + + BGPVac + 192.168.0.0/25 +
+
+ +
+ + 64600 + ARISTA01T1 + + + + 64600 + ARISTA02T1 + + + + 64600 + ARISTA03T1 + + + + 64600 + ARISTA04T1 + + +
+
+ + + + + + HostIP + Loopback0 + + 10.1.0.32/32 + + 10.1.0.32/32 + + + HostIP1 + Loopback0 + + FC00:1::32/128 + + FC00:1::32/128 + + + + + HostIP + eth0 + + 10.251.0.189/24 + + 10.251.0.189/24 + + + V6HostIP + eth0 + + FC00:2::32/64 + + FC00:2::32/64 + + + + + + + lab-s6000-01 + + + PortChannel0001 + fortyGigE0/112 + + + + PortChannel0002 + fortyGigE0/116 + + + + PortChannel0003 + fortyGigE0/120 + + + + PortChannel0004 + fortyGigE0/124 + + + + + + Vlan1000 + fortyGigE0/4;fortyGigE0/8;fortyGigE0/12;fortyGigE0/16;fortyGigE0/20;fortyGigE0/24;fortyGigE0/28;fortyGigE0/32;fortyGigE0/36;fortyGigE0/40;fortyGigE0/44;fortyGigE0/48;fortyGigE0/52;fortyGigE0/56;fortyGigE0/60;fortyGigE0/64;fortyGigE0/68;fortyGigE0/72;fortyGigE0/76;fortyGigE0/80;fortyGigE0/84;fortyGigE0/88;fortyGigE0/92;fortyGigE0/96 + False + 0.0.0.0/0 + + 192.0.0.1;192.0.0.2;192.0.0.3;192.0.0.4 + 1000 + 1000 + 192.168.0.0/21 + + + + + + PortChannel0001 + 10.0.0.56/31 + + + + PortChannel0001 + FC00::71/126 + + + + PortChannel0002 + 10.0.0.58/31 + + + + PortChannel0002 + FC00::75/126 + + + + PortChannel0003 + 10.0.0.60/31 + + + + PortChannel0003 + FC00::79/126 + + + + PortChannel0004 + 10.0.0.62/31 + + + + PortChannel0004 + FC00::7D/126 + + + + Vlan1000 + 192.168.0.1/27 + + + + + + SNMP_ACL + SNMP + SNMP + + + ERSPAN + Everflow + Everflow + + + VTY_LINE + ssh-only + SSH + + + + + + + + + + DeviceInterfaceLink + ARISTA01T1 + Ethernet1 + lab-s6000-01 + fortyGigE0/112 + + + DeviceInterfaceLink + ARISTA02T1 + Ethernet1 + lab-s6000-01 + fortyGigE0/116 + + + DeviceInterfaceLink + ARISTA03T1 + Ethernet1 + lab-s6000-01 + fortyGigE0/120 + + + DeviceInterfaceLink + ARISTA04T1 + Ethernet1 + lab-s6000-01 + fortyGigE0/124 + + + + + lab-s6000-01 + Force10-S6000 + + 10.251.0.189 + + + + ARISTA04T1 + + 10.250.0.5 + + Arista-VM + + + ARISTA03T1 + + 10.250.0.4 + + Arista-VM + + + ARISTA02T1 + + 10.250.0.3 + + Arista-VM + + + ARISTA01T1 + + 10.250.0.2 + + Arista-VM + + + + + true + + + DeviceInterface + + true + true + 1 + fortyGigE0/0 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/4 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/12 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/16 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/20 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/24 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/28 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/32 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/36 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/40 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/44 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/48 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/52 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/56 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/60 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/64 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/68 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/72 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/76 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/80 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/84 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/88 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/92 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/96 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/100 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/104 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/108 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/112 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/116 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/120 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE0/124 + + false + 0 + 0 + 40000 + + + true + 0 + Force10-S6000 + + + + + + + lab-s6000-01 + + + DeploymentId + + 1 + + + QosProfile + + Profile0 + + + DhcpResources + + 192.0.0.1;192.0.0.2;192.0.0.3;192.0.0.4 + + + NtpResources + + 10.0.0.1;10.0.0.2 + + + SnmpResources + + 10.0.0.9 + + + SyslogResources + + 10.0.0.5;10.0.0.6 + + + TacacsGroup + + testlab + + + TacacsServer + + 10.0.0.9;10.0.0.8 + + + ForcedMgmtRoutes + + 10.0.0.100/31;10.250.0.8;10.255.0.0/28 + + + ErspanDestinationIpv4 + + 10.0.0.7 + + + + + + + lab-s6000-01 + Force10-S6000 +
diff --git a/ansible/minigraph/lab-s6100-01.t0-64.xml b/ansible/minigraph/lab-s6100-01.t0-64.xml new file mode 100644 index 0000000000..b3f640936b --- /dev/null +++ b/ansible/minigraph/lab-s6100-01.t0-64.xml @@ -0,0 +1,1303 @@ + + + + + + false + lab-s6100-01 + 10.0.0.0 + ARISTA01T1 + 10.0.0.1 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::1 + ARISTA01T1 + FC00::2 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.4 + ARISTA02T1 + 10.0.0.5 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::9 + ARISTA02T1 + FC00::A + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.8 + ARISTA03T1 + 10.0.0.9 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::11 + ARISTA03T1 + FC00::12 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.12 + ARISTA04T1 + 10.0.0.13 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::19 + ARISTA04T1 + FC00::1A + 1 + 10 + 3 + + + + + 64601 + lab-s6100-01 + + +
10.0.0.1
+ + + +
+ +
10.0.0.5
+ + + +
+ +
10.0.0.9
+ + + +
+ +
10.0.0.13
+ + + +
+ + BGPPeer +
10.1.0.32
+ + + + BGPSLBPassive + 10.255.0.0/25 +
+ + BGPPeer +
10.1.0.32
+ + + + BGPVac + 192.168.0.0/25 +
+
+ +
+ + 64802 + ARISTA01T1 + + + + 64802 + ARISTA02T1 + + + + 64802 + ARISTA03T1 + + + + 64802 + ARISTA04T1 + + +
+
+ + + + + + HostIP + Loopback0 + + 10.1.0.32/32 + + 10.1.0.32/32 + + + HostIP1 + Loopback0 + + FC00:1::32/128 + + FC00:1::32/128 + + + + + HostIP + eth0 + + 10.251.0.190/24 + + 10.251.0.190/24 + + + V6HostIP + eth0 + + FC00:2::32/64 + + FC00:2::32/64 + + + + + + + lab-s6100-01 + + + PortChannel0001 + fortyGigE1/1/1;fortyGigE1/1/2 + + + + PortChannel0002 + fortyGigE1/1/5;fortyGigE1/1/6 + + + + PortChannel0003 + fortyGigE1/2/1;fortyGigE1/2/2 + + + + PortChannel0004 + fortyGigE1/2/5;fortyGigE1/2/6 + + + + + + Vlan1000 + fortyGigE1/1/7;fortyGigE1/1/8;fortyGigE1/1/9;fortyGigE1/1/10;fortyGigE1/1/11;fortyGigE1/1/12;fortyGigE1/1/13;fortyGigE1/1/14;fortyGigE1/1/15;fortyGigE1/1/16;fortyGigE1/2/7;fortyGigE1/2/8;fortyGigE1/2/9;fortyGigE1/2/10;fortyGigE1/2/11;fortyGigE1/2/12;fortyGigE1/2/13;fortyGigE1/2/14;fortyGigE1/2/15;fortyGigE1/2/16;fortyGigE1/3/1;fortyGigE1/3/5;fortyGigE1/3/6;fortyGigE1/3/7;fortyGigE1/3/8;fortyGigE1/3/9;fortyGigE1/3/10;fortyGigE1/3/11;fortyGigE1/4/1;fortyGigE1/4/5;fortyGigE1/4/6;fortyGigE1/4/7;fortyGigE1/4/8;fortyGigE1/4/9;fortyGigE1/4/10;fortyGigE1/4/11 + False + 0.0.0.0/0 + + 192.0.0.1;192.0.0.2;192.0.0.3;192.0.0.4 + 1000 + 1000 + 192.168.0.0/21 + + + + + + PortChannel0001 + 10.0.0.0/31 + + + + PortChannel0001 + FC00::1/126 + + + + PortChannel0002 + 10.0.0.4/31 + + + + PortChannel0002 + FC00::9/126 + + + + PortChannel0003 + 10.0.0.8/31 + + + + PortChannel0003 + FC00::11/126 + + + + PortChannel0004 + 10.0.0.12/31 + + + + PortChannel0004 + FC00::19/126 + + + + Vlan1000 + 192.168.0.1/27 + + + + + + SNMP_ACL + SNMP + SNMP + + + ERSPAN + Everflow + Everflow + + + VTY_LINE + ssh-only + SSH + + + + + + + + + + DeviceInterfaceLink + ARISTA01T1 + Ethernet1 + lab-s6100-01 + fortyGigE1/1/1 + + + DeviceInterfaceLink + ARISTA01T1 + Ethernet2 + lab-s6100-01 + fortyGigE1/1/2 + + + DeviceInterfaceLink + ARISTA02T1 + Ethernet1 + lab-s6100-01 + fortyGigE1/1/5 + + + DeviceInterfaceLink + ARISTA02T1 + Ethernet2 + lab-s6100-01 + fortyGigE1/1/6 + + + DeviceInterfaceLink + ARISTA03T1 + Ethernet1 + lab-s6100-01 + fortyGigE1/2/1 + + + DeviceInterfaceLink + ARISTA03T1 + Ethernet2 + lab-s6100-01 + fortyGigE1/2/2 + + + DeviceInterfaceLink + ARISTA04T1 + Ethernet1 + lab-s6100-01 + fortyGigE1/2/5 + + + DeviceInterfaceLink + ARISTA04T1 + Ethernet2 + lab-s6100-01 + fortyGigE1/2/6 + + + + + lab-s6100-01 + Force10-S6100 + + 10.251.0.190 + + + + ARISTA04T1 + + 10.250.0.5 + + Arista-VM + + + ARISTA03T1 + + 10.250.0.4 + + Arista-VM + + + ARISTA02T1 + + 10.250.0.3 + + Arista-VM + + + ARISTA01T1 + + 10.250.0.2 + + Arista-VM + + + + + true + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/1 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/2 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/3 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/4 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/5 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/6 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/7 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/9 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/10 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/11 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/12 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/13 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/14 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/15 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/16 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/1 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/2 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/3 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/4 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/5 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/6 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/7 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/9 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/10 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/11 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/12 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/13 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/14 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/15 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/16 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/1 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/2 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/3 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/4 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/5 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/6 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/7 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/9 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/10 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/11 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/12 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/13 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/14 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/15 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/16 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/1 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/2 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/3 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/4 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/5 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/6 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/7 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/9 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/10 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/11 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/12 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/13 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/14 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/15 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/16 + + false + 0 + 0 + 40000 + + + true + 0 + Force10-S6100 + + + + + + + lab-s6100-01 + + + DeploymentId + + 1 + + + QosProfile + + Profile0 + + + DhcpResources + + 192.0.0.1;192.0.0.2;192.0.0.3;192.0.0.4 + + + NtpResources + + 10.0.0.1;10.0.0.2 + + + SnmpResources + + 10.0.0.9 + + + SyslogResources + + 10.0.0.5;10.0.0.6 + + + TacacsGroup + + testlab + + + TacacsServer + + 10.0.0.9;10.0.0.8 + + + ForcedMgmtRoutes + + 10.0.0.100/31;10.250.0.8;10.255.0.0/28 + + + ErspanDestinationIpv4 + + 10.0.0.7 + + + + + + + lab-s6100-01 + Force10-S6100 +
diff --git a/ansible/minigraph/lab-s6100-01.t1-64-lag.xml b/ansible/minigraph/lab-s6100-01.t1-64-lag.xml new file mode 100644 index 0000000000..1daa68b8f8 --- /dev/null +++ b/ansible/minigraph/lab-s6100-01.t1-64-lag.xml @@ -0,0 +1,2449 @@ + + + + + + false + lab-s6100-01 + 10.0.0.32 + ARISTA01T0 + 10.0.0.33 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::41 + ARISTA01T0 + FC00::42 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.0 + ARISTA01T2 + 10.0.0.1 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::1 + ARISTA01T2 + FC00::2 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.34 + ARISTA02T0 + 10.0.0.35 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::45 + ARISTA02T0 + FC00::46 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.36 + ARISTA03T0 + 10.0.0.37 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::49 + ARISTA03T0 + FC00::4A + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.4 + ARISTA03T2 + 10.0.0.5 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::5 + ARISTA03T2 + FC00::6 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.38 + ARISTA04T0 + 10.0.0.39 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::4D + ARISTA04T0 + FC00::4E + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.40 + ARISTA05T0 + 10.0.0.41 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::51 + ARISTA05T0 + FC00::52 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.8 + ARISTA05T2 + 10.0.0.9 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::9 + ARISTA05T2 + FC00::A + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.42 + ARISTA06T0 + 10.0.0.43 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::55 + ARISTA06T0 + FC00::56 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.44 + ARISTA07T0 + 10.0.0.45 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::59 + ARISTA07T0 + FC00::5A + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.12 + ARISTA07T2 + 10.0.0.13 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::D + ARISTA07T2 + FC00::E + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.46 + ARISTA08T0 + 10.0.0.47 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::5D + ARISTA08T0 + FC00::5E + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.48 + ARISTA09T0 + 10.0.0.49 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::61 + ARISTA09T0 + FC00::62 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.50 + ARISTA10T0 + 10.0.0.51 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::65 + ARISTA10T0 + FC00::66 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.52 + ARISTA11T0 + 10.0.0.53 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::69 + ARISTA11T0 + FC00::6A + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.54 + ARISTA12T0 + 10.0.0.55 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::6D + ARISTA12T0 + FC00::6E + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.56 + ARISTA13T0 + 10.0.0.57 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::71 + ARISTA13T0 + FC00::72 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.58 + ARISTA14T0 + 10.0.0.59 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::75 + ARISTA14T0 + FC00::76 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.60 + ARISTA15T0 + 10.0.0.61 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::79 + ARISTA15T0 + FC00::7A + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.62 + ARISTA16T0 + 10.0.0.63 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::7D + ARISTA16T0 + FC00::7E + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.64 + ARISTA17T0 + 10.0.0.65 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::81 + ARISTA17T0 + FC00::82 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.66 + ARISTA18T0 + 10.0.0.67 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::85 + ARISTA18T0 + FC00::86 + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.68 + ARISTA19T0 + 10.0.0.69 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::89 + ARISTA19T0 + FC00::8A + 1 + 10 + 3 + + + false + lab-s6100-01 + 10.0.0.70 + ARISTA20T0 + 10.0.0.71 + 1 + 10 + 3 + + + lab-s6100-01 + FC00::8D + ARISTA20T0 + FC00::8E + 1 + 10 + 3 + + + + + 65100 + lab-s6100-01 + + +
10.0.0.33
+ + + +
+ +
10.0.0.1
+ + + +
+ +
10.0.0.35
+ + + +
+ +
10.0.0.37
+ + + +
+ +
10.0.0.5
+ + + +
+ +
10.0.0.39
+ + + +
+ +
10.0.0.41
+ + + +
+ +
10.0.0.9
+ + + +
+ +
10.0.0.43
+ + + +
+ +
10.0.0.45
+ + + +
+ +
10.0.0.13
+ + + +
+ +
10.0.0.47
+ + + +
+ +
10.0.0.49
+ + + +
+ +
10.0.0.51
+ + + +
+ +
10.0.0.53
+ + + +
+ +
10.0.0.55
+ + + +
+ +
10.0.0.57
+ + + +
+ +
10.0.0.59
+ + + +
+ +
10.0.0.61
+ + + +
+ +
10.0.0.63
+ + + +
+ +
10.0.0.65
+ + + +
+ +
10.0.0.67
+ + + +
+ +
10.0.0.69
+ + + +
+ +
10.0.0.71
+ + + +
+
+ +
+ + 64001 + ARISTA01T0 + + + + 65200 + ARISTA01T2 + + + + 64002 + ARISTA02T0 + + + + 64003 + ARISTA03T0 + + + + 65200 + ARISTA03T2 + + + + 64004 + ARISTA04T0 + + + + 64005 + ARISTA05T0 + + + + 65200 + ARISTA05T2 + + + + 64006 + ARISTA06T0 + + + + 64007 + ARISTA07T0 + + + + 65200 + ARISTA07T2 + + + + 64008 + ARISTA08T0 + + + + 64009 + ARISTA09T0 + + + + 64010 + ARISTA10T0 + + + + 64011 + ARISTA11T0 + + + + 64012 + ARISTA12T0 + + + + 64013 + ARISTA13T0 + + + + 64014 + ARISTA14T0 + + + + 64015 + ARISTA15T0 + + + + 64016 + ARISTA16T0 + + + + 64017 + ARISTA17T0 + + + + 64018 + ARISTA18T0 + + + + 64019 + ARISTA19T0 + + + + 64020 + ARISTA20T0 + + +
+
+ + + + + + HostIP + Loopback0 + + 10.1.0.32/32 + + 10.1.0.32/32 + + + HostIP1 + Loopback0 + + FC00:1::32/128 + + FC00:1::32/128 + + + + + HostIP + eth0 + + 10.251.0.190/24 + + 10.251.0.190/24 + + + V6HostIP + eth0 + + FC00:2::32/64 + + FC00:2::32/64 + + + + + + + lab-s6100-01 + + + PortChannel0001 + fortyGigE1/3/3 + + + + PortChannel0002 + fortyGigE1/1/1;fortyGigE1/1/2 + + + + PortChannel0003 + fortyGigE1/3/5 + + + + PortChannel0004 + fortyGigE1/3/6 + + + + PortChannel0005 + fortyGigE1/1/5;fortyGigE1/1/6 + + + + PortChannel0006 + fortyGigE1/3/7 + + + + PortChannel0007 + fortyGigE1/3/8 + + + + PortChannel0008 + fortyGigE1/2/1;fortyGigE1/2/2 + + + + PortChannel0009 + fortyGigE1/3/11 + + + + PortChannel0010 + fortyGigE1/3/13 + + + + PortChannel0011 + fortyGigE1/2/5;fortyGigE1/2/6 + + + + PortChannel0012 + fortyGigE1/3/14 + + + + PortChannel0013 + fortyGigE1/3/15 + + + + PortChannel0014 + fortyGigE1/3/16 + + + + PortChannel0015 + fortyGigE1/4/3 + + + + PortChannel0016 + fortyGigE1/4/5 + + + + PortChannel0017 + fortyGigE1/4/6 + + + + PortChannel0018 + fortyGigE1/4/7 + + + + PortChannel0019 + fortyGigE1/4/8 + + + + PortChannel0020 + fortyGigE1/4/11 + + + + PortChannel0021 + fortyGigE1/4/13 + + + + PortChannel0022 + fortyGigE1/4/14 + + + + PortChannel0023 + fortyGigE1/4/15 + + + + PortChannel0024 + fortyGigE1/4/16 + + + + + + + + + PortChannel0001 + 10.0.0.32/31 + + + + PortChannel0001 + FC00::41/126 + + + + PortChannel0002 + 10.0.0.0/31 + + + + PortChannel0002 + FC00::1/126 + + + + PortChannel0003 + 10.0.0.34/31 + + + + PortChannel0003 + FC00::45/126 + + + + PortChannel0004 + 10.0.0.36/31 + + + + PortChannel0004 + FC00::49/126 + + + + PortChannel0005 + 10.0.0.4/31 + + + + PortChannel0005 + FC00::5/126 + + + + PortChannel0006 + 10.0.0.38/31 + + + + PortChannel0006 + FC00::4D/126 + + + + PortChannel0007 + 10.0.0.40/31 + + + + PortChannel0007 + FC00::51/126 + + + + PortChannel0008 + 10.0.0.8/31 + + + + PortChannel0008 + FC00::9/126 + + + + PortChannel0009 + 10.0.0.42/31 + + + + PortChannel0009 + FC00::55/126 + + + + PortChannel0010 + 10.0.0.44/31 + + + + PortChannel0010 + FC00::59/126 + + + + PortChannel0011 + 10.0.0.12/31 + + + + PortChannel0011 + FC00::D/126 + + + + PortChannel0012 + 10.0.0.46/31 + + + + PortChannel0012 + FC00::5D/126 + + + + PortChannel0013 + 10.0.0.48/31 + + + + PortChannel0013 + FC00::61/126 + + + + PortChannel0014 + 10.0.0.50/31 + + + + PortChannel0014 + FC00::65/126 + + + + PortChannel0015 + 10.0.0.52/31 + + + + PortChannel0015 + FC00::69/126 + + + + PortChannel0016 + 10.0.0.54/31 + + + + PortChannel0016 + FC00::6D/126 + + + + PortChannel0017 + 10.0.0.56/31 + + + + PortChannel0017 + FC00::71/126 + + + + PortChannel0018 + 10.0.0.58/31 + + + + PortChannel0018 + FC00::75/126 + + + + PortChannel0019 + 10.0.0.60/31 + + + + PortChannel0019 + FC00::79/126 + + + + PortChannel0020 + 10.0.0.62/31 + + + + PortChannel0020 + FC00::7D/126 + + + + PortChannel0021 + 10.0.0.64/31 + + + + PortChannel0021 + FC00::81/126 + + + + PortChannel0022 + 10.0.0.66/31 + + + + PortChannel0022 + FC00::85/126 + + + + PortChannel0023 + 10.0.0.68/31 + + + + PortChannel0023 + FC00::89/126 + + + + PortChannel0024 + 10.0.0.70/31 + + + + PortChannel0024 + FC00::8D/126 + + + + + + SNMP_ACL + SNMP + SNMP + + + ERSPAN + Everflow + Everflow + + + VTY_LINE + ssh-only + SSH + + + + + + + + + + DeviceInterfaceLink + ARISTA01T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/3/3 + + + DeviceInterfaceLink + ARISTA01T2 + Ethernet1 + lab-s6100-01 + fortyGigE1/1/1 + + + DeviceInterfaceLink + ARISTA01T2 + Ethernet2 + lab-s6100-01 + fortyGigE1/1/2 + + + DeviceInterfaceLink + ARISTA02T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/3/5 + + + DeviceInterfaceLink + ARISTA03T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/3/6 + + + DeviceInterfaceLink + ARISTA03T2 + Ethernet1 + lab-s6100-01 + fortyGigE1/1/5 + + + DeviceInterfaceLink + ARISTA03T2 + Ethernet2 + lab-s6100-01 + fortyGigE1/1/6 + + + DeviceInterfaceLink + ARISTA04T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/3/7 + + + DeviceInterfaceLink + ARISTA05T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/3/8 + + + DeviceInterfaceLink + ARISTA05T2 + Ethernet1 + lab-s6100-01 + fortyGigE1/2/1 + + + DeviceInterfaceLink + ARISTA05T2 + Ethernet2 + lab-s6100-01 + fortyGigE1/2/2 + + + DeviceInterfaceLink + ARISTA06T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/3/11 + + + DeviceInterfaceLink + ARISTA07T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/3/13 + + + DeviceInterfaceLink + ARISTA07T2 + Ethernet1 + lab-s6100-01 + fortyGigE1/2/5 + + + DeviceInterfaceLink + ARISTA07T2 + Ethernet2 + lab-s6100-01 + fortyGigE1/2/6 + + + DeviceInterfaceLink + ARISTA08T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/3/14 + + + DeviceInterfaceLink + ARISTA09T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/3/15 + + + DeviceInterfaceLink + ARISTA10T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/3/16 + + + DeviceInterfaceLink + ARISTA11T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/4/3 + + + DeviceInterfaceLink + ARISTA12T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/4/5 + + + DeviceInterfaceLink + ARISTA13T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/4/6 + + + DeviceInterfaceLink + ARISTA14T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/4/7 + + + DeviceInterfaceLink + ARISTA15T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/4/8 + + + DeviceInterfaceLink + ARISTA16T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/4/11 + + + DeviceInterfaceLink + ARISTA17T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/4/13 + + + DeviceInterfaceLink + ARISTA18T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/4/14 + + + DeviceInterfaceLink + ARISTA19T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/4/15 + + + DeviceInterfaceLink + ARISTA20T0 + Ethernet1 + lab-s6100-01 + fortyGigE1/4/16 + + + + + lab-s6100-01 + Force10-S6100 + + 10.251.0.190 + + + + ARISTA16T0 + + 10.250.0.21 + + Arista-VM + + + ARISTA11T0 + + 10.250.0.16 + + Arista-VM + + + ARISTA10T0 + + 10.250.0.15 + + Arista-VM + + + ARISTA17T0 + + 10.250.0.22 + + Arista-VM + + + ARISTA05T0 + + 10.250.0.10 + + Arista-VM + + + ARISTA09T0 + + 10.250.0.14 + + Arista-VM + + + ARISTA06T0 + + 10.250.0.11 + + Arista-VM + + + ARISTA08T0 + + 10.250.0.13 + + Arista-VM + + + ARISTA07T0 + + 10.250.0.12 + + Arista-VM + + + ARISTA07T2 + + 10.250.0.5 + + Arista-VM + + + ARISTA01T2 + + 10.250.0.2 + + Arista-VM + + + ARISTA01T0 + + 10.250.0.6 + + Arista-VM + + + ARISTA05T2 + + 10.250.0.4 + + Arista-VM + + + ARISTA20T0 + + 10.250.0.25 + + Arista-VM + + + ARISTA02T0 + + 10.250.0.7 + + Arista-VM + + + ARISTA03T0 + + 10.250.0.8 + + Arista-VM + + + ARISTA03T2 + + 10.250.0.3 + + Arista-VM + + + ARISTA04T0 + + 10.250.0.9 + + Arista-VM + + + ARISTA18T0 + + 10.250.0.23 + + Arista-VM + + + ARISTA15T0 + + 10.250.0.20 + + Arista-VM + + + ARISTA19T0 + + 10.250.0.24 + + Arista-VM + + + ARISTA14T0 + + 10.250.0.19 + + Arista-VM + + + ARISTA12T0 + + 10.250.0.17 + + Arista-VM + + + ARISTA13T0 + + 10.250.0.18 + + Arista-VM + + + + + true + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/1 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/2 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/3 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/4 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/5 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/6 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/7 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/9 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/10 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/11 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/12 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/13 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/14 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/15 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/1/16 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/1 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/2 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/3 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/4 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/5 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/6 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/7 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/9 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/10 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/11 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/12 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/13 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/14 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/15 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/2/16 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/1 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/2 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/3 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/4 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/5 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/6 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/7 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/9 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/10 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/11 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/12 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/13 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/14 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/15 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/3/16 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/1 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/2 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/3 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/4 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/5 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/6 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/7 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/9 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/10 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/11 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/12 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/13 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/14 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/15 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + fortyGigE1/4/16 + + false + 0 + 0 + 40000 + + + true + 0 + Force10-S6100 + + + + + + + lab-s6100-01 + + + DeploymentId + + 1 + + + QosProfile + + Profile0 + + + DhcpResources + + 192.0.0.1;192.0.0.2;192.0.0.3;192.0.0.4 + + + NtpResources + + 10.0.0.1;10.0.0.2 + + + SnmpResources + + 10.0.0.9 + + + SyslogResources + + 10.0.0.5;10.0.0.6 + + + TacacsGroup + + testlab + + + TacacsServer + + 10.0.0.9;10.0.0.8 + + + ForcedMgmtRoutes + + 10.0.0.100/31;10.250.0.8;10.255.0.0/28 + + + ErspanDestinationIpv4 + + 10.0.0.7 + + + + + + + lab-s6100-01 + Force10-S6100 +
diff --git a/ansible/minigraph/str-msn2700-01.t0.xml b/ansible/minigraph/str-msn2700-01.t0.xml new file mode 100644 index 0000000000..12581604d2 --- /dev/null +++ b/ansible/minigraph/str-msn2700-01.t0.xml @@ -0,0 +1,859 @@ + + + + + + false + str-msn2700-01 + 10.0.0.56 + ARISTA01T1 + 10.0.0.57 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::71 + ARISTA01T1 + FC00::72 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.58 + ARISTA02T1 + 10.0.0.59 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::75 + ARISTA02T1 + FC00::76 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.60 + ARISTA03T1 + 10.0.0.61 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::79 + ARISTA03T1 + FC00::7A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.62 + ARISTA04T1 + 10.0.0.63 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::7D + ARISTA04T1 + FC00::7E + 1 + 10 + 3 + + + + + 65100 + str-msn2700-01 + + +
10.0.0.57
+ + + +
+ +
10.0.0.59
+ + + +
+ +
10.0.0.61
+ + + +
+ +
10.0.0.63
+ + + +
+ + BGPPeer +
10.1.0.32
+ + + + BGPSLBPassive + 10.255.0.0/25 +
+ + BGPPeer +
10.1.0.32
+ + + + BGPVac + 192.168.0.0/25 +
+
+ +
+ + 64600 + ARISTA01T1 + + + + 64600 + ARISTA02T1 + + + + 64600 + ARISTA03T1 + + + + 64600 + ARISTA04T1 + + +
+
+ + + + + + HostIP + Loopback0 + + 10.1.0.32/32 + + 10.1.0.32/32 + + + HostIP1 + Loopback0 + + FC00:1::32/128 + + FC00:1::32/128 + + + + + HostIP + eth0 + + 10.251.0.188/24 + + 10.251.0.188/24 + + + V6HostIP + eth0 + + FC00:2::32/64 + + FC00:2::32/64 + + + + + + + str-msn2700-01 + + + PortChannel0001 + Ethernet112 + + + + PortChannel0002 + Ethernet116 + + + + PortChannel0003 + Ethernet120 + + + + PortChannel0004 + Ethernet124 + + + + + + Vlan1000 + Ethernet4;Ethernet8;Ethernet12;Ethernet16;Ethernet20;Ethernet24;Ethernet28;Ethernet32;Ethernet36;Ethernet40;Ethernet44;Ethernet48;Ethernet52;Ethernet56;Ethernet60;Ethernet64;Ethernet68;Ethernet72;Ethernet76;Ethernet80;Ethernet84;Ethernet88;Ethernet92;Ethernet96 + False + 0.0.0.0/0 + + 192.0.0.1;192.0.0.2;192.0.0.3;192.0.0.4 + 1000 + 1000 + 192.168.0.0/21 + + + + + + PortChannel0001 + 10.0.0.56/31 + + + + PortChannel0001 + FC00::71/126 + + + + PortChannel0002 + 10.0.0.58/31 + + + + PortChannel0002 + FC00::75/126 + + + + PortChannel0003 + 10.0.0.60/31 + + + + PortChannel0003 + FC00::79/126 + + + + PortChannel0004 + 10.0.0.62/31 + + + + PortChannel0004 + FC00::7D/126 + + + + Vlan1000 + 192.168.0.1/27 + + + + + + SNMP_ACL + SNMP + SNMP + + + ERSPAN + Everflow + Everflow + + + VTY_LINE + ssh-only + SSH + + + + + + + + + + DeviceInterfaceLink + ARISTA01T1 + Ethernet1 + str-msn2700-01 + Ethernet112 + + + DeviceInterfaceLink + ARISTA02T1 + Ethernet1 + str-msn2700-01 + Ethernet116 + + + DeviceInterfaceLink + ARISTA03T1 + Ethernet1 + str-msn2700-01 + Ethernet120 + + + DeviceInterfaceLink + ARISTA04T1 + Ethernet1 + str-msn2700-01 + Ethernet124 + + + + + str-msn2700-01 + ACS-MSN2700 + + 10.251.0.188 + + + + ARISTA04T1 + + 10.250.0.5 + + Arista-VM + + + ARISTA03T1 + + 10.250.0.4 + + Arista-VM + + + ARISTA02T1 + + 10.250.0.3 + + Arista-VM + + + ARISTA01T1 + + 10.250.0.2 + + Arista-VM + + + + + true + + + DeviceInterface + + true + true + 1 + Ethernet0 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet4 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet12 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet16 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet20 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet24 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet28 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet32 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet36 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet40 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet44 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet48 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet52 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet56 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet60 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet64 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet68 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet72 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet76 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet80 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet84 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet88 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet92 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet96 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet100 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet104 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet108 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet112 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet116 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet120 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet124 + + false + 0 + 0 + 40000 + + + true + 0 + ACS-MSN2700 + + + + + + + str-msn2700-01 + + + DeploymentId + + 1 + + + QosProfile + + Profile0 + + + DhcpResources + + 192.0.0.1;192.0.0.2;192.0.0.3;192.0.0.4 + + + NtpResources + + 10.0.0.1;10.0.0.2 + + + SnmpResources + + 10.0.0.9 + + + SyslogResources + + 10.0.0.5;10.0.0.6 + + + TacacsGroup + + testlab + + + TacacsServer + + 10.0.0.9;10.0.0.8 + + + ForcedMgmtRoutes + + 10.0.0.100/31;10.250.0.8;10.255.0.0/28 + + + ErspanDestinationIpv4 + + 10.0.0.7 + + + + + + + str-msn2700-01 + ACS-MSN2700 +
diff --git a/ansible/minigraph/str-msn2700-01.t1-lag.xml b/ansible/minigraph/str-msn2700-01.t1-lag.xml new file mode 100644 index 0000000000..1b8e475dca --- /dev/null +++ b/ansible/minigraph/str-msn2700-01.t1-lag.xml @@ -0,0 +1,1981 @@ + + + + + + false + str-msn2700-01 + 10.0.0.32 + ARISTA01T0 + 10.0.0.33 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::41 + ARISTA01T0 + FC00::42 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.0 + ARISTA01T2 + 10.0.0.1 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::1 + ARISTA01T2 + FC00::2 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.34 + ARISTA02T0 + 10.0.0.35 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::45 + ARISTA02T0 + FC00::46 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.36 + ARISTA03T0 + 10.0.0.37 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::49 + ARISTA03T0 + FC00::4A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.4 + ARISTA03T2 + 10.0.0.5 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::9 + ARISTA03T2 + FC00::A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.38 + ARISTA04T0 + 10.0.0.39 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::4D + ARISTA04T0 + FC00::4E + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.40 + ARISTA05T0 + 10.0.0.41 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::51 + ARISTA05T0 + FC00::52 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.8 + ARISTA05T2 + 10.0.0.9 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::11 + ARISTA05T2 + FC00::12 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.42 + ARISTA06T0 + 10.0.0.43 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::55 + ARISTA06T0 + FC00::56 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.44 + ARISTA07T0 + 10.0.0.45 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::59 + ARISTA07T0 + FC00::5A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.12 + ARISTA07T2 + 10.0.0.13 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::19 + ARISTA07T2 + FC00::1A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.46 + ARISTA08T0 + 10.0.0.47 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::5D + ARISTA08T0 + FC00::5E + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.48 + ARISTA09T0 + 10.0.0.49 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::61 + ARISTA09T0 + FC00::62 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.16 + ARISTA09T2 + 10.0.0.17 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::21 + ARISTA09T2 + FC00::22 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.50 + ARISTA10T0 + 10.0.0.51 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::65 + ARISTA10T0 + FC00::66 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.52 + ARISTA11T0 + 10.0.0.53 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::69 + ARISTA11T0 + FC00::6A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.20 + ARISTA11T2 + 10.0.0.21 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::29 + ARISTA11T2 + FC00::2A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.54 + ARISTA12T0 + 10.0.0.55 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::6D + ARISTA12T0 + FC00::6E + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.56 + ARISTA13T0 + 10.0.0.57 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::71 + ARISTA13T0 + FC00::72 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.24 + ARISTA13T2 + 10.0.0.25 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::31 + ARISTA13T2 + FC00::32 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.58 + ARISTA14T0 + 10.0.0.59 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::75 + ARISTA14T0 + FC00::76 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.60 + ARISTA15T0 + 10.0.0.61 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::79 + ARISTA15T0 + FC00::7A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.28 + ARISTA15T2 + 10.0.0.29 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::39 + ARISTA15T2 + FC00::3A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.62 + ARISTA16T0 + 10.0.0.63 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::7D + ARISTA16T0 + FC00::7E + 1 + 10 + 3 + + + + + 65100 + str-msn2700-01 + + +
10.0.0.33
+ + + +
+ +
10.0.0.1
+ + + +
+ +
10.0.0.35
+ + + +
+ +
10.0.0.37
+ + + +
+ +
10.0.0.5
+ + + +
+ +
10.0.0.39
+ + + +
+ +
10.0.0.41
+ + + +
+ +
10.0.0.9
+ + + +
+ +
10.0.0.43
+ + + +
+ +
10.0.0.45
+ + + +
+ +
10.0.0.13
+ + + +
+ +
10.0.0.47
+ + + +
+ +
10.0.0.49
+ + + +
+ +
10.0.0.17
+ + + +
+ +
10.0.0.51
+ + + +
+ +
10.0.0.53
+ + + +
+ +
10.0.0.21
+ + + +
+ +
10.0.0.55
+ + + +
+ +
10.0.0.57
+ + + +
+ +
10.0.0.25
+ + + +
+ +
10.0.0.59
+ + + +
+ +
10.0.0.61
+ + + +
+ +
10.0.0.29
+ + + +
+ +
10.0.0.63
+ + + +
+
+ +
+ + 64001 + ARISTA01T0 + + + + 65200 + ARISTA01T2 + + + + 64002 + ARISTA02T0 + + + + 64003 + ARISTA03T0 + + + + 65200 + ARISTA03T2 + + + + 64004 + ARISTA04T0 + + + + 64005 + ARISTA05T0 + + + + 65200 + ARISTA05T2 + + + + 64006 + ARISTA06T0 + + + + 64007 + ARISTA07T0 + + + + 65200 + ARISTA07T2 + + + + 64008 + ARISTA08T0 + + + + 64009 + ARISTA09T0 + + + + 65200 + ARISTA09T2 + + + + 64010 + ARISTA10T0 + + + + 64011 + ARISTA11T0 + + + + 65200 + ARISTA11T2 + + + + 64012 + ARISTA12T0 + + + + 64013 + ARISTA13T0 + + + + 65200 + ARISTA13T2 + + + + 64014 + ARISTA14T0 + + + + 64015 + ARISTA15T0 + + + + 65200 + ARISTA15T2 + + + + 64016 + ARISTA16T0 + + +
+
+ + + + + + HostIP + Loopback0 + + 10.1.0.32/32 + + 10.1.0.32/32 + + + HostIP1 + Loopback0 + + FC00:1::32/128 + + FC00:1::32/128 + + + + + HostIP + eth0 + + 10.251.0.188/24 + + 10.251.0.188/24 + + + V6HostIP + eth0 + + FC00:2::32/64 + + FC00:2::32/64 + + + + + + + str-msn2700-01 + + + PortChannel0002 + Ethernet0;Ethernet4 + + + + PortChannel0005 + Ethernet8;Ethernet12 + + + + PortChannel0008 + Ethernet16;Ethernet20 + + + + PortChannel0011 + Ethernet24;Ethernet28 + + + + PortChannel0014 + Ethernet32;Ethernet36 + + + + PortChannel0017 + Ethernet40;Ethernet44 + + + + PortChannel0020 + Ethernet48;Ethernet52 + + + + PortChannel0023 + Ethernet56;Ethernet60 + + + + + + + + + Ethernet64 + 10.0.0.32/31 + + + + Ethernet64 + FC00::41/126 + + + + PortChannel0002 + 10.0.0.0/31 + + + + PortChannel0002 + FC00::1/126 + + + + Ethernet68 + 10.0.0.34/31 + + + + Ethernet68 + FC00::45/126 + + + + Ethernet72 + 10.0.0.36/31 + + + + Ethernet72 + FC00::49/126 + + + + PortChannel0005 + 10.0.0.4/31 + + + + PortChannel0005 + FC00::9/126 + + + + Ethernet76 + 10.0.0.38/31 + + + + Ethernet76 + FC00::4D/126 + + + + Ethernet80 + 10.0.0.40/31 + + + + Ethernet80 + FC00::51/126 + + + + PortChannel0008 + 10.0.0.8/31 + + + + PortChannel0008 + FC00::11/126 + + + + Ethernet84 + 10.0.0.42/31 + + + + Ethernet84 + FC00::55/126 + + + + Ethernet88 + 10.0.0.44/31 + + + + Ethernet88 + FC00::59/126 + + + + PortChannel0011 + 10.0.0.12/31 + + + + PortChannel0011 + FC00::19/126 + + + + Ethernet92 + 10.0.0.46/31 + + + + Ethernet92 + FC00::5D/126 + + + + Ethernet96 + 10.0.0.48/31 + + + + Ethernet96 + FC00::61/126 + + + + PortChannel0014 + 10.0.0.16/31 + + + + PortChannel0014 + FC00::21/126 + + + + Ethernet100 + 10.0.0.50/31 + + + + Ethernet100 + FC00::65/126 + + + + Ethernet104 + 10.0.0.52/31 + + + + Ethernet104 + FC00::69/126 + + + + PortChannel0017 + 10.0.0.20/31 + + + + PortChannel0017 + FC00::29/126 + + + + Ethernet108 + 10.0.0.54/31 + + + + Ethernet108 + FC00::6D/126 + + + + Ethernet112 + 10.0.0.56/31 + + + + Ethernet112 + FC00::71/126 + + + + PortChannel0020 + 10.0.0.24/31 + + + + PortChannel0020 + FC00::31/126 + + + + Ethernet116 + 10.0.0.58/31 + + + + Ethernet116 + FC00::75/126 + + + + Ethernet120 + 10.0.0.60/31 + + + + Ethernet120 + FC00::79/126 + + + + PortChannel0023 + 10.0.0.28/31 + + + + PortChannel0023 + FC00::39/126 + + + + Ethernet124 + 10.0.0.62/31 + + + + Ethernet124 + FC00::7D/126 + + + + + + SNMP_ACL + SNMP + SNMP + + + ERSPAN + Everflow + Everflow + + + VTY_LINE + ssh-only + SSH + + + + + + + + + + DeviceInterfaceLink + ARISTA01T0 + Ethernet1 + str-msn2700-01 + Ethernet64 + + + DeviceInterfaceLink + ARISTA01T2 + Ethernet1 + str-msn2700-01 + Ethernet0 + + + DeviceInterfaceLink + ARISTA01T2 + Ethernet2 + str-msn2700-01 + Ethernet4 + + + DeviceInterfaceLink + ARISTA02T0 + Ethernet1 + str-msn2700-01 + Ethernet68 + + + DeviceInterfaceLink + ARISTA03T0 + Ethernet1 + str-msn2700-01 + Ethernet72 + + + DeviceInterfaceLink + ARISTA03T2 + Ethernet1 + str-msn2700-01 + Ethernet8 + + + DeviceInterfaceLink + ARISTA03T2 + Ethernet2 + str-msn2700-01 + Ethernet12 + + + DeviceInterfaceLink + ARISTA04T0 + Ethernet1 + str-msn2700-01 + Ethernet76 + + + DeviceInterfaceLink + ARISTA05T0 + Ethernet1 + str-msn2700-01 + Ethernet80 + + + DeviceInterfaceLink + ARISTA05T2 + Ethernet1 + str-msn2700-01 + Ethernet16 + + + DeviceInterfaceLink + ARISTA05T2 + Ethernet2 + str-msn2700-01 + Ethernet20 + + + DeviceInterfaceLink + ARISTA06T0 + Ethernet1 + str-msn2700-01 + Ethernet84 + + + DeviceInterfaceLink + ARISTA07T0 + Ethernet1 + str-msn2700-01 + Ethernet88 + + + DeviceInterfaceLink + ARISTA07T2 + Ethernet1 + str-msn2700-01 + Ethernet24 + + + DeviceInterfaceLink + ARISTA07T2 + Ethernet2 + str-msn2700-01 + Ethernet28 + + + DeviceInterfaceLink + ARISTA08T0 + Ethernet1 + str-msn2700-01 + Ethernet92 + + + DeviceInterfaceLink + ARISTA09T0 + Ethernet1 + str-msn2700-01 + Ethernet96 + + + DeviceInterfaceLink + ARISTA09T2 + Ethernet1 + str-msn2700-01 + Ethernet32 + + + DeviceInterfaceLink + ARISTA09T2 + Ethernet2 + str-msn2700-01 + Ethernet36 + + + DeviceInterfaceLink + ARISTA10T0 + Ethernet1 + str-msn2700-01 + Ethernet100 + + + DeviceInterfaceLink + ARISTA11T0 + Ethernet1 + str-msn2700-01 + Ethernet104 + + + DeviceInterfaceLink + ARISTA11T2 + Ethernet1 + str-msn2700-01 + Ethernet40 + + + DeviceInterfaceLink + ARISTA11T2 + Ethernet2 + str-msn2700-01 + Ethernet44 + + + DeviceInterfaceLink + ARISTA12T0 + Ethernet1 + str-msn2700-01 + Ethernet108 + + + DeviceInterfaceLink + ARISTA13T0 + Ethernet1 + str-msn2700-01 + Ethernet112 + + + DeviceInterfaceLink + ARISTA13T2 + Ethernet1 + str-msn2700-01 + Ethernet48 + + + DeviceInterfaceLink + ARISTA13T2 + Ethernet2 + str-msn2700-01 + Ethernet52 + + + DeviceInterfaceLink + ARISTA14T0 + Ethernet1 + str-msn2700-01 + Ethernet116 + + + DeviceInterfaceLink + ARISTA15T0 + Ethernet1 + str-msn2700-01 + Ethernet120 + + + DeviceInterfaceLink + ARISTA15T2 + Ethernet1 + str-msn2700-01 + Ethernet56 + + + DeviceInterfaceLink + ARISTA15T2 + Ethernet2 + str-msn2700-01 + Ethernet60 + + + DeviceInterfaceLink + ARISTA16T0 + Ethernet1 + str-msn2700-01 + Ethernet124 + + + + + str-msn2700-01 + ACS-MSN2700 + + 10.251.0.188 + + + + ARISTA16T0 + + 10.250.0.25 + + Arista-VM + + + ARISTA11T0 + + 10.250.0.20 + + Arista-VM + + + ARISTA10T0 + + 10.250.0.19 + + Arista-VM + + + ARISTA11T2 + + 10.250.0.7 + + Arista-VM + + + ARISTA09T2 + + 10.250.0.6 + + Arista-VM + + + ARISTA09T0 + + 10.250.0.18 + + Arista-VM + + + ARISTA06T0 + + 10.250.0.15 + + Arista-VM + + + ARISTA08T0 + + 10.250.0.17 + + Arista-VM + + + ARISTA07T0 + + 10.250.0.16 + + Arista-VM + + + ARISTA07T2 + + 10.250.0.5 + + Arista-VM + + + ARISTA01T2 + + 10.250.0.2 + + Arista-VM + + + ARISTA01T0 + + 10.250.0.10 + + Arista-VM + + + ARISTA05T2 + + 10.250.0.4 + + Arista-VM + + + ARISTA05T0 + + 10.250.0.14 + + Arista-VM + + + ARISTA02T0 + + 10.250.0.11 + + Arista-VM + + + ARISTA03T0 + + 10.250.0.12 + + Arista-VM + + + ARISTA03T2 + + 10.250.0.3 + + Arista-VM + + + ARISTA04T0 + + 10.250.0.13 + + Arista-VM + + + ARISTA15T0 + + 10.250.0.24 + + Arista-VM + + + ARISTA15T2 + + 10.250.0.9 + + Arista-VM + + + ARISTA14T0 + + 10.250.0.23 + + Arista-VM + + + ARISTA12T0 + + 10.250.0.21 + + Arista-VM + + + ARISTA13T2 + + 10.250.0.8 + + Arista-VM + + + ARISTA13T0 + + 10.250.0.22 + + Arista-VM + + + + + true + + + DeviceInterface + + true + true + 1 + Ethernet0 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet4 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet12 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet16 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet20 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet24 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet28 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet32 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet36 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet40 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet44 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet48 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet52 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet56 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet60 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet64 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet68 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet72 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet76 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet80 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet84 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet88 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet92 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet96 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet100 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet104 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet108 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet112 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet116 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet120 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet124 + + false + 0 + 0 + 40000 + + + true + 0 + ACS-MSN2700 + + + + + + + str-msn2700-01 + + + DeploymentId + + 1 + + + QosProfile + + Profile0 + + + DhcpResources + + 192.0.0.1;192.0.0.2;192.0.0.3;192.0.0.4 + + + NtpResources + + 10.0.0.1;10.0.0.2 + + + SnmpResources + + 10.0.0.9 + + + SyslogResources + + 10.0.0.5;10.0.0.6 + + + TacacsGroup + + testlab + + + TacacsServer + + 10.0.0.9;10.0.0.8 + + + ForcedMgmtRoutes + + 10.0.0.100/31;10.250.0.8;10.255.0.0/28 + + + ErspanDestinationIpv4 + + 10.0.0.7 + + + + + + + str-msn2700-01 + ACS-MSN2700 +
diff --git a/ansible/minigraph/str-msn2700-01.t1.xml b/ansible/minigraph/str-msn2700-01.t1.xml new file mode 100644 index 0000000000..44a8d32180 --- /dev/null +++ b/ansible/minigraph/str-msn2700-01.t1.xml @@ -0,0 +1,2317 @@ + + + + + + false + str-msn2700-01 + 10.0.0.32 + ARISTA01T0 + 10.0.0.33 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::41 + ARISTA01T0 + FC00::42 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.0 + ARISTA01T2 + 10.0.0.1 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::1 + ARISTA01T2 + FC00::2 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.34 + ARISTA02T0 + 10.0.0.35 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::45 + ARISTA02T0 + FC00::46 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.2 + ARISTA02T2 + 10.0.0.3 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::5 + ARISTA02T2 + FC00::6 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.36 + ARISTA03T0 + 10.0.0.37 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::49 + ARISTA03T0 + FC00::4A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.4 + ARISTA03T2 + 10.0.0.5 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::9 + ARISTA03T2 + FC00::A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.38 + ARISTA04T0 + 10.0.0.39 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::4D + ARISTA04T0 + FC00::4E + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.6 + ARISTA04T2 + 10.0.0.7 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::D + ARISTA04T2 + FC00::E + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.40 + ARISTA05T0 + 10.0.0.41 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::51 + ARISTA05T0 + FC00::52 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.8 + ARISTA05T2 + 10.0.0.9 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::11 + ARISTA05T2 + FC00::12 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.42 + ARISTA06T0 + 10.0.0.43 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::55 + ARISTA06T0 + FC00::56 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.10 + ARISTA06T2 + 10.0.0.11 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::15 + ARISTA06T2 + FC00::16 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.44 + ARISTA07T0 + 10.0.0.45 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::59 + ARISTA07T0 + FC00::5A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.12 + ARISTA07T2 + 10.0.0.13 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::19 + ARISTA07T2 + FC00::1A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.46 + ARISTA08T0 + 10.0.0.47 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::5D + ARISTA08T0 + FC00::5E + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.14 + ARISTA08T2 + 10.0.0.15 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::1D + ARISTA08T2 + FC00::1E + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.48 + ARISTA09T0 + 10.0.0.49 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::61 + ARISTA09T0 + FC00::62 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.16 + ARISTA09T2 + 10.0.0.17 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::21 + ARISTA09T2 + FC00::22 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.50 + ARISTA10T0 + 10.0.0.51 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::65 + ARISTA10T0 + FC00::66 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.18 + ARISTA10T2 + 10.0.0.19 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::25 + ARISTA10T2 + FC00::26 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.52 + ARISTA11T0 + 10.0.0.53 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::69 + ARISTA11T0 + FC00::6A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.20 + ARISTA11T2 + 10.0.0.21 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::29 + ARISTA11T2 + FC00::2A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.54 + ARISTA12T0 + 10.0.0.55 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::6D + ARISTA12T0 + FC00::6E + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.22 + ARISTA12T2 + 10.0.0.23 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::2D + ARISTA12T2 + FC00::2E + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.56 + ARISTA13T0 + 10.0.0.57 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::71 + ARISTA13T0 + FC00::72 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.24 + ARISTA13T2 + 10.0.0.25 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::31 + ARISTA13T2 + FC00::32 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.58 + ARISTA14T0 + 10.0.0.59 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::75 + ARISTA14T0 + FC00::76 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.26 + ARISTA14T2 + 10.0.0.27 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::35 + ARISTA14T2 + FC00::36 + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.60 + ARISTA15T0 + 10.0.0.61 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::79 + ARISTA15T0 + FC00::7A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.28 + ARISTA15T2 + 10.0.0.29 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::39 + ARISTA15T2 + FC00::3A + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.62 + ARISTA16T0 + 10.0.0.63 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::7D + ARISTA16T0 + FC00::7E + 1 + 10 + 3 + + + false + str-msn2700-01 + 10.0.0.30 + ARISTA16T2 + 10.0.0.31 + 1 + 10 + 3 + + + str-msn2700-01 + FC00::3D + ARISTA16T2 + FC00::3E + 1 + 10 + 3 + + + + + 65100 + str-msn2700-01 + + +
10.0.0.33
+ + + +
+ +
10.0.0.1
+ + + +
+ +
10.0.0.35
+ + + +
+ +
10.0.0.3
+ + + +
+ +
10.0.0.37
+ + + +
+ +
10.0.0.5
+ + + +
+ +
10.0.0.39
+ + + +
+ +
10.0.0.7
+ + + +
+ +
10.0.0.41
+ + + +
+ +
10.0.0.9
+ + + +
+ +
10.0.0.43
+ + + +
+ +
10.0.0.11
+ + + +
+ +
10.0.0.45
+ + + +
+ +
10.0.0.13
+ + + +
+ +
10.0.0.47
+ + + +
+ +
10.0.0.15
+ + + +
+ +
10.0.0.49
+ + + +
+ +
10.0.0.17
+ + + +
+ +
10.0.0.51
+ + + +
+ +
10.0.0.19
+ + + +
+ +
10.0.0.53
+ + + +
+ +
10.0.0.21
+ + + +
+ +
10.0.0.55
+ + + +
+ +
10.0.0.23
+ + + +
+ +
10.0.0.57
+ + + +
+ +
10.0.0.25
+ + + +
+ +
10.0.0.59
+ + + +
+ +
10.0.0.27
+ + + +
+ +
10.0.0.61
+ + + +
+ +
10.0.0.29
+ + + +
+ +
10.0.0.63
+ + + +
+ +
10.0.0.31
+ + + +
+
+ +
+ + 64001 + ARISTA01T0 + + + + 65200 + ARISTA01T2 + + + + 64002 + ARISTA02T0 + + + + 65200 + ARISTA02T2 + + + + 64003 + ARISTA03T0 + + + + 65200 + ARISTA03T2 + + + + 64004 + ARISTA04T0 + + + + 65200 + ARISTA04T2 + + + + 64005 + ARISTA05T0 + + + + 65200 + ARISTA05T2 + + + + 64006 + ARISTA06T0 + + + + 65200 + ARISTA06T2 + + + + 64007 + ARISTA07T0 + + + + 65200 + ARISTA07T2 + + + + 64008 + ARISTA08T0 + + + + 65200 + ARISTA08T2 + + + + 64009 + ARISTA09T0 + + + + 65200 + ARISTA09T2 + + + + 64010 + ARISTA10T0 + + + + 65200 + ARISTA10T2 + + + + 64011 + ARISTA11T0 + + + + 65200 + ARISTA11T2 + + + + 64012 + ARISTA12T0 + + + + 65200 + ARISTA12T2 + + + + 64013 + ARISTA13T0 + + + + 65200 + ARISTA13T2 + + + + 64014 + ARISTA14T0 + + + + 65200 + ARISTA14T2 + + + + 64015 + ARISTA15T0 + + + + 65200 + ARISTA15T2 + + + + 64016 + ARISTA16T0 + + + + 65200 + ARISTA16T2 + + +
+
+ + + + + + HostIP + Loopback0 + + 10.1.0.32/32 + + 10.1.0.32/32 + + + HostIP1 + Loopback0 + + FC00:1::32/128 + + FC00:1::32/128 + + + + + HostIP + eth0 + + 10.251.0.188/24 + + 10.251.0.188/24 + + + V6HostIP + eth0 + + FC00:2::32/64 + + FC00:2::32/64 + + + + + + + str-msn2700-01 + + + + + + + + Ethernet64 + 10.0.0.32/31 + + + + Ethernet64 + FC00::41/126 + + + + Ethernet0 + 10.0.0.0/31 + + + + Ethernet0 + FC00::1/126 + + + + Ethernet68 + 10.0.0.34/31 + + + + Ethernet68 + FC00::45/126 + + + + Ethernet4 + 10.0.0.2/31 + + + + Ethernet4 + FC00::5/126 + + + + Ethernet72 + 10.0.0.36/31 + + + + Ethernet72 + FC00::49/126 + + + + Ethernet8 + 10.0.0.4/31 + + + + Ethernet8 + FC00::9/126 + + + + Ethernet76 + 10.0.0.38/31 + + + + Ethernet76 + FC00::4D/126 + + + + Ethernet12 + 10.0.0.6/31 + + + + Ethernet12 + FC00::D/126 + + + + Ethernet80 + 10.0.0.40/31 + + + + Ethernet80 + FC00::51/126 + + + + Ethernet16 + 10.0.0.8/31 + + + + Ethernet16 + FC00::11/126 + + + + Ethernet84 + 10.0.0.42/31 + + + + Ethernet84 + FC00::55/126 + + + + Ethernet20 + 10.0.0.10/31 + + + + Ethernet20 + FC00::15/126 + + + + Ethernet88 + 10.0.0.44/31 + + + + Ethernet88 + FC00::59/126 + + + + Ethernet24 + 10.0.0.12/31 + + + + Ethernet24 + FC00::19/126 + + + + Ethernet92 + 10.0.0.46/31 + + + + Ethernet92 + FC00::5D/126 + + + + Ethernet28 + 10.0.0.14/31 + + + + Ethernet28 + FC00::1D/126 + + + + Ethernet96 + 10.0.0.48/31 + + + + Ethernet96 + FC00::61/126 + + + + Ethernet32 + 10.0.0.16/31 + + + + Ethernet32 + FC00::21/126 + + + + Ethernet100 + 10.0.0.50/31 + + + + Ethernet100 + FC00::65/126 + + + + Ethernet36 + 10.0.0.18/31 + + + + Ethernet36 + FC00::25/126 + + + + Ethernet104 + 10.0.0.52/31 + + + + Ethernet104 + FC00::69/126 + + + + Ethernet40 + 10.0.0.20/31 + + + + Ethernet40 + FC00::29/126 + + + + Ethernet108 + 10.0.0.54/31 + + + + Ethernet108 + FC00::6D/126 + + + + Ethernet44 + 10.0.0.22/31 + + + + Ethernet44 + FC00::2D/126 + + + + Ethernet112 + 10.0.0.56/31 + + + + Ethernet112 + FC00::71/126 + + + + Ethernet48 + 10.0.0.24/31 + + + + Ethernet48 + FC00::31/126 + + + + Ethernet116 + 10.0.0.58/31 + + + + Ethernet116 + FC00::75/126 + + + + Ethernet52 + 10.0.0.26/31 + + + + Ethernet52 + FC00::35/126 + + + + Ethernet120 + 10.0.0.60/31 + + + + Ethernet120 + FC00::79/126 + + + + Ethernet56 + 10.0.0.28/31 + + + + Ethernet56 + FC00::39/126 + + + + Ethernet124 + 10.0.0.62/31 + + + + Ethernet124 + FC00::7D/126 + + + + Ethernet60 + 10.0.0.30/31 + + + + Ethernet60 + FC00::3D/126 + + + + + + SNMP_ACL + SNMP + SNMP + + + ERSPAN + Everflow + Everflow + + + VTY_LINE + ssh-only + SSH + + + + + + + + + + DeviceInterfaceLink + ARISTA01T0 + Ethernet1 + str-msn2700-01 + Ethernet64 + + + DeviceInterfaceLink + ARISTA01T2 + Ethernet1 + str-msn2700-01 + Ethernet0 + + + DeviceInterfaceLink + ARISTA02T0 + Ethernet1 + str-msn2700-01 + Ethernet68 + + + DeviceInterfaceLink + ARISTA02T2 + Ethernet1 + str-msn2700-01 + Ethernet4 + + + DeviceInterfaceLink + ARISTA03T0 + Ethernet1 + str-msn2700-01 + Ethernet72 + + + DeviceInterfaceLink + ARISTA03T2 + Ethernet1 + str-msn2700-01 + Ethernet8 + + + DeviceInterfaceLink + ARISTA04T0 + Ethernet1 + str-msn2700-01 + Ethernet76 + + + DeviceInterfaceLink + ARISTA04T2 + Ethernet1 + str-msn2700-01 + Ethernet12 + + + DeviceInterfaceLink + ARISTA05T0 + Ethernet1 + str-msn2700-01 + Ethernet80 + + + DeviceInterfaceLink + ARISTA05T2 + Ethernet1 + str-msn2700-01 + Ethernet16 + + + DeviceInterfaceLink + ARISTA06T0 + Ethernet1 + str-msn2700-01 + Ethernet84 + + + DeviceInterfaceLink + ARISTA06T2 + Ethernet1 + str-msn2700-01 + Ethernet20 + + + DeviceInterfaceLink + ARISTA07T0 + Ethernet1 + str-msn2700-01 + Ethernet88 + + + DeviceInterfaceLink + ARISTA07T2 + Ethernet1 + str-msn2700-01 + Ethernet24 + + + DeviceInterfaceLink + ARISTA08T0 + Ethernet1 + str-msn2700-01 + Ethernet92 + + + DeviceInterfaceLink + ARISTA08T2 + Ethernet1 + str-msn2700-01 + Ethernet28 + + + DeviceInterfaceLink + ARISTA09T0 + Ethernet1 + str-msn2700-01 + Ethernet96 + + + DeviceInterfaceLink + ARISTA09T2 + Ethernet1 + str-msn2700-01 + Ethernet32 + + + DeviceInterfaceLink + ARISTA10T0 + Ethernet1 + str-msn2700-01 + Ethernet100 + + + DeviceInterfaceLink + ARISTA10T2 + Ethernet1 + str-msn2700-01 + Ethernet36 + + + DeviceInterfaceLink + ARISTA11T0 + Ethernet1 + str-msn2700-01 + Ethernet104 + + + DeviceInterfaceLink + ARISTA11T2 + Ethernet1 + str-msn2700-01 + Ethernet40 + + + DeviceInterfaceLink + ARISTA12T0 + Ethernet1 + str-msn2700-01 + Ethernet108 + + + DeviceInterfaceLink + ARISTA12T2 + Ethernet1 + str-msn2700-01 + Ethernet44 + + + DeviceInterfaceLink + ARISTA13T0 + Ethernet1 + str-msn2700-01 + Ethernet112 + + + DeviceInterfaceLink + ARISTA13T2 + Ethernet1 + str-msn2700-01 + Ethernet48 + + + DeviceInterfaceLink + ARISTA14T0 + Ethernet1 + str-msn2700-01 + Ethernet116 + + + DeviceInterfaceLink + ARISTA14T2 + Ethernet1 + str-msn2700-01 + Ethernet52 + + + DeviceInterfaceLink + ARISTA15T0 + Ethernet1 + str-msn2700-01 + Ethernet120 + + + DeviceInterfaceLink + ARISTA15T2 + Ethernet1 + str-msn2700-01 + Ethernet56 + + + DeviceInterfaceLink + ARISTA16T0 + Ethernet1 + str-msn2700-01 + Ethernet124 + + + DeviceInterfaceLink + ARISTA16T2 + Ethernet1 + str-msn2700-01 + Ethernet60 + + + + + str-msn2700-01 + ACS-MSN2700 + + 10.251.0.188 + + + + ARISTA16T2 + + 10.250.0.17 + + Arista-VM + + + ARISTA16T0 + + 10.250.0.33 + + Arista-VM + + + ARISTA11T0 + + 10.250.0.28 + + Arista-VM + + + ARISTA10T0 + + 10.250.0.27 + + Arista-VM + + + ARISTA11T2 + + 10.250.0.12 + + Arista-VM + + + ARISTA10T2 + + 10.250.0.11 + + Arista-VM + + + ARISTA09T2 + + 10.250.0.10 + + Arista-VM + + + ARISTA09T0 + + 10.250.0.26 + + Arista-VM + + + ARISTA06T0 + + 10.250.0.23 + + Arista-VM + + + ARISTA06T2 + + 10.250.0.7 + + Arista-VM + + + ARISTA08T2 + + 10.250.0.9 + + Arista-VM + + + ARISTA08T0 + + 10.250.0.25 + + Arista-VM + + + ARISTA07T0 + + 10.250.0.24 + + Arista-VM + + + ARISTA07T2 + + 10.250.0.8 + + Arista-VM + + + ARISTA01T2 + + 10.250.0.2 + + Arista-VM + + + ARISTA01T0 + + 10.250.0.18 + + Arista-VM + + + ARISTA05T2 + + 10.250.0.6 + + Arista-VM + + + ARISTA05T0 + + 10.250.0.22 + + Arista-VM + + + ARISTA02T0 + + 10.250.0.19 + + Arista-VM + + + ARISTA03T0 + + 10.250.0.20 + + Arista-VM + + + ARISTA02T2 + + 10.250.0.3 + + Arista-VM + + + ARISTA03T2 + + 10.250.0.4 + + Arista-VM + + + ARISTA04T2 + + 10.250.0.5 + + Arista-VM + + + ARISTA04T0 + + 10.250.0.21 + + Arista-VM + + + ARISTA15T0 + + 10.250.0.32 + + Arista-VM + + + ARISTA15T2 + + 10.250.0.16 + + Arista-VM + + + ARISTA14T0 + + 10.250.0.31 + + Arista-VM + + + ARISTA14T2 + + 10.250.0.15 + + Arista-VM + + + ARISTA12T2 + + 10.250.0.13 + + Arista-VM + + + ARISTA12T0 + + 10.250.0.29 + + Arista-VM + + + ARISTA13T2 + + 10.250.0.14 + + Arista-VM + + + ARISTA13T0 + + 10.250.0.30 + + Arista-VM + + + + + true + + + DeviceInterface + + true + true + 1 + Ethernet0 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet4 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet8 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet12 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet16 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet20 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet24 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet28 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet32 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet36 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet40 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet44 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet48 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet52 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet56 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet60 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet64 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet68 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet72 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet76 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet80 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet84 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet88 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet92 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet96 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet100 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet104 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet108 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet112 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet116 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet120 + + false + 0 + 0 + 40000 + + + DeviceInterface + + true + true + 1 + Ethernet124 + + false + 0 + 0 + 40000 + + + true + 0 + ACS-MSN2700 + + + + + + + str-msn2700-01 + + + DeploymentId + + 1 + + + QosProfile + + Profile0 + + + DhcpResources + + 192.0.0.1;192.0.0.2;192.0.0.3;192.0.0.4 + + + NtpResources + + 10.0.0.1;10.0.0.2 + + + SnmpResources + + 10.0.0.9 + + + SyslogResources + + 10.0.0.5;10.0.0.6 + + + TacacsGroup + + testlab + + + TacacsServer + + 10.0.0.9;10.0.0.8 + + + ForcedMgmtRoutes + + 10.0.0.100/31;10.250.0.8;10.255.0.0/28 + + + ErspanDestinationIpv4 + + 10.0.0.7 + + + + + + + str-msn2700-01 + ACS-MSN2700 +
diff --git a/ansible/templates/minigraph_cpg.j2 b/ansible/templates/minigraph_cpg.j2 new file mode 100644 index 0000000000..9b1f243781 --- /dev/null +++ b/ansible/templates/minigraph_cpg.j2 @@ -0,0 +1,76 @@ + + + +{% for index in range(vms_number) %} +{% set vm=vms[index] %} +{% if vm_topo_config['vm'][vm]['peer_ipv4'] %} + + false + {{ inventory_hostname }} + {{ vm_topo_config['vm'][vm]['bgp_ipv4'] }} + {{ vm }} + {{ vm_topo_config['vm'][vm]['peer_ipv4'] }} + 1 + 10 + 3 + +{% endif %} +{% if vm_topo_config['vm'][vm]['peer_ipv6'] %} + + {{ inventory_hostname }} + {{ vm_topo_config['vm'][vm]['bgp_ipv6'] }} + {{ vm }} + {{ vm_topo_config['vm'][vm]['peer_ipv6'] }} + 1 + 10 + 3 + +{% endif %} +{% endfor %} + + + + {{ vm_topo_config['dut_asn'] }} + {{ inventory_hostname }} + +{% for index in range(vms_number) %} + +
{{ vm_topo_config['vm'][vms[index]]['peer_ipv4'] }}
+ + + +
+{% endfor %} +{% if 'tor' in vm_topo_config['dut_type'] | lower %} + + BGPPeer +
10.1.0.32
+ + + + BGPSLBPassive + 10.255.0.0/25 +
+ + BGPPeer +
10.1.0.32
+ + + + BGPVac + 192.168.0.0/25 +
+{% endif %} +
+ +
+{% for index in range( vms_number) %} + + {{ vm_topo_config['vm'][vms[index]]['bgp_asn'] }} + {{ vms[index] }} + + +{% endfor %} +
+
+ diff --git a/ansible/templates/minigraph_device.j2 b/ansible/templates/minigraph_device.j2 new file mode 100644 index 0000000000..cfaad98007 --- /dev/null +++ b/ansible/templates/minigraph_device.j2 @@ -0,0 +1,33 @@ + + + true + +{% set num_of_intf = port_alias | length %} +{% for index in range(num_of_intf) %} + + DeviceInterface + + true + true + 1 + {{ port_alias[index] }} + + false + 0 + 0 +{% set speed_option = port_speed | length %} +{% if speed_option == 0 %} + {{ iface_speed }} +{% else %} + {{ port_speed[port_alias[index]] }} +{% endif %} + +{% endfor %} + + true + 0 + {{ hwsku }} + + + + diff --git a/ansible/templates/minigraph_dpg.j2 b/ansible/templates/minigraph_dpg.j2 new file mode 100644 index 0000000000..3a93a886a9 --- /dev/null +++ b/ansible/templates/minigraph_dpg.j2 @@ -0,0 +1,125 @@ + + + + + + HostIP + Loopback0 + + 10.1.0.32/32 + + 10.1.0.32/32 + + + HostIP1 + Loopback0 + + FC00:1::32/128 + + FC00:1::32/128 + + + + + HostIP + eth0 + + {{ ansible_host }}/{{ mgmt_subnet_mask_length }} + + {{ ansible_host }}/{{ mgmt_subnet_mask_length }} + + + V6HostIP + eth0 + + FC00:2::32/64 + + FC00:2::32/64 + + + + + + + {{ inventory_hostname }} + +{% for index in range(vms_number) %} +{% if 'port-channel' in vm_topo_config['vm'][vms[index]]['ip_intf']|lower %} +{% set port_channel_intf=';'.join(intf_names[vms[index]]) %} + + PortChannel{{ ((index+1)|string).zfill(4) }} + {{ port_channel_intf }} + + +{% endif %} +{% endfor %} + + +{% if 'tor' in vm_topo_config['dut_type'] | lower %} +{% set vlan_intf_str=';'.join(vlan_intfs) %} + + Vlan1000 + {{ vlan_intf_str }} + False + 0.0.0.0/0 + +{% set dhcp_servers_str=';'.join(dhcp_servers) %} + {{ dhcp_servers_str }} + 1000 + 1000 + 192.168.0.0/21 + +{% endif %} + + +{% for index in range(vms_number) %} + + +{% if 'port-channel' in vm_topo_config['vm'][vms[index]]['ip_intf']|lower %} + PortChannel{{ ((index+1) |string).zfill(4) }} +{% else %} + {{ port_alias[vm_topo_config['vm'][vms[index]]['interface_indexes'][0]] }} +{% endif %} + {{ vm_topo_config['vm'][vms[index]]['bgp_ipv4'] }}/{{ vm_topo_config['vm'][vms[index]]['ipv4mask'] }} + + + +{% if 'port-channel' in (vm_topo_config['vm'][vms[index]]['ip_intf']|lower) %} + PortChannel{{ ((index+1) |string).zfill(4) }} +{% else %} + {{ port_alias[vm_topo_config['vm'][vms[index]]['interface_indexes'][0]] }} +{% endif %} + {{ vm_topo_config['vm'][vms[index]]['bgp_ipv6'] }}/{{ vm_topo_config['vm'][vms[index]]['ipv6mask'] }} + +{% endfor %} +{% if 'tor' in vm_topo_config['dut_type'] | lower %} + + + Vlan1000 + 192.168.0.1/27 + +{% endif %} + + + + + SNMP_ACL + SNMP + SNMP + + + ERSPAN + Everflow + Everflow + + + VTY_LINE + ssh-only + SSH + + + + + + + diff --git a/ansible/templates/topo/dev_metadata.j2 b/ansible/templates/minigraph_meta.j2 similarity index 73% rename from ansible/templates/topo/dev_metadata.j2 rename to ansible/templates/minigraph_meta.j2 index b20ff7c299..6c23078dd8 100644 --- a/ansible/templates/topo/dev_metadata.j2 +++ b/ansible/templates/minigraph_meta.j2 @@ -1,30 +1,3 @@ - - - true - -{% set num_of_intf = port_alias | length %} -{% for index in range(num_of_intf) %} - - DeviceInterface - - true - true - 1 - {{ port_alias[index] }} - - false - 0 - 0 - {{ iface_speed }} - -{% endfor %} - - true - 0 - {{ hwsku }} - - - {% set syslog_servers_str=';'.join(syslog_servers) %} {% set dhcp_servers_str=';'.join(dhcp_servers) %} @@ -39,60 +12,78 @@ {{ inventory_hostname }} - DhcpResources + DeploymentId - {{ dhcp_servers_str }} + 1 - NtpResources + QosProfile - {{ ntp_servers_str }} + Profile0 +{% if dhcp_servers %} - DeploymentId + DhcpResources - 1 + {{ dhcp_servers_str }} +{% endif %} +{% if ntp_servers %} - QosProfile + NtpResources - Profile0 + {{ ntp_servers_str }} +{% endif %} +{% if radius_servers %} RadiusResources {{ radius_servers_str }} +{% endif %} +{% if snmp_servers %} SnmpResources {{ snmp_servers_str }} +{% endif %} +{% if syslog_servers %} SyslogResources {{ syslog_servers_str }} +{% endif %} +{% if tacacs_group %} TacacsGroup {{ tacacs_group }} +{% endif %} +{% if tacacs_servers %} TacacsServer {{ tacacs_servers_str }} +{% endif %} +{% if forced_mgmt_routes %} ForcedMgmtRoutes {{ forced_mgmt_routes_str }} +{% endif %} +{% if erspan_dest %} ErspanDestinationIpv4 {{ erspan_dest_str }} +{% endif %} diff --git a/ansible/templates/minigraph_png.j2 b/ansible/templates/minigraph_png.j2 new file mode 100644 index 0000000000..7145b9e6c6 --- /dev/null +++ b/ansible/templates/minigraph_png.j2 @@ -0,0 +1,46 @@ + + +{% for index in range(vms_number) %} +{% set vm_intfs=vm_topo_config['vm'][vms[index]]['intfs']|sort %} +{% set dut_intfs=vm_topo_config['vm'][vms[index]]['interface_indexes']|sort %} +{% for if_index in range(vm_intfs | length) %} + + DeviceInterfaceLink + {{ vms[index] }} + {{ vm_intfs[if_index] }} + {{ inventory_hostname }} + {{ port_alias[dut_intfs[if_index]] }} + +{% endfor %} +{% endfor %} + + + + {{ inventory_hostname }} + {{ hwsku }} + + {{ ansible_host }} + + +{% if VM_topo %} +{% for dev in neighbor_eosvm_mgmt %} +{% if 'T1' in dev %} +{% set dev_type = 'LeafRouter' %} +{% elif 'T2' in dev %} +{% set dev_type = 'SpineRouter' %} +{% elif 'T0' in dev %} +{% set dev_type = 'ToRRouter' %} +{% else %} +{% set dev_ytpe = 'Unknown' %} +{% endif %} + + {{ dev }} + + {{ neighbor_eosvm_mgmt[dev] }} + + Arista-VM + +{% endfor %} +{% endif %} + + diff --git a/ansible/templates/minigraph_template.j2 b/ansible/templates/minigraph_template.j2 new file mode 100644 index 0000000000..9cbe62ad20 --- /dev/null +++ b/ansible/templates/minigraph_template.j2 @@ -0,0 +1,11 @@ + +{% set vms=vm_topo_config['vm'].keys() | sort %} +{% set vms_number = vms | length %} +{% include 'minigraph_cpg.j2' %} +{% include 'minigraph_dpg.j2' %} +{% include 'minigraph_png.j2' %} +{% include 'minigraph_device.j2' %} +{% include 'minigraph_meta.j2' %} + {{ inventory_hostname }} + {{ hwsku }} + diff --git a/ansible/templates/topo/t0-64.j2 b/ansible/templates/topo/t0-64.j2 deleted file mode 100644 index 0c8dea0bd3..0000000000 --- a/ansible/templates/topo/t0-64.j2 +++ /dev/null @@ -1,245 +0,0 @@ - - - - -{% for index in range(4) %} - - false - {{ inventory_hostname }} - 10.0.0.{{ index*4 }} - ARISTA0{{ index+1 }}T1 - 10.0.0.{{ index*4 +1 }} - 1 - 10 - 3 - - - {{ inventory_hostname }} - FC00::{{ ('%0x' % (index*8+1)) | upper }} - ARISTA0{{ index+1 }}T1 - FC00::{{ ('%0x' % (index*8+2)) | upper }} - 1 - 10 - 3 - -{% endfor %} - - - - 64601 - {{ inventory_hostname }} - -{% for index in range(4) %} - - BGPPeer -
10.0.0.{{ index*4+1 }}
- - - -
- - BGPPeer -
FC00::{{ ('%0x' % (index*8+2)) | upper }}
- - - -
-{% endfor %} - - BGPPeer -
10.1.0.32
- - - - BGPSLBPassive - 10.255.0.0/27 -
- - BGPPeer -
10.1.0.32
- - - - BGPVac - 192.168.0.0/21 -
-
- -
-{% for index in range(4) %} - - 64802 - ARISTA0{{ index+1 }}T1 - - -{% endfor %} -
-
- - - - - - HostIP - Loopback0 - - 10.1.0.32/32 - - 10.1.0.32/32 - - - HostIP1 - Loopback0 - - FC00:1::32/128 - - FC00:1::32/128 - - - - - HostIP - eth0 - - {{ ansible_host }}/{{ mgmt_subnet_mask_length }} - - {{ ansible_host }}/{{ mgmt_subnet_mask_length }} - - - V6HostIP - eth0 - - FC00:2::32/64 - - FC00:2::32/64 - - - - - - - {{ inventory_hostname }} - -{% for index in range(0,32,16) %} - - PortChannelInterface - PortChannel{{ (index|string).zfill(4) }} - {{ port_alias[index] }};{{ port_alias[index+1] }} - - - - PortChannelInterface - PortChannel{{ ((index+4)|string).zfill(4) }} - {{ port_alias[index+4] }};{{ port_alias[index+5] }} - - -{% endfor %} -{% set dhcp_servers_str=';'.join(dhcp_servers) %} - - - - VlanInterface - Vlan1000 - {{ port_alias[6] }};{{ port_alias[7] }};{{ port_alias[8] }};{{ port_alias[9] }};{{ port_alias[10] }};{{ port_alias[11] }};{{ port_alias[12] }};{{ port_alias[13] }};{{ port_alias[14] }};{{ port_alias[15] }};{{ port_alias[22] }};{{ port_alias[23] }};{{ port_alias[24] }};{{ port_alias[25] }};{{ port_alias[26] }};{{ port_alias[27] }};{{ port_alias[28] }};{{ port_alias[29] }};{{ port_alias[30] }};{{ port_alias[31] }};{{ port_alias[32] }};{{ port_alias[36] }};{{ port_alias[37] }};{{ port_alias[38] }};{{ port_alias[39] }};{{ port_alias[40] }};{{ port_alias[41] }};{{ port_alias[42] }};{{ port_alias[48] }};{{ port_alias[52] }};{{ port_alias[53] }};{{ port_alias[54] }};{{ port_alias[55] }};{{ port_alias[56] }};{{ port_alias[57] }};{{ port_alias[58] }} - False - 0.0.0.0/0 - - {{ dhcp_servers_str }} - 1000 - 1000 - 192.168.0.0/21 - - - -{% for index in range(4) %} -{% set po_index=index*4 if index < 2 else index*4+8 %} - - - PortChannel{{ (po_index|string).zfill(4) }} - 10.0.0.{{ index*4 }}/31 - - - - PortChannel{{ (po_index|string).zfill(4) }} - FC00::{{ ('%0x' % (index*8+1)) | upper }}/126 - -{% endfor %} - - - Vlan1000 - 192.168.0.1/21 - - - - - - - - - - -{% for index in range(2) %} - - DeviceInterfaceLink - ARISTA0{{ index*2+1 }}T1 - Ethernet1 - {{ inventory_hostname }} - {{ port_alias[index*16] }} - - - DeviceInterfaceLink - ARISTA0{{ index*2+1 }}T1 - Ethernet2 - {{ inventory_hostname }} - {{ port_alias[index*16+1] }} - - - DeviceInterfaceLink - ARISTA0{{ index*2+2 }}T1 - Ethernet1 - {{ inventory_hostname }} - {{ port_alias[index*16+4] }} - - - DeviceInterfaceLink - ARISTA0{{ index*2+2 }}T1 - Ethernet2 - {{ inventory_hostname }} - {{ port_alias[index*16+5] }} - -{% endfor %} - - - - {{ inventory_hostname }} - {{ hwsku }} - - {{ ansible_host }} - - -{% if VM_topo %} -{% for dev in neighbor_eosvm_mgmt %} -{% if 'T1' in dev %} -{% set dev_type = 'LeafRouter' %} -{% elif 'T2' in dev %} -{% set dev_type = 'SpineRouter' %} -{% elif 'T0' in dev %} -{% set dev_type = 'TorRouter' %} -{% else %} -{% set dev_ytpe = 'Unknown' %} -{% endif %} - - {{ dev }} - - {{ neighbor_eosvm_mgmt[dev] }} - - Arista-VM - -{% endfor %} -{% endif %} - - -{% include 'dev_metadata.j2' %} - {{ inventory_hostname }} - {{ hwsku }} -
diff --git a/ansible/templates/topo/t0.j2 b/ansible/templates/topo/t0.j2 deleted file mode 100644 index 813db2b7b5..0000000000 --- a/ansible/templates/topo/t0.j2 +++ /dev/null @@ -1,223 +0,0 @@ - - - - -{% for index in range(4) %} - - false - {{ inventory_hostname }} - 10.0.0.{{ 56 + index*2 }} - ARISTA0{{ index+1 }}T1 - 10.0.0.{{ 56 + index*2 +1 }} - 1 - 10 - 3 - - - {{ inventory_hostname }} - FC00::{{ ('%0x' % (113 + index*4)) | upper }} - ARISTA0{{ index+1 }}T1 - FC00::{{ ('%0x' % (113 + index*4 +1)) | upper }} - 1 - 10 - 3 - -{% endfor %} - - - - 65100 - {{ inventory_hostname }} - -{% for index in range(4) %} - -
10.0.0.{{ 57 + index*2 }}
- - - -
-{% endfor %} - - BGPPeer -
10.1.0.32
- - - - BGPSLBPassive - 10.255.0.0/27 -
- - BGPPeer -
10.1.0.32
- - - - BGPVac - 192.168.0.0/27 -
-
- -
-{% for index in range(4) %} - - 64600 - ARISTA0{{ index+1 }}T1 - - -{% endfor %} -
-
- - - - - - HostIP - Loopback0 - - 10.1.0.32/32 - - 10.1.0.32/32 - - - HostIP1 - Loopback0 - - FC00:1::32/128 - - FC00:1::32/128 - - - - - HostIP - eth0 - - {{ ansible_host }}/{{ mgmt_subnet_mask_length }} - - {{ ansible_host }}/{{ mgmt_subnet_mask_length }} - - - V6HostIP - eth0 - - FC00:2::32/64 - - FC00:2::32/64 - - - - - - - {{ inventory_hostname }} - -{% for index in range(4) %} - - PortChannel{{ ((index+1)|string).zfill(4) }} - {{ port_alias[28+index] }} - - -{% endfor %} -{% set dhcp_servers_str=';'.join(dhcp_servers) %} - - - - Vlan1000 - {{ port_alias[1] }};{{ port_alias[2] }};{{ port_alias[3] }};{{ port_alias[4] }};{{ port_alias[5] }};{{ port_alias[6] }};{{ port_alias[7] }};{{ port_alias[8] }};{{ port_alias[9] }};{{ port_alias[10] }};{{ port_alias[11] }};{{ port_alias[12] }};{{ port_alias[13] }};{{ port_alias[14] }};{{ port_alias[15] }};{{ port_alias[16] }};{{ port_alias[17] }};{{ port_alias[18] }};{{ port_alias[19] }};{{ port_alias[20] }};{{ port_alias[21] }};{{ port_alias[22] }};{{ port_alias[23] }};{{ port_alias[24] }} - False - 0.0.0.0/0 - - {{ dhcp_servers_str }} - 1000 - 1000 - 192.168.0.0/27 - - - -{% for index in range(4) %} - - - PortChannel{{ ((index +1)|string).zfill(4) }} - 10.0.0.{{ 56 + index*2 }}/31 - - - - PortChannel{{ ((index +1)|string).zfill(4) }} - FC00::{{ ('%0x' % (113+index*4)) | upper }}/126 - -{% endfor %} - - - Vlan1000 - 192.168.0.1/27 - - - - - - - {% for index in range(4) -%} - PortChannel{{ ((index + 1)|string).zfill(4) }}; - {%- endfor -%} - Vlan1000 - - DataAcl - - - - ERSPAN - - Everflow - - - - - - - - -{% for index in range(4) %} - - DeviceInterfaceLink - ARISTA0{{ index+1 }}T1 - Ethernet1 - {{ inventory_hostname }} - {{ port_alias[28+index] }} - -{% endfor %} - - - - {{ inventory_hostname }} - {{ hwsku }} - - {{ ansible_host }} - - -{% if VM_topo %} -{% for dev in neighbor_eosvm_mgmt %} -{% if 'T1' in dev %} -{% set dev_type = 'LeafRouter' %} -{% elif 'T2' in dev %} -{% set dev_type = 'SpineRouter' %} -{% elif 'T0' in dev %} -{% set dev_type = 'TorRouter' %} -{% else %} -{% set dev_ytpe = 'Unknown' %} -{% endif %} - - {{ dev }} - - {{ neighbor_eosvm_mgmt[dev] }} - - Arista-VM - -{% endfor %} -{% endif %} - - -{% include 'dev_metadata.j2' %} - {{ inventory_hostname }} - {{ hwsku }} -
diff --git a/ansible/templates/topo/t1-64-lag.j2 b/ansible/templates/topo/t1-64-lag.j2 deleted file mode 100644 index 2f4c10f9b2..0000000000 --- a/ansible/templates/topo/t1-64-lag.j2 +++ /dev/null @@ -1,406 +0,0 @@ - - - - -{% for index in range(20) %} - - ARISTA{{ '%02d' % (index + 1) }}T0 - 10.0.0.{{ (32 + index * 2 + 1) }} - {{ inventory_hostname }} - 10.0.0.{{ (32 + index * 2) }} - 1 - 10 - 3 - - - ARISTA{{ '%02d' % (index + 1) }}T0 - FC00::{{ ('%0x' % (65+index*4+1)) | upper }} - {{ inventory_hostname }} - FC00::{{ ('%0x' % (65+index*4)) | upper}} - 1 - 10 - 3 - -{% endfor %} -{% for index in range(2) %} - - {{ inventory_hostname }} - 10.0.0.{{ index * 8 }} - ARISTA{{ '%02d' % (index * 4 + 1) }}T2 - 10.0.0.{{ (index * 8 + 1) }} - 1 - 10 - 3 - - - {{ inventory_hostname }} - FC00::{{ ('%0x' % (index * 8 + 1)) | upper }} - ARISTA{{ '%02d' % (index * 4 + 1) }}T2 - FC00::{{ ('%0x' % (index * 8 + 2)) | upper }} - 1 - 10 - 3 - - - {{ inventory_hostname }} - 10.0.0.{{ index * 8 + 4 }} - ARISTA{{ '%02d' % (index * 4 + 3) }}T2 - 10.0.0.{{ (index * 8 + 5) }} - 1 - 10 - 3 - - - {{ inventory_hostname }} - FC00::{{ ('%0x' % (index * 8 + 5)) | upper }} - ARISTA{{ '%02d' % (index * 4 + 1) }}T2 - FC00::{{ ('%0x' % (index * 8 + 6)) | upper }} - 1 - 10 - 3 - -{% endfor %} - - - - 65100 - {{ inventory_hostname }} - -{% for ip in range(20) %} - -
10.0.0.{{ ip*2+33 }}
- - -
-{% endfor %} -{% for ip in range(0,8,2) %} - -
10.0.0.{{ ip*2+1 }}
- - -
-{% endfor %} -
- -
-{% for i in range(1,21,1) %} - - 640{{ '%02d' % i }} - ARISTA{{ '%02d' % i }}T0 - - -{% endfor %} -{% for i in range(1,9,2) %} - - 65200 - ARISTA{{ '%02d' % i }}T2 - - -{% endfor %} -
-
- - - - - - HostIP - Loopback0 - - 10.1.0.32/32 - - 10.1.0.32/32 - - - HostIP1 - Loopback0 - - FC00:1::32/128 - - FC00:1::32/128 - - - - - HostIP - eth0 - - {{ ansible_host }}/{{ mgmt_subnet_mask_length }} - - {{ ansible_host }}/{{ mgmt_subnet_mask_length }} - - - V6HostIP - eth0 - - FC00:2::32/64 - - FC00:2::32/64 - - - - - - {{ inventory_hostname }} - -{% for index in range(2) %} - - PortChannelInterface - PortChannel{{ index*8 }} - {{ port_alias[index*16] }};{{ port_alias[index*16+1] }} - - - - PortChannelInterface - PortChannel{{ index*8+4 }} - {{ port_alias[index*16+4] }};{{ port_alias[index*16+5] }} - - -{% endfor %} -{% for index in range(4) %} - - PortChannelInterface - PortChannel{{32 + index * 8 + 2}} - {{ port_alias[32 + index * 8 + 2] }} - - - - PortChannelInterface - PortChannel{{32 + index * 8 + 4}} - {{ port_alias[32 + index * 8 + 4]}} - - - - PortChannelInterface - PortChannel{{32 + index * 8 + 5}} - {{ port_alias[32 + index * 8 + 5] }} - - - - PortChannelInterface - PortChannel{{32 + index * 8 + 6}} - {{ port_alias[32 + index * 8 + 6] }} - - - - PortChannelInterface - PortChannel{{32 + index * 8 + 7}} - {{ port_alias[32 + index * 8 + 7] }} - - -{% endfor %} - - - -{% for index in range(2) %} - - IPInterface - - PortChannel{{ index*8 }} - 10.0.0.{{ index*8 }}/31 - - - IPInterface - - PortChannel{{ index*8 }} - FC00::{{ ('%0x' % (index*8+1)) | upper }}/126 - - - IPInterface - - PortChannel{{ index*8+4 }} - 10.0.0.{{ index*8+4 }}/31 - - - IPInterface - - PortChannel{{ index*8+4 }} - FC00::{{ ('%0x' % (index*8+5)) | upper }}/126 - -{% endfor %} -{% for index in range(4) %} - - IPInterface - - PortChannel{{ 32 + index * 8 + 2 }} - 10.0.0.{{ 32 + index * 10 }}/31 - - - IPInterface - - PortChannel{{ 32 + index * 8 + 2 }} - FC00::{{ ('%0x' % (64 + index * 20 + 1)) | upper }}/126 - - - IPInterface - - PortChannel{{ 32 + index * 8 + 4 }} - 10.0.0.{{ 32 + index * 10 + 2}}/31 - - - IPInterface - - PortChannel{{ 32 + index * 8 + 4 }} - FC00::{{ ('%0x' % (64 + index * 20 + 5)) | upper }}/126 - - - IPInterface - - PortChannel{{ 32 + index * 8 + 5 }} - 10.0.0.{{ 32 + index * 10 + 4}}/31 - - - IPInterface - - PortChannel{{ 32 + index * 8 + 5 }} - FC00::{{ ('%0x' % (64 + index * 20 + 9)) | upper }}/126 - - - IPInterface - - PortChannel{{ 32 + index * 8 + 6 }} - 10.0.0.{{ 32 + index * 10 + 6}}/31 - - - IPInterface - - PortChannel{{ 32 + index * 8 + 6 }} - FC00::{{ ('%0x' % (64 + index * 20 + 13)) | upper }}/126 - - - IPInterface - - PortChannel{{ 32 + index * 8 + 7 }} - 10.0.0.{{ 32 + index * 10 + 8}}/31 - - - IPInterface - - PortChannel{{ 32 + index * 8 + 7 }} - FC00::{{ ('%0x' % (64 + index * 20 + 17)) | upper }}/126 - -{% endfor %} - - - - - - {{ port_alias|join(";") }} - - DataAcl - - - - ERSPAN - - Everflow - - - - - - - - -{% for index in range(2) %} - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[index*16] }} - ARISTA{{ '%02d' % (index*4+1) }}T2 - Ethernet1 - - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[index*16+1] }} - ARISTA{{ '%02d' % (index*4+1) }}T2 - Ethernet2 - - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[index*16+4] }} - ARISTA{{ '%02d' % (index*4+3) }}T2 - Ethernet1 - - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[index*16+5] }} - ARISTA{{ '%02d' % (index*4+3) }}T2 - Ethernet2 - -{% endfor %} -{% for index in range(4) %} - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[32+index*8+2] }} - ARISTA{{ '%02d' % (index*5+1) }}T0 - Ethernet1 - - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[32+index*8+4] }} - ARISTA{{ '%02d' % (index*5+2) }}T0 - Ethernet1 - - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[32+index*8+5] }} - ARISTA{{ '%02d' % (index*5+3) }}T0 - Ethernet1 - - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[32+index*8+6] }} - ARISTA{{ '%02d' % (index*5+4) }}T0 - Ethernet1 - - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[32+index*8+7] }} - ARISTA{{ '%02d' % (index*5+5) }}T0 - Ethernet1 - -{% endfor %} - - - - {{ inventory_hostname }} - {{ hwsku }} - - {{ ansible_host }} - - -{% if VM_topo %} -{% for dev in neighbor_eosvm_mgmt.keys()|sort %} -{% if 'T1' in dev %} -{% set dev_type = 'LeafRouter' %} -{% elif 'T2' in dev %} -{% set dev_type = 'SpineRouter' %} -{% elif 'T0' in dev %} -{% set dev_type = 'ToRRouter' %} -{% else %} -{% set dev_type = 'Unknown' %} -{% endif %} - - {{ dev }} - Arista-VM - - {{ neighbor_eosvm_mgmt[dev] }} - - -{% endfor %} -{% endif %} - - -{% include 'dev_metadata.j2' %} - {{ inventory_hostname }} - {{ hwsku }} -
diff --git a/ansible/templates/topo/t1-lag.j2 b/ansible/templates/topo/t1-lag.j2 deleted file mode 100644 index 14d2653acf..0000000000 --- a/ansible/templates/topo/t1-lag.j2 +++ /dev/null @@ -1,251 +0,0 @@ - - - - -{% for index in range(16) %} - - ARISTA{{ '%02d' % (index + 1) }}T0 - 10.0.0.{{ (32 + index * 2 + 1) }} - {{ inventory_hostname }} - 10.0.0.{{ (32 + index * 2) }} - 1 - 10 - 3 - - - ARISTA{{ '%02d' % (index + 1) }}T0 - FC00::{{ ('%0x' % (65+index*4+1)) | upper }} - {{ inventory_hostname }} - FC00::{{ ('%0x' % (65+index*4)) | upper}} - 1 - 10 - 3 - -{% if (index%2)==0 %} - - {{ inventory_hostname }} - 10.0.0.{{ (index*2) }} - ARISTA{{ '%02d' % (index+1) }}T2 - 10.0.0.{{ (index*2+1) }} - 1 - 10 - 3 - - - {{ inventory_hostname }} - FC00::{{ ('%0x' % (index*4 +1)) | upper }} - ARISTA{{ '%02d' % (index+1) }}T2 - FC00::{{ ('%0x' % (index*4+2)) | upper }} - 1 - 10 - 3 - -{% endif %} -{% endfor %} - - - - 65100 - {{ inventory_hostname }} - -{% for ip in range(16) %} - -
10.0.0.{{ ip*2+33 }}
- - -
-{% if (ip%2)==0 %} - -
10.0.0.{{ ip*2+1 }}
- - -
-{% endif %} -{% endfor %} -
- -
-{% for i in range(1,17,1) %} - - 640{{ '%02d' % i }} - ARISTA{{ '%02d' % i }}T0 - - -{% if (i%2)==1 %} - - 65200 - ARISTA{{ '%02d' % i }}T2 - - -{% endif %} -{% endfor %} -
-
- - - - - - HostIP - Loopback0 - - 10.1.0.32/32 - - 10.1.0.32/32 - - - HostIP1 - Loopback0 - - FC00:1::32/128 - - FC00:1::32/128 - - - - - HostIP - eth0 - - {{ ansible_host }}/{{ mgmt_subnet_mask_length }} - - {{ ansible_host }}/{{ mgmt_subnet_mask_length }} - - - V6HostIP - eth0 - - FC00:2::32/64 - - FC00:2::32/64 - - - - - - {{ inventory_hostname }} - -{% for index in range(8) %} - - PortChannelInterface - PortChannel{{ index*8 }} - {{ port_alias[index*2] }};{{ port_alias[index*2+1] }} - - -{% endfor %} - - - -{% for index in range(8) %} - - IPInterface - - PortChannel{{ index*8 }} - 10.0.0.{{ index*4 }}/31 - - - IPInterface - - PortChannel{{ index*8 }} - FC00::{{ ('%0x' % (index*8+1)) | upper }}/126 - -{% endfor %} -{% for index in range(16) %} - - IPInterface - - {{ port_alias[16+index] }} - 10.0.0.{{ 32+index*2 }}/31 - - - IPInterface - - {{ port_alias[16+index] }} - FC00::{{ ('%0x' % (64+index*4 +1)) | upper }}/126 - -{% endfor %} - - - - - - {% for index in range(8) -%} - PortChannel{{ index*8 }}; - {%- endfor -%} - {{ port_alias[16:]|join(";") }} - - DataAcl - - - - ERSPAN - - Everflow - - - - - - - - -{% for index in range(0,16,2) %} - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[index] }} - ARISTA{{ '%02d' % (index+1) }}T2 - Ethernet1 - - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[index+1] }} - ARISTA{{ '%02d' % (index+1) }}T2 - Ethernet2 - -{% endfor %} -{% for index in range(16) %} - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[16+index] }} - ARISTA{{ '%02d' % (index+1) }}T0 - Ethernet1 - -{% endfor %} - - - - {{ inventory_hostname }} - {{ hwsku }} - - {{ ansible_host }} - - -{% if VM_topo %} -{% for dev in neighbor_eosvm_mgmt.keys()|sort %} -{% if 'T1' in dev %} -{% set dev_type = 'LeafRouter' %} -{% elif 'T2' in dev %} -{% set dev_type = 'SpineRouter' %} -{% elif 'T0' in dev %} -{% set dev_type = 'ToRRouter' %} -{% else %} -{% set dev_type = 'Unknown' %} -{% endif %} - - {{ dev }} - Arista-VM - - {{ neighbor_eosvm_mgmt[dev] }} - - -{% endfor %} -{% endif %} - - -{% include 'dev_metadata.j2' %} - {{ inventory_hostname }} - {{ hwsku }} -
diff --git a/ansible/templates/topo/t1.j2 b/ansible/templates/topo/t1.j2 deleted file mode 100644 index e07aad7710..0000000000 --- a/ansible/templates/topo/t1.j2 +++ /dev/null @@ -1,210 +0,0 @@ - - - - -{% for index in range(16) %} - - ARISTA{{ '%02d' % (index + 1) }}T0 - 10.0.0.{{ (32 + index * 2 + 1) }} - {{ inventory_hostname }} - 10.0.0.{{ (32 + index * 2) }} - 1 - 10 - 3 - - - ARISTA{{ '%02d' % (index + 1) }}T0 - FC00::{{ ('%0x' % (65+index*4+1)) | upper }} - {{ inventory_hostname }} - FC00::{{ ('%0x' % (65+index*4)) | upper}} - 1 - 10 - 3 - - - {{ inventory_hostname }} - 10.0.0.{{ (index*2) }} - ARISTA{{ '%02d' % (index+1) }}T2 - 10.0.0.{{ (index*2+1) }} - 1 - 10 - 3 - - - {{ inventory_hostname }} - FC00::{{ ('%0x' % (index*4 +1)) | upper }} - ARISTA{{ '%02d' % (index+1) }}T2 - FC00::{{ ('%0x' % (index*4+2)) | upper }} - 1 - 10 - 3 - -{% endfor %} - - - - 65100 - {{ inventory_hostname }} - -{% for ip in range(1,32,2) %} - -
10.0.0.{{ 32+ip }}
- - -
- -
10.0.0.{{ ip }}
- - -
-{% endfor %} -
- -
-{% for i in range(1,17,1) %} - - 640{{ '%02d' % i }} - ARISTA{{ '%02d' % i }}T0 - - - - 65200 - ARISTA{{ '%02d' % i }}T2 - - -{% endfor %} -
-
- - - - - - HostIP - Loopback0 - - 10.1.0.32/32 - - 10.1.0.32/32 - - - HostIP1 - Loopback0 - - FC00:1::32/128 - - FC00:1::32/128 - - - - - HostIP - eth0 - - {{ ansible_host }}/{{ mgmt_subnet_mask_length }} - - {{ ansible_host }}/{{ mgmt_subnet_mask_length }} - - - V6HostIP - eth0 - - FC00:2::32/64 - - FC00:2::32/64 - - - - - - {{ inventory_hostname }} - - - -{% for index in range(32) %} - - - {{ port_alias[index] }} - 10.0.0.{{ index*2 }}/31 - - - - {{ port_alias[index] }} - FC00::{{ ('%0x' % (index*4 +1)) | upper }}/126 - -{% endfor %} - - - - - - {{ port_alias|join(";") }} - - DataAcl - - - - ERSPAN - - Everflow - - - - - - - - -{% for index in range(16) %} - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[index] }} - ARISTA{{ '%02d' % (index+1) }}T2 - Ethernet1 - -{% endfor %} -{% for index in range(16) %} - - DeviceInterfaceLink - {{ inventory_hostname }} - {{ port_alias[16+index] }} - ARISTA{{ '%02d' % (index+1) }}T0 - Ethernet1 - -{% endfor %} - - - - {{ inventory_hostname }} - {{ hwsku }} - - {{ ansible_host }} - - -{% if VM_topo %} -{% for dev in neighbor_eosvm_mgmt.keys()|sort %} -{% if 'T1' in dev %} -{% set dev_type = 'LeafRouter' %} -{% elif 'T2' in dev %} -{% set dev_type = 'SpineRouter' %} -{% elif 'T0' in dev %} -{% set dev_type = 'ToRRouter' %} -{% else %} -{% set dev_type = 'Unknown' %} -{% endif %} - - {{ dev }} - Arista-VM - - {{ neighbor_eosvm_mgmt[dev] }} - - -{% endfor %} -{% endif %} - - -{% include 'dev_metadata.j2' %} - {{ inventory_hostname }} - {{ hwsku }} -
diff --git a/ansible/testbed-cli.sh b/ansible/testbed-cli.sh index 5a7a5462f8..3aaab0dd25 100755 --- a/ansible/testbed-cli.sh +++ b/ansible/testbed-cli.sh @@ -8,7 +8,7 @@ function usage echo "Usage : $0 { start-vms | stop-vms } server-name vault-password-file" echo "Usage : $0 { add-topo | remove-topo | renumber-topo | connect-topo } topo-name vault-password-file" echo "Usage : $0 { config-vm } topo-name vm-name vault-password-file" - echo "Usage : $0 { gen-mg | deploy-mg } topo-name vault-password-file" + echo "Usage : $0 { gen-mg | deploy-mg | test-mg } topo-name inventory vault-password-file" echo echo "To start VMs on a server: $0 start-vms 'server-name' ~/.password" echo "To stop VMs on a server: $0 stop-vms 'server-name' ~/.password" @@ -116,7 +116,7 @@ function generate_minigraph read_file $1 - ansible-playbook -i lab config_sonic_basedon_testbed.yml --vault-password-file="$2" -l "$dut" -e vm_base="$vm_base" -e topo="$topo" + ansible-playbook -i "$2" config_sonic_basedon_testbed.yml --vault-password-file="$3" -l "$dut" -e testbed_name="$1" -v echo Done } @@ -127,7 +127,18 @@ function deploy_minigraph read_file $1 - 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 + ansible-playbook -i "$2" config_sonic_basedon_testbed.yml --vault-password-file="$3" -l "$dut" -e testbed_name="$1" -e deploy=true -e save=true + + echo Done +} + +function test_minigraph +{ + echo "Test minigraph generation '$1'" + + read_file $1 + + ansible-playbook -i "$2" --diff --connection=local --check config_sonic_basedon_testbed.yml --vault-password-file="$3" -l "$dut" -e testbed_name="$1" echo Done } @@ -172,9 +183,11 @@ case "$1" in ;; config-vm) config_vm $2 $3 $4 ;; - gen-mg) generate_minigraph $2 $3 + gen-mg) generate_minigraph $2 $3 $4 + ;; + deploy-mg) deploy_minigraph $2 $3 $4 ;; - deploy-mg) deploy_minigraph $2 $3 + test-mg) test_minigraph $2 $3 $4 ;; *) usage ;; diff --git a/ansible/testbed.csv b/ansible/testbed.csv index bcb148fcae..a37c64bd40 100644 --- a/ansible/testbed.csv +++ b/ansible/testbed.csv @@ -1,4 +1,9 @@ # conf-name,group-name,topo,ptf_image_name,ptf_ip,server,vm_base,dut,comment ptf1-m,ptf1,ptf32,docker-ptf-sai-mlnx,10.255.0.188/24,server_1,,str-msn2700-01,Tests ptf -vms-t1,vms1-1,t1,docker-ptf-sai-mlnx,10.255.0.178/24,server_1,VM0100,str-msn2700-01,Tests vms -vms-t1-lag,vms1-1,t1-lag,docker-ptf-sai-mlnx,10.255.0.178/24,server_1,VM0100,str-msn2700-01,Tests vms +vms-sn2700-t1,vms1-1,t1,docker-ptf-sai-mlnx,10.255.0.178/24,server_1,VM0100,str-msn2700-01,Tests Mellanox SN2700 vms +vms-sn2700-t1-lag,vms1-1,t1-lag,docker-ptf-sai-mlnx,10.255.0.178/24,server_1,VM0100,str-msn2700-01,Tests Mellanox SN2700 vms +vms-sn2700-t0,vms1-1,t0,docker-ptf-sai-mlnx,10.255.0.178/24,server_1,VM0100,str-msn2700-01,Tests Mellanox SN2700 vms +vms-s6000-t0,vms2-1,t0,docker-ptf-sai-brcm,10.255.0.179/24,server_1,VM0100,lab-s6000-01,Tests Dell S6000 vms +vms-a7260-t0,vms3-1,t0-116,docker-ptf-sai-brcm,10.255.0.180/24,server_1,VM0100,lab-a7260-01,Tests Arista A7260 vms +vms-s6100-t0,vms4-1,t0-64,docker-ptf-sai-brcm,10.255.0.181/24,server_1,VM0100,lab-s6100-01,Tests Dell S6100 vms +vms-s6100-t1,vms4-1,t1-64-lag,docker-ptf-sai-brcm,10.255.0.182/24,server_1,VM0100,lab-s6100-01,Tests Dell S6100 vms diff --git a/ansible/vars/topo_t0-116.yml b/ansible/vars/topo_t0-116.yml index a46dd94a1e..cfd9175443 100644 --- a/ansible/vars/topo_t0-116.yml +++ b/ansible/vars/topo_t0-116.yml @@ -136,6 +136,8 @@ topology: configuration_properties: common: + dut_asn: 4200065100 + dut_type: ToRRouter swrole: leaf podset_number: 200 tor_number: 16 diff --git a/ansible/vars/topo_t0-52.yml b/ansible/vars/topo_t0-52.yml index 837c5f14df..dc419f98fd 100644 --- a/ansible/vars/topo_t0-52.yml +++ b/ansible/vars/topo_t0-52.yml @@ -68,6 +68,8 @@ topology: configuration_properties: common: + dut_asn: 65100 + dut_type: ToRRouter swrole: leaf podset_number: 200 tor_number: 16 diff --git a/ansible/vars/topo_t0-64-32.yml b/ansible/vars/topo_t0-64-32.yml index 60533eb4e5..ead16160e0 100644 --- a/ansible/vars/topo_t0-64-32.yml +++ b/ansible/vars/topo_t0-64-32.yml @@ -48,6 +48,8 @@ topology: configuration_properties: common: + dut_asn: 64601 + dut_type: ToRRouter swrole: leaf podset_number: 200 tor_number: 16 diff --git a/ansible/vars/topo_t0-64.yml b/ansible/vars/topo_t0-64.yml index 7ac7f3dce4..c3316e8e35 100644 --- a/ansible/vars/topo_t0-64.yml +++ b/ansible/vars/topo_t0-64.yml @@ -56,6 +56,27 @@ topology: - 61 - 62 - 63 + disabled_host_interfaces: + - 2 + - 3 + - 18 + - 19 + - 33 + - 34 + - 35 + - 43 + - 44 + - 45 + - 46 + - 47 + - 49 + - 50 + - 51 + - 59 + - 60 + - 61 + - 62 + - 63 VMs: ARISTA01T1: vlans: @@ -80,6 +101,8 @@ topology: configuration_properties: common: + dut_asn: 64601 + dut_type: ToRRouter swrole: leaf podset_number: 200 tor_number: 16 diff --git a/ansible/vars/topo_t0.yml b/ansible/vars/topo_t0.yml index 65ffbd4c4f..df0680e3c2 100644 --- a/ansible/vars/topo_t0.yml +++ b/ansible/vars/topo_t0.yml @@ -28,6 +28,11 @@ topology: - 25 - 26 - 27 + disabled_host_interfaces: + - 0 + - 25 + - 26 + - 27 VMs: ARISTA01T1: vlans: @@ -48,6 +53,8 @@ topology: configuration_properties: common: + dut_asn: 65100 + dut_type: ToRRouter swrole: leaf podset_number: 200 tor_number: 16 diff --git a/ansible/vars/topo_t1-64-lag.yml b/ansible/vars/topo_t1-64-lag.yml index 5749012d0b..b64994d484 100644 --- a/ansible/vars/topo_t1-64-lag.yml +++ b/ansible/vars/topo_t1-64-lag.yml @@ -103,6 +103,8 @@ topology: configuration_properties: common: + dut_asn: 65100 + dut_type: LeafRouter nhipv4: 10.10.246.100 nhipv6: FC0A::C9 spine: diff --git a/ansible/vars/topo_t1-lag.yml b/ansible/vars/topo_t1-lag.yml index 37418e478c..b9c54ff961 100644 --- a/ansible/vars/topo_t1-lag.yml +++ b/ansible/vars/topo_t1-lag.yml @@ -107,6 +107,8 @@ topology: configuration_properties: common: + dut_asn: 65100 + dut_type: LeafRouter nhipv4: 10.10.246.100 nhipv6: FC0A::C9 spine: diff --git a/ansible/vars/topo_t1.yml b/ansible/vars/topo_t1.yml index 4c6ee34824..1dcf210e2e 100644 --- a/ansible/vars/topo_t1.yml +++ b/ansible/vars/topo_t1.yml @@ -131,6 +131,8 @@ topology: configuration_properties: common: + dut_asn: 65100 + dut_type: LeafRouter nhipv4: 10.10.246.100 nhipv6: FC0A::C9 spine: