Comments (2)
Because ansible-cvp
requires a specific input structure for cv_container
cv_configlet
and cv_device
, a module is part of the repository to transform data from inventory to correct struture:
all:
children:
CVP:
hosts:
cvp:
# DC1_Fabric - EVPN Fabric running in home lab
DC1:
children:
enterprise_servers:
hosts:
srv01:
DC1_FABRIC:
children:
DC1_SPINES:
hosts:
DC1-SPINE1:
DC1-SPINE2:
DC1_L3LEAFS:
children:
DC1_LEAF1:
hosts:
DC1-LEAF1A:
DC1_LEAF2:
hosts:
DC1-LEAF2A:
DC1-LEAF2B:
DC1_SVC3:
hosts:
DC1-SVC3A:
DC1-SVC3B:
DC1_BL1:
hosts:
DC1-BL1A:
DC1-BL1B:
Modul inputs
- name: generate intented variables
inventory_to_container:
inventory: 'inventory.yml'
container_root: 'DC1_FABRIC'
destination: 'generated_vars/{{inventory_hostname}}.yml'
register: CVP_VARS
Output is currently like:
inventory_to_cv_topology:
CVP_TOPOLOGY:
DC1_BL1:
devices:
- DC1-BL1A
- DC1-BL1B
parent_container: DC1_L3LEAFS
DC1_FABRIC:
parent_container: Tenant
DC1_L2LEAF4:
devices:
- DC1-L2LEAF4A
parent_container: DC1_L2LEAFS
DC1_L2LEAF5:
devices:
- DC1-L2LEAF5A
- DC1-L2LEAF5B
parent_container: DC1_L2LEAFS
from avd.
resolved by #41
from avd.
Related Issues (20)
- Feat(eos_cli_config_gen): Add permit response traffic: nat under ip_access_lists
- Remove support for automatic conversion from dict-of-dicts to list-of-dicts
- Additional support to modify ISIS timers
- Fix(eos_cli_config_gen): router_isis.address_family_ipv4/6 should evaluate `enabled`
- spanning tree bpdu guard lacks root guard
- L2LS inband with OSPF configuration
- Support endpoint interfaces description to carry information which defined on other parts of the interfaces for Network ports in eos_designs role
- Configuration required when cvp_instance_ips is configured
- Feat: (eos_designs) Create SVI with Passive OSPF Interface for L2LS design
- (eos_cli_config_gen) always generate hostname HOT 4
- Feat:(eos_cli_config_gen) expand errdisable recovery data model with inverval per cause HOT 1
- (eos_cli_config_gen) Add mac_timestamp_header to the ethernet_interfaces data model
- Feat(eos_cli_config_gen): Add support for `isis authentication` under `vlan interfaces` and enhance the `isis authentication` feature under `ethernet` and `port-channel` interfaces
- eos_cli_config_gen: Update router_ospf.redistribute.x with enabled keys
- Feat(eos_cli_config_gen): Add encapsulation data-model to interfaces schema and config.
- eos_designs: WAN default mtu should be set to 9194
- Deprecate Upper case letter Vxlan1 to vxlan1 for eos_designs and update the same in eos_validate_role
- Bug(eos_designs): TypeError: Display.warning() got an unexpected keyword argument 'wrap_text'
- AVD needs to enable the PIM protocols for SVIs on the single leaf HOT 1
- Enable the querier's source addr with the IP of "overlay loopback" associated to the VRF instance HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avd.