Skip to content

CML2 に Cisco SD-WAN 20.6.1.1 を登録する

以前に下記の記事を記載しました。

Node Definitions 用の .yaml ファイルは CiscoDevNet / cml-community からダウンロード出来るのですが、改めて自分用に .yaml ファイルと Image Definitions をメモしておきます。

NODE DEFINITIONS

viptela-bond.yaml

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
id: viptela-bond
configuration:
  generator:
    driver: null
  provisioning:
    volume_name: cidata
    media_type: iso
    files:
      - name: meta-data
        content: |-
          instance-id: vbond
          local-hostname: vbond
        editable: false
      - name: user-data
        content: |-
          #cloud-config
          ssh_authorized_keys:
            - your-ssh-pub-key-line-goes-here
        editable: true
device:
  interfaces:
    has_loopback_zero: false
    physical:
      - eth0
      - ge0/0
      - ge0/1
      - ge0/2
      - ge0/3
      - ge0/4
      - ge0/5
      - ge0/6
    serial_ports: 1
inherited:
  image:
    ram: true
    cpus: true
    data_volume: false
    boot_disk_size: false
  node:
    ram: true
    cpus: true
    data_volume: false
    boot_disk_size: false
general:
  description: Viptela vBond System
  nature: server
  read_only: true
boot:
  timeout: 300
  completed:
    - ": System Ready"
sim:
  linux_native:
    cpus: 2
    disk_driver: ide
    driver: server
    libvirt_domain_driver: kvm
    nic_driver: virtio
    ram: 4096
pyats:
  os: linux
ui:
  description: |-
    Viptela vBond System

    4 GB DRAM, 2 vCPU

    [CCO Link](https://sdwan-docs.cisco.com/Product_Documentation)
  group: Others
  icon: server
  label: vBond
  label_prefix: vbond-
  visible: true

viptela-manage.yaml

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
id: viptela-manage
configuration:
  generator:
    driver: null
  provisioning:
    volume_name: cidata
    media_type: iso
    files:
      - name: meta-data
        content: |-
          instance-id: vmanage
          local-hostname: vmanage
        editable: false
      - name: user-data
        content: |-
          #cloud-config
          ssh_authorized_keys:
            - your-ssh-pub-key-line-goes-here
        editable: true
device:
  interfaces:
    has_loopback_zero: false
    physical:
      - eth0
      - ge0/0
      - ge0/1
      - ge0/2
      - ge0/3
      - ge0/4
      - ge0/5
      - ge0/6
    serial_ports: 1
inherited:
  image:
    ram: true
    cpus: true
    data_volume: true
    boot_disk_size: false
  node:
    ram: true
    cpus: true
    data_volume: true
    boot_disk_size: false
general:
  description: Viptela vManage System
  nature: server
  read_only: true
boot:
  timeout: 300
  completed:
    - ": System Ready"
sim:
  linux_native:
    cpus: 8
    disk_driver: ide
    driver: server
    libvirt_domain_driver: kvm
    nic_driver: virtio
    ram: 32768
    data_volume: 10
pyats:
  os: linux
ui:
  description: |-
    Viptela vManage System

    32 GB DRAM, 8 vCPU, 10GB data disk

    [CCO Link](https://sdwan-docs.cisco.com/Product_Documentation)
  group: Others
  icon: server
  label: vManage
  label_prefix: vmanage-
  visible: true

viptela-smart.yaml

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
id: viptela-smart
configuration:
  generator:
    driver: null
  provisioning:
    volume_name: cidata
    media_type: iso
    files:
      - name: meta-data
        content: |-
          instance-id: vsmart
          local-hostname: vsmart
        editable: false
      - name: user-data
        content: |-
          #cloud-config
          ssh_authorized_keys:
            - your-ssh-pub-key-line-goes-here
        editable: true
device:
  interfaces:
    has_loopback_zero: false
    physical:
      - eth0
      - ge0/0
      - ge0/1
      - ge0/2
      - ge0/3
      - ge0/4
      - ge0/5
      - ge0/6
    serial_ports: 1
inherited:
  image:
    ram: true
    cpus: true
    data_volume: false
    boot_disk_size: false
  node:
    ram: true
    cpus: true
    data_volume: false
    boot_disk_size: false
general:
  description: Viptela vSmart System
  nature: server
  read_only: true
boot:
  timeout: 300
  completed:
    - ": System Ready"
sim:
  linux_native:
    cpus: 2
    disk_driver: ide
    driver: server
    libvirt_domain_driver: kvm
    nic_driver: virtio
    ram: 4096
pyats:
  os: linux
ui:
  description: |-
    Viptela vSmart System

    4 GB DRAM, 2 vCPU

    [CCO Link](https://sdwan-docs.cisco.com/Product_Documentation)
  group: Others
  icon: server
  label: vSmart
  label_prefix: vsmart-
  visible: true

viptela-edge.yaml

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
id: viptela-edge
configuration:
  generator:
    driver: null
  provisioning:
    volume_name: cidata
    media_type: iso
    files:
      - name: meta-data
        content: |-
          instance-id: ubuntu
          local-hostname: ubuntu
        editable: false
      - name: user-data
        content: |-
          #cloud-config
          vinitparam:
          - otp: 00000000000000000000000000000000
          - vbond: 1.2.3.4
          - uuid: 12345678-dead-beef-cafe-1234567890ab
          - org: some-org-string
          ssh_authorized_keys:
            - your-ssh-pub-key-line-goes-here
        editable: true
device:
  interfaces:
    has_loopback_zero: false
    physical:
      - eth0
      - ge0/0
      - ge0/1
      - ge0/2
      - ge0/3
      - ge0/4
      - ge0/5
      - ge0/6
    serial_ports: 1
inherited:
  image:
    ram: true
    cpus: true
    data_volume: false
    boot_disk_size: false
  node:
    ram: true
    cpus: true
    data_volume: false
    boot_disk_size: false
general:
  description: Viptela vEdge System
  nature: server
  read_only: false
boot:
  timeout: 120
  completed:
    - ": System Ready"
sim:
  linux_native:
    cpus: 2
    disk_driver: ide
    driver: server
    libvirt_domain_driver: kvm
    nic_driver: virtio
    ram: 2048
pyats:
  os: linux
ui:
  description: |-
    Viptela vEdge System

    2 GB DRAM, 2 vCPU

    [CCO Link](https://sdwan-docs.cisco.com/Product_Documentation)
  group: Others
  icon: server
  label: vEdge
  label_prefix: vedge-
  visible: true
schema_version: 0.0.1

IMAGE DEFINITIONS

vEdge と vBond は同じイメージを利用します。

ID Label Description Disk Image Node Definition
viptela-bond-20.6.1 vBond 20.6.1 viptela-edge-20.6.1-genericx86-64.qcow2 viptela-bond
viptela-smart-20.6.1 vSmart 20.6.1 viptela-smart-20.6.1-genericx86-64.qcow2 viptela-smart
viptela-manage-20.6.1.1 vManage 20.6.1.1 viptela-vmanage-20.6.1.1-genericx86-64.qcow2 viptela-manage
viptela-edge-20.6.1 vEdge 20.6.1 viptela-edge-20.6.1-genericx86-64.qcow2 viptela-edge