community.general/lib/ansible/modules/network/vyos
Ganesh Nalawade 5a6b893240
Decouple config and state check in vlan and vrf network modules (#36386)
* Decouple config and state check in {network_os }_vlan and { network_os }_vrf modules

Fixes #35567
Fixes #34754

`interfaces` option is used for configuration as well as operational state
check. If interface is configured to given vlan or vrf but if
operational state of interface is disabled it results in module failure.

Fix is to decouple same option usage for config and state.
With this fix `interfaces` is used as config option and a new
option named `associated_interfaces` will be used for intent check
for assigned interfaces.

* Fix CI failures

* Fix review comment

* Fixed integration test failure
2018-02-26 09:23:54 +05:30
..
__init__.py initial commit of vyos_command module 2016-12-08 11:24:44 -05:00
vyos_banner.py Add missing extends_documentation_fragment (#35013) 2018-01-17 16:31:53 -05:00
vyos_command.py Remove deprecated get_exception API 2018-02-05 23:39:56 -05:00
vyos_config.py vyos_config IndexError in sanitize_config (#36375) 2018-02-20 18:29:34 +05:30
vyos_facts.py Refactor common network shared and platform utils code into package (#33452) 2017-12-03 21:42:30 +05:30
vyos_interface.py Add missing extends_documentation_fragment (#35013) 2018-01-17 16:31:53 -05:00
vyos_l3_interface.py fix vyos_l3_interface adding multiple addresses to interface (#36377) 2018-02-20 20:54:27 +05:30
vyos_linkagg.py Add missing extends_documentation_fragment (#35013) 2018-01-17 16:31:53 -05:00
vyos_lldp.py Add missing extends_documentation_fragment (#35013) 2018-01-17 16:31:53 -05:00
vyos_lldp_interface.py Add missing extends_documentation_fragment (#35013) 2018-01-17 16:31:53 -05:00
vyos_logging.py Add missing extends_documentation_fragment (#35013) 2018-01-17 16:31:53 -05:00
vyos_static_route.py Add missing extends_documentation_fragment (#35013) 2018-01-17 16:31:53 -05:00
vyos_system.py Fix more docs vs argspec (#36048) 2018-02-12 17:42:25 +00:00
vyos_user.py Add missing extends_documentation_fragment (#35013) 2018-01-17 16:31:53 -05:00
vyos_vlan.py Decouple config and state check in vlan and vrf network modules (#36386) 2018-02-26 09:23:54 +05:30