annotations: []
smart_annotations: []
nodes:
  - boot_disk_size: null
    configuration:
      - name: ios_config.txt
        content: |-
          service timestamps debug datetime msec
          service timestamps log datetime msec
          service password-encryption
          service compress-config
          !
          hostname sw2
          !
          boot-start-marker
          boot-end-marker
          !
          !
          vrf definition mgmt
           !
           address-family ipv4
           exit-address-family
          !
          logging console
          enable secret 5 $1$AOUh$MWZ6QutOyEdtNlCbgvF04.
          !
          username cisco password 7 14141B180F0B
          aaa new-model
          !
          aaa authentication login default local
          aaa authorization exec default local
          !
          aaa session-id common
          clock timezone EST -5 0
          clock summer-time EDT recurring
          !
          ip domain-name example.com
          ip cef
          no ipv6 cef
          !
          spanning-tree mode pvst
          spanning-tree extend system-id
          !
          interface GigabitEthernet3/3
           no switchport
           vrf forwarding mgmt
           ip address 192.168.254.2 255.255.255.0
           negotiation auto
          !
          ip forward-protocol nd
          !
          ip http server
          ip http secure-server
          !
          ip ssh version 2
          ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
          ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
          control-plane
          !
          line con 0
           exec-timeout 0 0
          line aux 0
          line vty 0 4
           exec-timeout 0 0
           password 7 070C285F4D06
           transport input ssh
          !
          end
    cpu_limit: null
    cpus: null
    data_volume: null
    hide_links: false
    id: n0
    image_definition: null
    label: sw2
    node_definition: iosvl2
    parameters: {}
    ram: null
    tags: []
    x: -520
    y: 0
    interfaces:
      - id: i0
        label: Loopback0
        mac_address: null
        type: loopback
      - id: i1
        label: GigabitEthernet0/0
        mac_address: null
        type: physical
        slot: 0
      - id: i2
        label: GigabitEthernet0/1
        mac_address: null
        type: physical
        slot: 1
      - id: i3
        label: GigabitEthernet0/2
        mac_address: null
        type: physical
        slot: 2
      - id: i4
        label: GigabitEthernet0/3
        mac_address: null
        type: physical
        slot: 3
      - id: i5
        label: GigabitEthernet1/0
        mac_address: null
        type: physical
        slot: 4
      - id: i6
        label: GigabitEthernet1/1
        mac_address: null
        type: physical
        slot: 5
      - id: i7
        label: GigabitEthernet1/2
        mac_address: null
        type: physical
        slot: 6
      - id: i8
        label: GigabitEthernet1/3
        mac_address: null
        type: physical
        slot: 7
      - id: i9
        label: GigabitEthernet2/0
        mac_address: null
        type: physical
        slot: 8
      - id: i10
        label: GigabitEthernet2/1
        mac_address: null
        type: physical
        slot: 9
      - id: i11
        label: GigabitEthernet2/2
        mac_address: null
        type: physical
        slot: 10
      - id: i12
        label: GigabitEthernet2/3
        mac_address: null
        type: physical
        slot: 11
      - id: i13
        label: GigabitEthernet3/0
        mac_address: null
        type: physical
        slot: 12
      - id: i14
        label: GigabitEthernet3/1
        mac_address: null
        type: physical
        slot: 13
      - id: i15
        label: GigabitEthernet3/2
        mac_address: null
        type: physical
        slot: 14
      - id: i16
        label: GigabitEthernet3/3
        mac_address: null
        type: physical
        slot: 15
  - boot_disk_size: null
    configuration:
      - name: ios_config.txt
        content: |-
          service timestamps debug datetime msec
          service timestamps log datetime msec
          service password-encryption
          service compress-config
          !
          hostname sw3
          !
          boot-start-marker
          boot-end-marker
          !
          !
          vrf definition mgmt
           !
           address-family ipv4
           exit-address-family
          !
          logging console
          enable secret 5 $1$AOUh$MWZ6QutOyEdtNlCbgvF04.
          !
          username cisco password 7 14141B180F0B
          aaa new-model
          !
          aaa authentication login default local
          aaa authorization exec default local
          !
          aaa session-id common
          clock timezone EST -5 0
          clock summer-time EDT recurring
          !
          ip domain-name example.com
          ip cef
          no ipv6 cef
          !
          spanning-tree mode pvst
          spanning-tree extend system-id
          !
          interface GigabitEthernet3/3
           no switchport
           vrf forwarding mgmt
           ip address 192.168.254.3 255.255.255.0
           negotiation auto
          !
          ip forward-protocol nd
          !
          ip http server
          ip http secure-server
          !
          ip ssh version 2
          ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
          ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
          control-plane
          !
          line con 0
           exec-timeout 0 0
          line aux 0
          line vty 0 4
           exec-timeout 0 0
           password 7 070C285F4D06
           transport input ssh
          !
          end
    cpu_limit: null
    cpus: null
    data_volume: null
    hide_links: false
    id: n1
    image_definition: null
    label: sw3
    node_definition: iosvl2
    parameters: {}
    ram: null
    tags: []
    x: -520
    y: 160
    interfaces:
      - id: i0
        label: Loopback0
        mac_address: null
        type: loopback
      - id: i1
        label: GigabitEthernet0/0
        mac_address: null
        type: physical
        slot: 0
      - id: i2
        label: GigabitEthernet0/1
        mac_address: null
        type: physical
        slot: 1
      - id: i3
        label: GigabitEthernet0/2
        mac_address: null
        type: physical
        slot: 2
      - id: i4
        label: GigabitEthernet0/3
        mac_address: null
        type: physical
        slot: 3
      - id: i5
        label: GigabitEthernet1/0
        mac_address: null
        type: physical
        slot: 4
      - id: i6
        label: GigabitEthernet1/1
        mac_address: null
        type: physical
        slot: 5
      - id: i7
        label: GigabitEthernet1/2
        mac_address: null
        type: physical
        slot: 6
      - id: i8
        label: GigabitEthernet1/3
        mac_address: null
        type: physical
        slot: 7
      - id: i9
        label: GigabitEthernet2/0
        mac_address: null
        type: physical
        slot: 8
      - id: i10
        label: GigabitEthernet2/1
        mac_address: null
        type: physical
        slot: 9
      - id: i11
        label: GigabitEthernet2/2
        mac_address: null
        type: physical
        slot: 10
      - id: i12
        label: GigabitEthernet2/3
        mac_address: null
        type: physical
        slot: 11
      - id: i13
        label: GigabitEthernet3/0
        mac_address: null
        type: physical
        slot: 12
      - id: i14
        label: GigabitEthernet3/1
        mac_address: null
        type: physical
        slot: 13
      - id: i15
        label: GigabitEthernet3/2
        mac_address: null
        type: physical
        slot: 14
      - id: i16
        label: GigabitEthernet3/3
        mac_address: null
        type: physical
        slot: 15
  - boot_disk_size: null
    configuration:
      - name: ios_config.txt
        content: |-
          service timestamps debug datetime msec
          service timestamps log datetime msec
          service password-encryption
          service compress-config
          !
          hostname sw1
          !
          boot-start-marker
          boot-end-marker
          !
          !
          vrf definition mgmt
           !
           address-family ipv4
           exit-address-family
          !
          logging console
          enable secret 5 $1$AOUh$MWZ6QutOyEdtNlCbgvF04.
          !
          username cisco password 7 14141B180F0B
          aaa new-model
          !
          aaa authentication login default local
          aaa authorization exec default local
          !
          aaa session-id common
          clock timezone EST -5 0
          clock summer-time EDT recurring
          !
          ip domain-name example.com
          ip cef
          no ipv6 cef
          !
          spanning-tree mode pvst
          spanning-tree extend system-id
          !
          interface GigabitEthernet3/3
           no switchport
           vrf forwarding mgmt
           ip address 192.168.254.1 255.255.255.0
           negotiation auto
          !
          ip forward-protocol nd
          !
          ip http server
          ip http secure-server
          !
          ip ssh version 2
          ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
          ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
          control-plane
          !
          line con 0
           exec-timeout 0 0
          line aux 0
          line vty 0 4
           exec-timeout 0 0
           password 7 070C285F4D06
           transport input ssh
          !
          end
    cpu_limit: null
    cpus: null
    data_volume: null
    hide_links: false
    id: n2
    image_definition: null
    label: sw1
    node_definition: iosvl2
    parameters: {}
    ram: null
    tags: []
    x: -520
    y: -160
    interfaces:
      - id: i0
        label: Loopback0
        mac_address: null
        type: loopback
      - id: i1
        label: GigabitEthernet0/0
        mac_address: null
        type: physical
        slot: 0
      - id: i2
        label: GigabitEthernet0/1
        mac_address: null
        type: physical
        slot: 1
      - id: i3
        label: GigabitEthernet0/2
        mac_address: null
        type: physical
        slot: 2
      - id: i4
        label: GigabitEthernet0/3
        mac_address: null
        type: physical
        slot: 3
      - id: i5
        label: GigabitEthernet1/0
        mac_address: null
        type: physical
        slot: 4
      - id: i6
        label: GigabitEthernet1/1
        mac_address: null
        type: physical
        slot: 5
      - id: i7
        label: GigabitEthernet1/2
        mac_address: null
        type: physical
        slot: 6
      - id: i8
        label: GigabitEthernet1/3
        mac_address: null
        type: physical
        slot: 7
      - id: i9
        label: GigabitEthernet2/0
        mac_address: null
        type: physical
        slot: 8
      - id: i10
        label: GigabitEthernet2/1
        mac_address: null
        type: physical
        slot: 9
      - id: i11
        label: GigabitEthernet2/2
        mac_address: null
        type: physical
        slot: 10
      - id: i12
        label: GigabitEthernet2/3
        mac_address: null
        type: physical
        slot: 11
      - id: i13
        label: GigabitEthernet3/0
        mac_address: null
        type: physical
        slot: 12
      - id: i14
        label: GigabitEthernet3/1
        mac_address: null
        type: physical
        slot: 13
      - id: i15
        label: GigabitEthernet3/2
        mac_address: null
        type: physical
        slot: 14
      - id: i16
        label: GigabitEthernet3/3
        mac_address: null
        type: physical
        slot: 15
  - boot_disk_size: null
    configuration:
      - name: user-data
        content: |-
          #cloud-config
          hostname: ansible
          manage_etc_hosts: True
          system_info:
            default_user:
              name: cisco
          password: cisco
          chpasswd: { expire: False }
          ssh_pwauth: True
          write_files:
          - path: /etc/netplan/network.yaml
            permissions: '0600'
            content: |
              network:
                  version: 2
                  ethernets:
                      ens2:
                          dhcp4: false
                          addresses:
                            - 192.168.254.254/24
                      ens3:
                          dhcp4: true
          runcmd:
          - netplan generate
          - netplan apply
    cpu_limit: null
    cpus: null
    data_volume: null
    hide_links: false
    id: n3
    image_definition: null
    label: ansible
    node_definition: ubuntu
    parameters: {}
    ram: null
    tags: []
    x: -120
    y: 0
    interfaces:
      - id: i0
        label: ens2
        mac_address: null
        type: physical
        slot: 0
      - id: i1
        label: ens3
        mac_address: null
        type: physical
        slot: 1
  - boot_disk_size: null
    configuration: []
    cpu_limit: null
    cpus: null
    data_volume: null
    hide_links: false
    id: n4
    image_definition: null
    label: ext-conn-0
    node_definition: external_connector
    parameters: {}
    ram: null
    tags: []
    x: 40
    y: 120
    interfaces:
      - id: i0
        label: port
        mac_address: null
        type: physical
        slot: 0
  - boot_disk_size: null
    configuration: []
    cpu_limit: null
    cpus: null
    data_volume: null
    hide_links: false
    id: n5
    image_definition: null
    label: mgmt
    node_definition: unmanaged_switch
    parameters: {}
    ram: null
    tags: []
    x: -320
    y: 0
    interfaces:
      - id: i0
        label: port0
        mac_address: null
        type: physical
        slot: 0
      - id: i1
        label: port1
        mac_address: null
        type: physical
        slot: 1
      - id: i2
        label: port2
        mac_address: null
        type: physical
        slot: 2
      - id: i3
        label: port3
        mac_address: null
        type: physical
        slot: 3
      - id: i4
        label: port4
        mac_address: null
        type: physical
        slot: 4
      - id: i5
        label: port5
        mac_address: null
        type: physical
        slot: 5
      - id: i6
        label: port6
        mac_address: null
        type: physical
        slot: 6
      - id: i7
        label: port7
        mac_address: null
        type: physical
        slot: 7
links:
  - id: l0
    n1: n2
    n2: n0
    i1: i1
    i2: i1
    conditioning: {}
    label: iosvl2-2-GigabitEthernet0/0<->iosvl2-0-GigabitEthernet0/0
  - id: l1
    n1: n0
    n2: n1
    i1: i2
    i2: i2
    conditioning: {}
    label: iosvl2-0-GigabitEthernet0/1<->iosvl2-1-GigabitEthernet0/1
  - id: l2
    n1: n3
    n2: n5
    i1: i0
    i2: i0
    conditioning: {}
    label: ubuntu-0-ens2<->unmanaged-switch-0-port0
  - id: l3
    n1: n3
    n2: n4
    i1: i1
    i2: i0
    conditioning: {}
    label: ubuntu-0-ens3<->ext-conn-0-port
  - id: l4
    n1: n5
    n2: n1
    i1: i3
    i2: i16
    conditioning: {}
    label: unmanaged-switch-0-port3<->iosvl2-1-GigabitEthernet3/3
  - id: l5
    n1: n5
    n2: n2
    i1: i1
    i2: i16
    conditioning: {}
    label: unmanaged-switch-0-port1<->iosvl2-2-GigabitEthernet3/3
  - id: l6
    n1: n5
    n2: n0
    i1: i2
    i2: i16
    conditioning: {}
    label: unmanaged-switch-0-port2<->iosvl2-0-GigabitEthernet3/3
lab:
  description: ''
  notes: ''
  title: ANSIBLE
  version: 0.3.0
