Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

VRF definitions role #3

Closed
privateip opened this issue Oct 10, 2018 · 1 comment
Closed

VRF definitions role #3

privateip opened this issue Oct 10, 2018 · 1 comment
Assignees

Comments

@privateip
Copy link

Proposal: vrf_definitions role

Author: Peter Sprygada <@privateip>

Date: 2018-10-10

  • Status: New
  • Proposal type: role
  • Targeted release: new
  • Associated PR: none
  • Estimated time to implement: 1 day

Motivation

This proposal describe the implementation of a new resource role for managing VRF definitions in network device active configurations. This role would replace the current net_vrf agnostic module that currently resides in Ansible core.

Problems

The current platform agnostic module is difficult to maintain and even more challenging to extend. By moving the module functionality to a role, platform specific implementations will be greatly simplified.

Solution proposal

Functions

  • main.yaml
    noop by default
  • configure.yaml
    Perform all configuration activities

Model

vrf_definitions:
  operation: { default: merge, choices: [merge, replace, override] }
  config:
    "{{ vrf_name }}":
      description: { type: str }
      state: { default: present, choices: [present, absent] }
      extensions:
        "{{ ansible_network_os }}":
          key: value
@cidrblock
Copy link
Member

VRF management will be covered with resource modules.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants