Closed JuanBH255 closed 11 months ago
At the moment I have to resort to using the ACI rest module.
cisco.aci.aci_rest:
host: "{{ ansible_host }}"
username: "{{ username }}"
password: "{{ password }}"
validate_certs: no
path: "api/node/mo/uni/tn-{{ tenant['tenant_name'] }}/out-{{ l3_out['l3out_name'] }}/lnodep-{{ logic['logic_n_name'] }}/lifp-{{ lintf['logical_intf_name'] }}/rspathL3OutAtt-[topology/pod-1/protpaths-{{ ep['ep_node_id'] }}/pathep-[{{ ep['path_ep'] }}]].json"
method: post
content:
l3extRsPathL3OutAtt:
attributes:
encap: "vlan-{{ ep['encap'] }}"
ipv6Dad: "enabled"
encapScope: "ctx"
ifInstT: "ext-svi"
mode: "{{ ep['mode'] }}"
descr: ""
mtu: "{{ ep['intf_mtu'] | default('inherit')}}"
isMultiPodDirect: "no"
autostate: "enabled"
annotation: "orchestrator:ansible"
Community Note
Description
I am trying to configure an interface with the Encap Scope set to VRF or "ctx" but I do not see a parameter on Ansible docs to change this. It is always setting itself to Local. There's also no parameter to add Descriptions to interfaces.
Possible additional labels: new_module/new_plugin/documentation/feature ---> Encap Scope
New or Affected Module(s):
APIC version and APIC Platform
Collection versions
References
0000