diff options
author | Ganesh Nalawade <ganesh634@gmail.com> | 2017-08-15 15:39:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-15 15:39:44 +0200 |
commit | 38c0b581c3c6df3e0ba57cf2178508aaddcf2d40 (patch) | |
tree | 7ee1201b304613c5a8b5662b93b7bf774f49b0b7 /test/integration/targets/vyos_interface | |
parent | doc: fix a typo (#28215) (diff) | |
download | ansible-38c0b581c3c6df3e0ba57cf2178508aaddcf2d40.tar.xz ansible-38c0b581c3c6df3e0ba57cf2178508aaddcf2d40.zip |
Handle common argument in aggregate parameter for vyos module (#28182)
* Handle common agrument in aggregate parameter for vyos module
* Add supoort to set parameter in aggregate to it's respctive
top level argument if value not provided in aggregate.
* Aggregate argument spec validation
* Documentation for aggregate
* Fix unit test failure
Diffstat (limited to 'test/integration/targets/vyos_interface')
-rw-r--r-- | test/integration/targets/vyos_interface/tests/cli/basic.yaml | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/test/integration/targets/vyos_interface/tests/cli/basic.yaml b/test/integration/targets/vyos_interface/tests/cli/basic.yaml index a4c3a7cd40..83c2a27b9a 100644 --- a/test/integration/targets/vyos_interface/tests/cli/basic.yaml +++ b/test/integration/targets/vyos_interface/tests/cli/basic.yaml @@ -167,8 +167,9 @@ - name: Disable interface on aggregate vyos_interface: aggregate: - - { name: eth1, description: test-interface-1, enabled: False} - - { name: eth2, description: test-interface-2, enabled: False} + - name: eth1 + - name: eth2 + enabled: False register: result - assert: @@ -180,8 +181,9 @@ - name: Enable interface on aggregate vyos_interface: aggregate: - - { name: eth1, description: test-interface-1, enabled: True} - - { name: eth2, description: test-interface-2, enabled: True} + - name: eth1 + - name: eth2 + enabled: True register: result - assert: @@ -193,8 +195,9 @@ - name: Delete interface aggregate vyos_interface: aggregate: - - { name: eth1, state: absent} - - { name: eth2, state: absent} + - name: eth1 + - name: eth2 + state: absent register: result - assert: @@ -206,8 +209,9 @@ - name: Delete interface aggregate (idempotent) vyos_interface: aggregate: - - { name: eth1, state: absent} - - { name: eth2, state: absent} + - name: eth1 + - name: eth2 + state: absent register: result - assert: |