Comments (7)
The module 'aci_access_port_to_interface_policy_leaf_profile' will not be deprecated. Only those attributes related to port blocks will be deprecated and we recommend using module 'aci_access_port_block_to_access_port' to manage port blocks.
from ansible-aci.
@manofcolombia Have you tried using aci_access_port_to_interface_policy_leaf_profile?
You can do everything with that one resource, create the port selector, associate port blocks and policy groups, and associate it to the leaf profile.
from ansible-aci.
@manofcolombia Have you tried using aci_access_port_to_interface_policy_leaf_profile?
You can do everything with that one resource, create the port selector, associate port blocks and policy groups, and associate it to the leaf profile.
That module does work for the most part. Originally, I completely skipped over that module because it seemed like it is being deprecated?
This is in the module doc.
Starting with Ansible 2.8 we recommend using M(aci_access_port_block_to_access_port) instead
Also, when associating a policy group at the same time, I get a failed relationship form fault in the port selector. The gui shows the policy group set to the full tDN instead of just the named object. Setting it manually to the named object resolves the fault.
ACI: 4.2.4I
from ansible-aci.
@manofcolombia Hmm, I don't see that recommendation anywhere here: https://docs.ansible.com/ansible/latest/modules/aci_access_port_to_interface_policy_leaf_profile_module.html#aci-access-port-to-interface-policy-leaf-profile-module
However, I never noticed it before but I also have a failed relationship with one of my policy groups.
My external vPC policy group failed the relationship, but all the others are fine.
Possibly because access_port_selector is only for access policy groups which I guess makes sense given the name.
from ansible-aci.
@aj-cruz I found that documented in the documentation of the actual module. https://github.com/CiscoDevNet/ansible-aci/blob/master/plugins/modules/aci_access_port_to_interface_policy_leaf_profile.py
The first one I saw was on line 40 but it repeats most of the way thru the documentation section.
Ultimately, I did get it to work with that module...I forgot interface_type: vpc
so it was defaulting to looking for the port group under accportgrp instead of accbundle.
I'm still curious why/when/if the module will be deprecated.
from ansible-aci.
@aj-cruz and @manofcolombia, any suggestion on what we can improve to avoid the issue you had?
from ansible-aci.
@aj-cruz and @manofcolombia, any suggestion on what we can improve to avoid the issue you had?
The original issue I created stemmed from thinking that aci_access_port_block_to_access_port module would create the child objects if they don't exist. This assumption was incorrect, but I could see a case for both creating and not creating child objects.
I think what would be most helpful, in the long run, is taking the documentation that is written in the module and expanding upon it in the wiki of the github repo. This is mainly for readability, note things pertaining to the module, and the life cycle of the module.
However, I did see that updated documentation in the module does seem to update the docs on the docs.ansible.com. This might be sufficient, but these notes do not appear there.
This is based on the perspective of trying to get another ACI admin who is not as familiar with python or ansible, but sees the value of interacting with ACI via ansible. Their expectation is a readable doc and no "gotcha" notes that they'd have to go looking into the module itself (or asking me) to find out that xyz needs to be created prior to using xyz module.
from ansible-aci.
Related Issues (20)
- aci_rest unsupported annotation classes release script HOT 1
- Missing modules for fabricSetupP (Pod Fabric Setup Policy) and fabricPodP (Pod Profile)
- cisco.aci.aci_l3out_bgp_peer has not property for BGP Authentication HOT 1
- cisco.aci.aci_vmm_controller "Query all VMware VMM controller" return APIC API error HOT 4
- FQCN for tasks in test cases
- aci_epg_to_domain: please allow "_" (underscore) as delimiter HOT 6
- cisco.aci.aci_bd module - add - advertise host routes
- cisco.aci.aci_l3out_interface need EncapScope parameter added to set scope to VRF or "ctx" HOT 2
- aci_interface_policy_leaf_policy_group no longer working in 2.8.0 HOT 1
- cisco.aci.aci_l3out module is NOT idempotent and so isn't behaving correctly HOT 9
- aci_snmp_user Auth Types Posting Incorrectly HOT 6
- Modify listify filter to accept mutli-level dictionaries HOT 4
- Create Module fabricExtConnP and its children
- Add auto to link level speed options (aci_interface_policy_link_level) HOT 1
- cisco.aci.aci_static_binding_to_epg module Bug HOT 5
- Add support for fabric management access
- Add support for AAA security default settings
- Add support to configure the cloudSubnet object for the Azure CNC using aci_cloud_subnet
- Create a new module to manage Azure - L4-L7 - Application and Network Load Balancer devices
- Create a new module to manage Azure - L4-L7 - Third-Party Firewall and Load Balancer devices
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 ansible-aci.