Reformat initializers and add some IPv6 examples

This commit is contained in:
Christian Mäder 2019-10-12 14:23:41 +02:00
parent 5defc38294
commit e894cdaa06
18 changed files with 146 additions and 128 deletions

View File

@ -1,4 +1,6 @@
#- prefix: 10.0.0.0/16
# rir: RFC1918
#- prefix: fd00:ccdd::/32
# rir: RFC4193 ULA
# - prefix: 10.0.0.0/16
# rir: RFC1918
# - prefix: fd00:ccdd::/32
# rir: RFC4193 ULA
# - prefix: 2001:db8::/32
# rir: RFC3849

View File

@ -1,2 +1,2 @@
#- name: Hyper-V
# slug: hyper-v
# - name: Hyper-V
# slug: hyper-v

View File

@ -1,5 +1,5 @@
#- name: cluster1
# type: Hyper-V
#- name: cluster2
# type: Hyper-V
# site: SING 1
# - name: cluster1
# type: Hyper-V
# - name: cluster2
# type: Hyper-V
# site: SING 1

View File

@ -1,8 +1,8 @@
#- device: server01
# enabled: true
# type: Virtual
# name: to-server02
#- device: server02
# enabled: true
# type: Virtual
# name: to-server01
# - device: server01
# enabled: true
# type: Virtual
# name: to-server02
# - device: server02
# enabled: true
# type: Virtual
# name: to-server01

View File

@ -17,7 +17,7 @@
# custom_fields:
# text_field: Description
# - model: Other
# manufacturer: NoName
# manufacturer: No Name
# slug: other
# custom_fields:
# text_field: Description

View File

@ -1,13 +1,26 @@
#- address: 10.1.1.1/24
# device: server01
# interface: to-server02
# status: Active
# vrf: vrf1
#- address: 10.1.1.2/24
# device: server02
# interface: to-server01
# status: Active
#- address: 10.1.1.10/24
# description: reserved IP
# status: Reserved
# tenant: tenant1
# - address: 10.1.1.1/24
# device: server01
# interface: to-server02
# status: Active
# vrf: vrf1
# - address: 2001:db8:a000:1::1/64
# device: server01
# interface: to-server02
# status: Active
# vrf: vrf1
# - address: 10.1.1.2/24
# device: server02
# interface: to-server01
# status: Active
# - address: 2001:db8:a000:1::2/64
# device: server02
# interface: to-server01
# status: Active
# - address: 10.1.1.10/24
# description: reserved IP
# status: Reserved
# tenant: tenant1
# - address: 2001:db8:a000:1::10/64
# description: reserved IP
# status: Reserved
# tenant: tenant1

View File

@ -2,5 +2,5 @@
# slug: manufacturer-1
# - name: Manufacturer 2
# slug: manufacturer-2
# - name: NoName
# slug: noname
# - name: No Name
# slug: no-name

View File

@ -10,6 +10,6 @@
# napalm_args: "{'arg1': 'value1', 'arg2': 'value2'}"
# - name: Platform 3
# slug: platform-3
# manufacturer: NoName
# manufacturer: No Name
# napalm_driver: driver3
# napalm_args: "{'arg1': 'value1', 'arg2': 'value2'}"

View File

@ -1,2 +1,2 @@
#- name: Main Management
# slug: main-management
# - name: Main Management
# slug: main-management

View File

@ -1,20 +1,20 @@
#- description: prefix1
# prefix: 10.1.1.0/24
# site: AMS 1
# status: Active
# tenant: tenant1
# vlan: vlan1
#- description: prefix2
# prefix: 10.1.2.0/24
# site: AMS 2
# status: Active
# tenant: tenant2
# vlan: vlan2
# is_pool: true
# vrf: vrf2
#- description: ipv6 prefix1
# prefix: fd00:ccdd:a000:1::/64
# site: AMS 2
# status: Active
# tenant: tenant2
# vlan: vlan2
# - description: prefix1
# prefix: 10.1.1.0/24
# site: AMS 1
# status: Active
# tenant: tenant1
# vlan: vlan1
# - description: prefix2
# prefix: 10.1.2.0/24
# site: AMS 2
# status: Active
# tenant: tenant2
# vlan: vlan2
# is_pool: true
# vrf: vrf2
# - description: ipv6 prefix1
# prefix: 2001:db8:a000:1::/64
# site: AMS 2
# status: Active
# tenant: tenant2
# vlan: vlan2

View File

@ -1,6 +1,9 @@
#- is_private: true
# name: RFC1918
# slug: rfc1918
#- is_private: true
# name: RFC4193 ULA
# slug: rfc4193-ula
# - is_private: true
# name: RFC1918
# slug: rfc1918
# - is_private: true
# name: RFC4193 ULA
# slug: rfc4193-ula
# - is_private: true
# name: RFC3849
# slug: rfc3849

View File

@ -1,4 +1,4 @@
#- name: Tenant Group 1
# slug: tenant-group-1
#- name: Tenant Group 2
# slug: tenant-group-2
# - name: Tenant Group 1
# slug: tenant-group-1
# - name: Tenant Group 2
# slug: tenant-group-2

View File

@ -1,5 +1,5 @@
#- name: tenant1
# slug: tenant1
#- name: tenant2
# slug: tenant2
# group: Tenant Group 2
# - name: tenant1
# slug: tenant1
# - name: tenant2
# slug: tenant2
# group: Tenant Group 2

View File

@ -1,18 +1,18 @@
#- cluster: cluster1
# comments: VM1
# disk: 200
# memory: 4096
# name: virtual machine 1
# platform: Platform 2
# status: Active
# tenant: tenant1
# vcpus: 8
#- cluster: cluster1
# comments: VM2
# disk: 100
# memory: 2048
# name: virtual machine 2
# platform: Platform 2
# status: Active
# tenant: tenant1
# vcpus: 8
# - cluster: cluster1
# comments: VM1
# disk: 200
# memory: 4096
# name: virtual machine 1
# platform: Platform 2
# status: Active
# tenant: tenant1
# vcpus: 8
# - cluster: cluster1
# comments: VM2
# disk: 100
# memory: 2048
# name: virtual machine 2
# platform: Platform 2
# status: Active
# tenant: tenant1
# vcpus: 8

View File

@ -1,12 +1,12 @@
#- description: Network Interface 1
# enabled: true
# mac_address: 00:77:77:77:77:77
# mtu: 1500
# name: Network Interface 1
# virtual_machine: virtual machine 1
#- description: Network Interface 2
# enabled: true
# mac_address: 00:55:55:55:55:55
# mtu: 1500
# name: Network Interface 2
# virtual_machine: virtual machine 1
# - description: Network Interface 1
# enabled: true
# mac_address: 00:77:77:77:77:77
# mtu: 1500
# name: Network Interface 1
# virtual_machine: virtual machine 1
# - description: Network Interface 2
# enabled: true
# mac_address: 00:55:55:55:55:55
# mtu: 1500
# name: Network Interface 2
# virtual_machine: virtual machine 1

View File

@ -1,6 +1,6 @@
#- name: VLAN group 1
# site: AMS 1
# slug: vlan-group-1
#- name: VLAN group 2
# site: AMS 1
# slug: vlan-group-2
# - name: VLAN group 1
# site: AMS 1
# slug: vlan-group-1
# - name: VLAN group 2
# site: AMS 1
# slug: vlan-group-2

View File

@ -1,11 +1,11 @@
#- name: vlan1
# site: AMS 1
# status: Active
# vid: 5
# role: Main Management
# description: VLAN 5 for MGMT
#- group: VLAN group 2
# name: vlan2
# site: AMS 1
# status: Active
# vid: 1300
# - name: vlan1
# site: AMS 1
# status: Active
# vid: 5
# role: Main Management
# description: VLAN 5 for MGMT
# - group: VLAN group 2
# name: vlan2
# site: AMS 1
# status: Active
# vid: 1300

View File

@ -1,8 +1,8 @@
#- enforce_unique: true
# name: vrf1
# tenant: tenant1
# description: main VRF
#- enforce_unique: true
# name: vrf2
# rd: "6500:6500"
# tenant: tenant2
# - enforce_unique: true
# name: vrf1
# tenant: tenant1
# description: main VRF
# - enforce_unique: true
# name: vrf2
# rd: "6500:6500"
# tenant: tenant2