ansible / ansible

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
https://www.ansible.com/
GNU General Public License v3.0
62.98k stars 23.91k forks source link

Manually Configurable Route-Target Values #41397

Closed mkoontz closed 4 years ago

mkoontz commented 6 years ago
SUMMARY

I would like to see the addition of the route-target import : and route-target export : commands in the nxos_vrf_af module. This would allow for creation of the VRF for MPLS networks where we rely on this configuration.

ISSUE TYPE
COMPONENT NAME

nxos_vrf_af

ANSIBLE VERSION
ansible 2.5.2
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/mkoontz/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.15 (default, May 16 2018, 17:50:09) [GCC 8.1.1 20180502 (Red Hat 8.1.1-1)]
CONFIGURATION

ANSIBLE_COW_SELECTION(/etc/ansible/ansible.cfg) = random HOST_KEY_CHECKING(/etc/ansible/ansible.cfg) = False

OS / ENVIRONMENT

Fedora 28 Nexus 7710 7.3.2

STEPS TO REPRODUCE

After I create the VRF with nxos_vrf, I would like the module to be able to execute the following command structure on the nexus devices:

vrf context vrfA
  address-family ipv4 unicast
    route-target import 1:1
    route-target import 2:2
    route-target export 1:1
    route-target export 2:2
   address-family ipv6 unicast
    route-target import 1:1
    route-target import 2:2
    route-target export 1:1
    route-target export 2:2

The import and export commands should be able to accept multiple values, in cases where MPLS VPNs have granular routing policies. 
EXPECTED RESULTS

The module should accept the route-target as a configurable item. Currently, that feature does not exist other than to enable the auto mode for EVPN.

ACTUAL RESULTS
There is no supported parameter for route-target values. 
ansibot commented 6 years ago

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibot commented 6 years ago

cc @GGabriele @mikewiebe @privateip @rahushen @rcarrillocruz @trishnaguha click here for bot help

ansibot commented 6 years ago

cc @tstoner click here for bot help

ansibot commented 5 years ago

cc @chrisvanheuveln click here for bot help