CiscoDevNet/ansible-aci

cisco.aci.aci_l3out_interface need EncapScope parameter added to set scope to VRF or "ctx"

JuanBH255 opened this issue ยท 2 comments

Community Note

  • Please vote on this issue by adding a ๐Ÿ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

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

  • cisco.aci 2.8

References

  • #0000

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"