.. Document meta :orphan: .. |antsibull-internal-nbsp| unicode:: 0xA0 :trim: .. meta:: :antsibull-docs: 2.23.0 .. Anchors .. _ansible_collections.amnesh.soodar.soodar_vrf_module: .. Anchors: short name for ansible.builtin .. Title amnesh.soodar.soodar_vrf module -- Module to configure VRF definitions. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: This module is part of the `amnesh.soodar collection `_ (version 2.0.0). It is not included in ``ansible-core``. To check whether it is installed, run :code:`ansible-galaxy collection list`. 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 .. 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 ---------- .. tabularcolumns:: \X{1}{3}\X{2}{3} .. list-table:: :width: 100% :widths: auto :header-rows: 1 :class: longtable ansible-option-table * - Parameter - Comments * - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__parameter-associated_interfaces: .. rst-class:: ansible-option-title **associated_interfaces** .. raw:: html .. 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 .. 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 .. 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 .. 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 .. ansible-option-type-line:: :ansible-option-type:`string` .. raw:: html
- .. raw:: html
The name of the VRF definition to be managed on the remote Soodar 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 .. 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 .. 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 .. 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 Soodar 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 23.11 - This module works with connection :literal:`amnesh.soodar.network\_cli`. .. Seealso .. Examples Examples -------- .. code-block:: yaml+jinja - name: Configure a vrf named management cisco.ios.ios_vrf: name: management description: oob mgmt vrf interfaces: - ge0 - name: Remove a vrf named test cisco.ios.ios_vrf: name: test state: absent - name: Configure set of VRFs and purge any others cisco.ios.ios_vrf: vrfs: - red - blue - green purge: true .. Facts .. Return values Return Values ------------- Common return values are documented :ref:`here `, the following are the fields unique to this module: .. tabularcolumns:: \X{1}{3}\X{2}{3} .. list-table:: :width: 100% :widths: auto :header-rows: 1 :class: longtable ansible-option-table * - Key - Description * - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__return-commands: .. rst-class:: ansible-option-title **commands** .. raw:: html .. 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:`["vrf ansible"]` .. raw:: html
* - .. raw:: html
.. _ansible_collections.amnesh.soodar.soodar_vrf_module__return-delta: .. rst-class:: ansible-option-title **delta** .. raw:: html .. 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 .. 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 .. 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 ~~~~~~~ - Peter Sprygada (@privateip) - Mahdi Varasteh (@m-varasteh) .. Extra links Collection links ~~~~~~~~~~~~~~~~ .. ansible-links:: - title: "Issue Tracker" url: "http://soodar.ir/issue/tracker" external: true - title: "Homepage" url: "http://soodar.ir" external: true .. Parsing errors