.. Document meta :orphan: .. |antsibull-internal-nbsp| unicode:: 0xA0 :trim: .. role:: ansible-attribute-support-label .. role:: ansible-attribute-support-property .. role:: ansible-attribute-support-full .. role:: ansible-attribute-support-partial .. role:: ansible-attribute-support-none .. role:: ansible-attribute-support-na .. role:: ansible-option-type .. role:: ansible-option-elements .. role:: ansible-option-required .. role:: ansible-option-versionadded .. role:: ansible-option-aliases .. role:: ansible-option-choices .. role:: ansible-option-choices-default-mark .. role:: ansible-option-default-bold .. role:: ansible-option-configuration .. role:: ansible-option-returned-bold .. role:: ansible-option-sample-bold .. Anchors .. _ansible_collections.amnesh.soodar.soodar_vrf_module: .. Anchors: short name for ansible.builtin .. Anchors: aliases .. Title amnesh.soodar.soodar_vrf module -- Manage the collection of VRF definitions on Amnesh Soodar devices ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: This module is part of the `amnesh.soodar collection `_ (version 1.0.0). To install it, use: :code:`ansible-galaxy collection install https://soodar.ir/ansible/amnesh.soodar.tar.gz`. To use it in a playbook, specify: :code:`amnesh.soodar.soodar_vrf`. .. version_added .. rst-class:: ansible-version-added New in amnesh.soodar 1.0.0 .. contents:: :local: :depth: 1 .. Deprecated Synopsis -------- .. Description - This module provides declarative management of VRF definitions on Amnesh Soodar devices. It allows playbooks to manage individual or the entire VRF collection. It also supports purging VRF definitions from the configuration that are not explicitly defined. .. Aliases .. Requirements .. Options Parameters ---------- .. rst-class:: ansible-option-table .. list-table:: :width: 100% :widths: auto :header-rows: 1 * - Parameter - Comments * - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__parameter-associated_interfaces: .. rst-class:: ansible-option-title **associated_interfaces** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=string` .. raw:: html
- .. raw:: html
This is a intent option and checks the operational state of the for given vrf \ :literal:`name`\ for associated interfaces. If the value in the \ :literal:`associated\_interfaces`\ does not match with the operational state of vrf interfaces on device it will result in failure. .. raw:: html
* - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__parameter-delay: .. rst-class:: ansible-option-title **delay** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Time in seconds to wait before checking for the operational state on remote device. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`10` .. raw:: html
* - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__parameter-description: .. rst-class:: ansible-option-title **description** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Provides a short description of the VRF definition in the current active configuration. The VRF definition value accepts alphanumeric characters used to provide additional information about the VRF. .. raw:: html
* - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__parameter-interfaces: .. rst-class:: ansible-option-title **interfaces** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=string` .. raw:: html
- .. raw:: html
Identifies the set of interfaces that should be configured in the VRF. Interfaces must be routed interfaces in order to be placed into a VRF. .. raw:: html
* - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__parameter-name: .. rst-class:: ansible-option-title **name** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
The name of the VRF definition to be managed on the remote IOS device. The VRF definition name is an ASCII string name used to uniquely identify the VRF. This argument is mutually exclusive with the \ :literal:`vrfs`\ argument .. raw:: html
* - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__parameter-purge: .. rst-class:: ansible-option-title **purge** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Instructs the module to consider the VRF definition absolute. It will remove any previously configured VRFs on the device. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)` - :ansible-option-choices-entry:`true` .. raw:: html
* - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__parameter-state: .. rst-class:: ansible-option-title **state** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Configures the state of the VRF definition as it relates to the device operational configuration. When set to \ :emphasis:`present`\ , the VRF should be configured in the device active configuration and when set to \ :emphasis:`absent`\ the VRF should not be in the device active configuration .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`"present"` :ansible-option-choices-default-mark:`← (default)` - :ansible-option-choices-entry:`"absent"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__parameter-vrfs: .. rst-class:: ansible-option-title **vrfs** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=any` .. raw:: html
- .. raw:: html
The set of VRF definition objects to be configured on the remote IOS device. Ths list entries can either be the VRF name or a hash of VRF definitions and attributes. This argument is mutually exclusive with the \ :literal:`name`\ argument. .. raw:: html
.. Attributes .. Notes Notes ----- .. note:: - Tested against Soodar Version 21.04 .. Seealso .. Examples Examples -------- .. code-block:: yaml+jinja - name: configure a vrf named management amnesh.soodar.soodar_vrf: name: management description: oob mgmt vrf interfaces: - ge2 - name: remove a vrf named test amnesh.soodar.soodar_vrf: name: test state: absent - name: configure set of VRFs and purge any others amnesh.soodar.soodar_vrf: vrfs: - red - blue - green purge: yes .. Facts .. Return values Return Values ------------- Common return values are documented :ref:`here `, the following are the fields unique to this module: .. rst-class:: ansible-option-table .. list-table:: :width: 100% :widths: auto :header-rows: 1 * - Key - Description * - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__return-commands: .. rst-class:: ansible-option-title **commands** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=string` .. raw:: html
- .. raw:: html
The list of configuration mode commands to send to the device .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` always .. rst-class:: ansible-option-line .. rst-class:: ansible-option-sample :ansible-option-sample-bold:`Sample:` :ansible-rv-sample-value:`["ip vrf ansible"]` .. raw:: html
* - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__return-delta: .. rst-class:: ansible-option-title **delta** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
The time elapsed to perform all operations .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` always .. rst-class:: ansible-option-line .. rst-class:: ansible-option-sample :ansible-option-sample-bold:`Sample:` :ansible-rv-sample-value:`"0:00:10.469466"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__return-end: .. rst-class:: ansible-option-title **end** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
The time the job ended .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` always .. rst-class:: ansible-option-line .. rst-class:: ansible-option-sample :ansible-option-sample-bold:`Sample:` :ansible-rv-sample-value:`"2016-11-16 10:38:25.595612"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__return-start: .. rst-class:: ansible-option-title **start** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
The time the job started .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` always .. rst-class:: ansible-option-line .. rst-class:: ansible-option-sample :ansible-option-sample-bold:`Sample:` :ansible-rv-sample-value:`"2016-11-16 10:38:15.126146"` .. raw:: html
.. Status (Presently only deprecated) .. Authors Authors ~~~~~~~ - Mahdi Varasteh (@m-varasteh) .. Extra links Collection links ~~~~~~~~~~~~~~~~ .. raw:: html .. Parsing errors