#
# cat-sdwan-edge node definition
# generated 2023-12-19
# part of VIRL^2
#

id: cat-sdwan-edge
device:
  interfaces:
    has_loopback_zero: true
    physical:
      - GigabitEthernet1
      - GigabitEthernet2
      - GigabitEthernet3
      - GigabitEthernet4
      - GigabitEthernet5
      - GigabitEthernet6
      - GigabitEthernet7
      - GigabitEthernet8
      - GigabitEthernet9
      - GigabitEthernet10
      - GigabitEthernet11
      - GigabitEthernet12
      - GigabitEthernet13
      - GigabitEthernet14
      - GigabitEthernet15
      - GigabitEthernet16
      - GigabitEthernet17
      - GigabitEthernet18
      - GigabitEthernet19
      - GigabitEthernet20
      - GigabitEthernet21
      - GigabitEthernet22
      - GigabitEthernet23
      - GigabitEthernet24
      - GigabitEthernet25
      - GigabitEthernet26
    serial_ports: 2
    default_count: 4
    loopback:
      - Loopback0
inherited:
  image:
    ram: true
    cpus: true
    data_volume: false
    boot_disk_size: false
    cpu_limit: true
  node:
    ram: true
    cpus: true
    data_volume: false
    boot_disk_size: false
    cpu_limit: true
configuration:
  generator:
    driver: csr1000v
  provisioning:
    volume_name: disk
    media_type: iso
    files:
      - name: ciscosdwan_cloud_init.cfg
        editable: true
        content: |
          Content-Type: multipart/mixed; boundary="==BOUNDARY=="
          MIME-Version: 1.0

          --==BOUNDARY==
          Content-Type: text/cloud-config; charset="us-ascii"
          MIME-Version: 1.0
          Content-Transfer-Encoding: 7bit
          Content-Disposition: attachment; filename="cloud-config"

          #cloud-config
          vinitparam:
          - otp : <insert otp/token here>
          - vbond : <insert vbond ip/name here>
          # <replace C8K with valid uuid below>
          - uuid : C8K
          - org : <insert org name here>
          - rcc : <true/false>
          ca-certs:
            remove-defaults: false
            trusted:
            - |
              -----BEGIN CERTIFICATE-----
              <insert certificate here>
              -----END CERTIFICATE-----
          --==BOUNDARY==
          Content-Type: text/cloud-boothook; charset="us-ascii"
          MIME-Version: 1.0
          Content-Transfer-Encoding: 7bit
          Content-Disposition: attachment;
          filename="config-C8K.txt"

          #cloud-boothook
            hostname inserthostname-here
            username cisco privilege 15 secret 0 cisco
            platform console serial
            !
          !
          --==BOUNDARY==--
general:
  description: Catalyst SD-WAN Edge
  nature: router
  read_only: false
schema_version: 0.0.1
boot:
  completed:
    - Press RETURN to get started!
  timeout: 250
sim:
  linux_native:
    libvirt_domain_driver: kvm
    driver: csr1000v
    disk_driver: virtio
    ram: 5120
    cpus: 2
    nic_driver: vmxnet3
    cpu_limit: 100
pyats:
  os: iosxe
  series: sdwan
  config_extract_command: show running
ui:
  description: Cisco Catalyst SD-WAN Edge
  group: Cisco
  icon: router
  label: Catalyst SD-WAN Edge
  label_prefix: sdwan-edge-
  visible: true
