Skip to content

Instantly share code, notes, and snippets.

@saneax
Created July 8, 2021 13:12
Show Gist options
  • Select an option

  • Save saneax/0c73054ebf3cc2b933ae183c3107fd0b to your computer and use it in GitHub Desktop.

Select an option

Save saneax/0c73054ebf3cc2b933ae183c3107fd0b to your computer and use it in GitHub Desktop.

Revisions

  1. saneax created this gist Jul 8, 2021.
    64 changes: 64 additions & 0 deletions basic_config.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,64 @@
    nfv_private_sw03:
    vlans:
    - start: 80
    end: 80
    interfaces:
    - { description: 'tigon19', iface: 'GigabitEthernet5/0/10', iface_mode: 'access', vlan: '80' }

    nfv_private_sw01:
    vlans:
    - start: 80
    end: 80
    interfaces:
    - { description: 'tigon06', iface: 'GigabitEthernet4/0/6', iface_mode: 'access', vlan: '80' }

    nfv_private_sw02:
    vlans:
    - start: 140
    end: 149
    interfaces:
    # Tigon06 host
    - { description: 'tigon06-p1', iface: 'xe-0/0/32', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon06-p2', iface: 'xe-0/0/33', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon06-p3', iface: 'xe-0/0/34', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon06-p4', iface: 'xe-0/0/35', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon06-p5', iface: 'xe-0/0/36', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon06-p6', iface: 'xe-0/0/37', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon06-p7', iface: 'xe-0/0/38', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon06-p8', iface: 'xe-0/0/39', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }


    nfv_private_sw02:
    vlans:
    - start: 80
    end: 80
    interfaces:
    # Panther05 Vlan 80
    - { description: 'panther05-pci-p1-10G', iface: 'xe-0/0/42', iface_mode: 'access', vlan: '80' }

    # Rack 02 - sw04 : 48 -> is interconnected to sw06 : 49 via 40G QSFP port
    nfv_private_sw04:
    vlans:
    - start: 140
    end: 149
    interfaces:
    # Tigon19 host
    - { description: 'tigon19-p1-10G', iface: 'xe-0/0/32', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon19-p2-10G', iface: 'xe-0/0/33', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon19-p3-10G', iface: 'xe-0/0/34', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon19-p4-10G', iface: 'xe-0/0/35', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon19-p5-10G', iface: 'xe-0/0/36', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon19-p6-10G', iface: 'xe-0/0/37', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon19-p7-10G', iface: 'xe-0/0/38', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }
    - { description: 'tigon19-p8-10G', iface: 'xe-0/0/39', iface_mode: 'trunk', vlan: '140-149', mtu: '9192' }

    # Rack 01 - sw02 : 53 -> is interconnected to sw05 : 4 (rack2) via 40G QSFP
    nfv_private_sw05:
    vlans:
    - start: 180
    end: 185
    interfaces:
    # tigon19 host
    - { description: 'tigon19-nic6-p1', iface: 'ethernet 1/8', iface_mode: 'trunk', vlan: '180-185' }
    - { description: 'tigon19-nic6-p2', iface: 'ethernet 1/12', iface_mode: 'trunk', vlan: '180-185' }