Projet
This commit is contained in:
10
fastprod_backend/fastprod/inventory/config.yaml
Normal file
10
fastprod_backend/fastprod/inventory/config.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
inventory:
|
||||
plugin: SimpleInventory
|
||||
options:
|
||||
host_file: "fastprod/inventory/hosts.yaml"
|
||||
group_file: "fastprod/inventory/groups.yaml"
|
||||
defaults_file: "fastprod/inventory/defaults.yaml"
|
||||
runner:
|
||||
plugin: threaded
|
||||
options:
|
||||
num_workers: 20
|
||||
2
fastprod_backend/fastprod/inventory/defaults.yaml
Normal file
2
fastprod_backend/fastprod/inventory/defaults.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
username: cisco
|
||||
password: cisco
|
||||
4
fastprod_backend/fastprod/inventory/groups.yaml
Normal file
4
fastprod_backend/fastprod/inventory/groups.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
ios:
|
||||
platform: ios
|
||||
data:
|
||||
vendor: Cisco
|
||||
67
fastprod_backend/fastprod/inventory/hosts.yaml
Normal file
67
fastprod_backend/fastprod/inventory/hosts.yaml
Normal file
@@ -0,0 +1,67 @@
|
||||
ESW1-CPE-BAT-A:
|
||||
data:
|
||||
building: A
|
||||
device_model: C3725
|
||||
device_name: ESW1-CPE-BAT-A
|
||||
device_type: router_switch
|
||||
locality: lyon
|
||||
groups:
|
||||
- ios
|
||||
hostname: 172.16.100.123
|
||||
port: 22
|
||||
ESW1-CPE-BAT-B:
|
||||
data:
|
||||
building: B
|
||||
device_model: C3725
|
||||
device_name: ESW1-CPE-BAT-B
|
||||
device_type: router_switch
|
||||
locality: lyon
|
||||
groups:
|
||||
- ios
|
||||
hostname: 172.16.100.187
|
||||
port: 22
|
||||
R1-CPE-BAT-A:
|
||||
data:
|
||||
building: A
|
||||
device_model: C7200
|
||||
device_name: R1-CPE-BAT-A
|
||||
device_type: router
|
||||
locality: lyon
|
||||
room: 1
|
||||
groups:
|
||||
- ios
|
||||
hostname: 172.16.100.125
|
||||
port: 22
|
||||
R1-CPE-BAT-B:
|
||||
data:
|
||||
building: B
|
||||
device_model: C7200
|
||||
device_name: R1-CPE-BAT-B
|
||||
device_type: router
|
||||
locality: lyon
|
||||
groups:
|
||||
- ios
|
||||
hostname: 172.16.100.189
|
||||
port: 22
|
||||
R2-CPE-BAT-A:
|
||||
data:
|
||||
building: A
|
||||
device_model: C7200
|
||||
device_name: R2-CPE-BAT-A
|
||||
device_type: router
|
||||
locality: lyon
|
||||
groups:
|
||||
- ios
|
||||
hostname: 172.16.100.126
|
||||
port: 22
|
||||
R2-CPE-BAT-B:
|
||||
data:
|
||||
building: B
|
||||
device_model: C7200
|
||||
device_name: R2-CPE-BAT-B
|
||||
device_type: router
|
||||
locality: lyon
|
||||
groups:
|
||||
- ios
|
||||
hostname: 172.16.100.190
|
||||
port: 22
|
||||
Reference in New Issue
Block a user