Added more startup_scripts and initializers examples.

This commit is contained in:
Alvaro Arriola 2019-07-04 14:10:56 +02:00
parent 5a4e9d7a14
commit 4cb5b9f20d
28 changed files with 732 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#- prefix: 10.0.0.0/16
# rir: RFC1918

View file

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

View file

@ -0,0 +1,2 @@
#- name: cluster1
# type: Hyper-V

View file

@ -0,0 +1,12 @@
#- device: router1
# enabled: true
# form_factor: 0
# name: router2
#- device: 9901-2.bwi-stf.lab
# enabled: true
# form_factor: 0
# name: Loopback0
#- device: switch1
# enabled: true
# form_factor: 0
# name: Vlan5

View file

@ -0,0 +1,18 @@
#- address: 10.1.1.1/24
# device: router1
# family: 4
# interface: Loopback0
# status: 1
# vrf: vrf1
#- address: 10.1.1.2/24
# device: switch1
# family: 4
# interface: Vlan5
# status: 1
#- address: 10.1.1.10/24
# description: reserved IP
# family: 4
# status: 2
# tenant: tenant1

12
initializers/prefixes.yml Normal file
View file

@ -0,0 +1,12 @@
#- description: prefix1
# prefix: 10.1.1.0/24
# site: AMS 1
# status: 1
# tenant: tenant1
# vlan: vlan1
#- description: prefix2
# prefix: 10.1.2.0/24
# site: AMS 2
# status: 1
# tenant: tenant2
# vlan: vlan2

3
initializers/rirs.yml Normal file
View file

@ -0,0 +1,3 @@
#- is_private: true
# name: RFC1918
# slug: rfc1918

4
initializers/tenants.yml Normal file
View file

@ -0,0 +1,4 @@
#- name: tenant1
# slug: tenant1
#- name: tenant2
# slug: tenant2

View file

@ -0,0 +1,9 @@
#- cluster: cluster1
# comments: VM1
# disk: 200
# memory: 4096
# name: virtual machine 1
# platform: Platform 2
# status: 1
# tenant: tenant1
# vcpus: 8

View file

@ -0,0 +1,14 @@
#- description: Network Interface 1
# enabled: true
# form_factor: 0
# mac_address: 00:77:77:77:77:77
# mtu: 1500
# name: Network Interface 1
# virtual_machine: virtual_machine1
#- description: Network Interface 2
# enabled: true
# form_factor: 0
# mac_address: 00:55:55:55:55:55
# mtu: 1500
# name: Network Interface 2
# virtual_machine: virtual_machine1

View file

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

9
initializers/vlans.yml Normal file
View file

@ -0,0 +1,9 @@
#- name: vlan1
# site: AMS 1
# status: 1
# vid: 5
#- group: VLAN group 2
# name: vlan2
# site: AMS 1
# status: 1
# vid: 1300

5
initializers/vrfs.yml Normal file
View file

@ -0,0 +1,5 @@
#- enforce_unique: true
# name: vrf1
# tenant: tenant1
#- enforce_unique: true
# name: vrf2