Merging upstream version 0.15.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
bfebc2a0f4
commit
0a0cb7f4fd
103 changed files with 79620 additions and 742 deletions
49
tests/data/ansible_inventory_unknown_yaml_tag.yml
Normal file
49
tests/data/ansible_inventory_unknown_yaml_tag.yml
Normal file
|
@ -0,0 +1,49 @@
|
|||
|
||||
---
|
||||
all:
|
||||
children:
|
||||
cv_servers:
|
||||
hosts:
|
||||
cv_atd1:
|
||||
ansible_host: 10.73.1.238
|
||||
ansible_user: tom
|
||||
ansible_password: !unknown |
|
||||
OOOOOOOK!GNUTERRYPRATCHETT!OOOOOOK!EEEEEEEK!
|
||||
cv_collection: v3
|
||||
ATD_LAB:
|
||||
vars:
|
||||
ansible_user: arista
|
||||
ansible_ssh_pass: arista
|
||||
children:
|
||||
ATD_FABRIC:
|
||||
children:
|
||||
ATD_SPINES:
|
||||
vars:
|
||||
type: spine
|
||||
hosts:
|
||||
spine1:
|
||||
ansible_host: 192.168.0.10
|
||||
spine2:
|
||||
ansible_host: 192.168.0.11
|
||||
ATD_LEAFS:
|
||||
vars:
|
||||
type: l3leaf
|
||||
children:
|
||||
pod1:
|
||||
hosts:
|
||||
leaf1:
|
||||
ansible_host: 192.168.0.12
|
||||
leaf2:
|
||||
ansible_host: 192.168.0.13
|
||||
pod2:
|
||||
hosts:
|
||||
leaf3:
|
||||
ansible_host: 192.168.0.14
|
||||
leaf4:
|
||||
ansible_host: 192.168.0.15
|
||||
ATD_TENANTS_NETWORKS:
|
||||
children:
|
||||
ATD_LEAFS:
|
||||
ATD_SERVERS:
|
||||
children:
|
||||
ATD_LEAFS:
|
50
tests/data/ansible_inventory_with_vault.yml
Normal file
50
tests/data/ansible_inventory_with_vault.yml
Normal file
|
@ -0,0 +1,50 @@
|
|||
|
||||
---
|
||||
all:
|
||||
children:
|
||||
cv_servers:
|
||||
hosts:
|
||||
cv_atd1:
|
||||
ansible_host: 10.73.1.238
|
||||
ansible_user: tom
|
||||
ansible_password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
OOOOOOOK!YOURAWESOMEVAULTEDPASSWOR!OOOOOOK!EEEEEEEK!
|
||||
cv_collection: v3
|
||||
ATD_LAB:
|
||||
vars:
|
||||
ansible_user: arista
|
||||
ansible_ssh_pass: arista
|
||||
children:
|
||||
ATD_FABRIC:
|
||||
children:
|
||||
ATD_SPINES:
|
||||
vars:
|
||||
type: spine
|
||||
hosts:
|
||||
spine1:
|
||||
ansible_host: 192.168.0.10
|
||||
spine2:
|
||||
ansible_host: 192.168.0.11
|
||||
ATD_LEAFS:
|
||||
vars:
|
||||
type: l3leaf
|
||||
children:
|
||||
pod1:
|
||||
hosts:
|
||||
leaf1:
|
||||
ansible_host: 192.168.0.12
|
||||
leaf2:
|
||||
ansible_host: 192.168.0.13
|
||||
pod2:
|
||||
hosts:
|
||||
leaf3:
|
||||
ansible_host: 192.168.0.14
|
||||
leaf4:
|
||||
ansible_host: 192.168.0.15
|
||||
ATD_TENANTS_NETWORKS:
|
||||
children:
|
||||
ATD_LEAFS:
|
||||
ATD_SERVERS:
|
||||
children:
|
||||
ATD_LEAFS:
|
71690
tests/data/test_catalog_large.yml
Normal file
71690
tests/data/test_catalog_large.yml
Normal file
File diff suppressed because it is too large
Load diff
2078
tests/data/test_catalog_medium.yml
Normal file
2078
tests/data/test_catalog_medium.yml
Normal file
File diff suppressed because it is too large
Load diff
1
tests/data/test_empty_dict_catalog.yml
Normal file
1
tests/data/test_empty_dict_catalog.yml
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
103
tests/data/test_inventory_large.yml
Normal file
103
tests/data/test_inventory_large.yml
Normal file
|
@ -0,0 +1,103 @@
|
|||
---
|
||||
anta_inventory:
|
||||
hosts:
|
||||
- host: localhost
|
||||
name: super-spine1
|
||||
- host: localhost
|
||||
name: super-spine2
|
||||
- host: localhost
|
||||
name: pod1-spine1
|
||||
- host: localhost
|
||||
name: pod1-spine2
|
||||
- host: localhost
|
||||
name: pod1-spine3
|
||||
- host: localhost
|
||||
name: pod1-spine4
|
||||
- host: localhost
|
||||
name: pod1-leaf1a
|
||||
- host: localhost
|
||||
name: pod1-leaf1b
|
||||
- host: localhost
|
||||
name: pod1-leaf2a
|
||||
- host: localhost
|
||||
name: pod1-leaf2b
|
||||
- host: localhost
|
||||
name: pod1-leaf3a
|
||||
- host: localhost
|
||||
name: pod1-leaf3b
|
||||
- host: localhost
|
||||
name: pod1-leaf4a
|
||||
- host: localhost
|
||||
name: pod1-leaf4b
|
||||
- host: localhost
|
||||
name: pod1-leaf5a
|
||||
- host: localhost
|
||||
name: pod1-leaf5b
|
||||
- host: localhost
|
||||
name: pod1-leaf6a
|
||||
- host: localhost
|
||||
name: pod1-leaf6b
|
||||
- host: localhost
|
||||
name: pod1-leaf7a
|
||||
- host: localhost
|
||||
name: pod1-leaf7b
|
||||
- host: localhost
|
||||
name: pod1-leaf8a
|
||||
- host: localhost
|
||||
name: pod1-leaf8b
|
||||
- host: localhost
|
||||
name: pod1-leaf9a
|
||||
- host: localhost
|
||||
name: pod1-leaf9b
|
||||
- host: localhost
|
||||
name: pod1-leaf10a
|
||||
- host: localhost
|
||||
name: pod1-leaf10b
|
||||
- host: localhost
|
||||
name: pod2-spine1
|
||||
- host: localhost
|
||||
name: pod2-spine2
|
||||
- host: localhost
|
||||
name: pod2-spine3
|
||||
- host: localhost
|
||||
name: pod2-spine4
|
||||
- host: localhost
|
||||
name: pod2-leaf1a
|
||||
- host: localhost
|
||||
name: pod2-leaf1b
|
||||
- host: localhost
|
||||
name: pod2-leaf2a
|
||||
- host: localhost
|
||||
name: pod2-leaf2b
|
||||
- host: localhost
|
||||
name: pod2-leaf3a
|
||||
- host: localhost
|
||||
name: pod2-leaf3b
|
||||
- host: localhost
|
||||
name: pod2-leaf4a
|
||||
- host: localhost
|
||||
name: pod2-leaf4b
|
||||
- host: localhost
|
||||
name: pod2-leaf5a
|
||||
- host: localhost
|
||||
name: pod2-leaf5b
|
||||
- host: localhost
|
||||
name: pod2-leaf6a
|
||||
- host: localhost
|
||||
name: pod2-leaf6b
|
||||
- host: localhost
|
||||
name: pod2-leaf7a
|
||||
- host: localhost
|
||||
name: pod2-leaf7b
|
||||
- host: localhost
|
||||
name: pod2-leaf8a
|
||||
- host: localhost
|
||||
name: pod2-leaf8b
|
||||
- host: localhost
|
||||
name: pod2-leaf9a
|
||||
- host: localhost
|
||||
name: pod2-leaf9b
|
||||
- host: localhost
|
||||
name: pod2-leaf10a
|
||||
- host: localhost
|
||||
name: pod2-leaf10b
|
14
tests/data/test_inventory_medium.yml
Normal file
14
tests/data/test_inventory_medium.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
anta_inventory:
|
||||
hosts:
|
||||
- host: localhost
|
||||
name: spine1
|
||||
- host: localhost
|
||||
name: spine2
|
||||
- host: localhost
|
||||
name: leaf1a
|
||||
- host: localhost
|
||||
name: leaf1b
|
||||
- host: localhost
|
||||
name: leaf2a
|
||||
- host: localhost
|
||||
name: leaf2b
|
Loading…
Add table
Add a link
Reference in a new issue