Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing issue #53865 #53866

Open
wants to merge 1 commit into
base: devel
from

Conversation

Projects
None yet
2 participants
@swagner-de
Copy link

swagner-de commented Mar 15, 2019

#53865

SUMMARY

Checking which address-families are touched in the config change and then only add these.

Fixes #53865

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

ios_vrf

ADDITIONAL INFORMATION

Currently the below playbooks yields the following configuration:

- name: Deploy vrf base config
  ios_vrf:
    state: present
    purge: no
    name: V4-VRF
    rd: 65551:1234
    route_import_ipv4: 65551:1234
vrf definition V4-VRF
rd 65551:1234
 !
 address-family ipv4
   route-target import 65551:1234
 exit-address-family
 !
 address-family ipv6
 exit-address-family
!

With this commit it yields:

vrf definition V4-VRF
rd 65551:1234
 !
 address-family ipv4
   route-target import 65551:1234
 exit-address-family
!
@ansibot

This comment has been minimized.

@ansibot

This comment has been minimized.

Copy link
Contributor

ansibot commented Mar 15, 2019

@swagner-de, just so you are aware we have a dedicated Working Group for network.
You can find other people interested in this in #ansible-network on Freenode IRC
For more information about communities, meetings and agendas see https://github.com/ansible/community

click here for bot help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.