Commit graph

36029 commits

Author SHA1 Message Date
René Moser
f230d8e9c4 cs_router: fix missing doc (#37107)
* cs_router: fix missing doc

* update ignore.txt

(partly cherry picked from commit e1297af18a)
2018-03-07 19:12:25 +01:00
René Moser
c054527d65 cs_ip_address.py: fix missing doc (#37109)
* cs_ip_address.py: fix missing doc

* update ignore.txt

(partly cherry picked from commit 67d8c8f5c6)
2018-03-07 19:12:25 +01:00
Anil Kumar Muraleedharan
895d9abd7b 2.5lenovo license update (#37118)
* Syncing with the latest License information in main branch

* Adding License to 2.5 branch
2018-03-07 14:11:47 +00:00
René Moser
0c4d8a9ce5 cloudstack: fix common E324 in docs (#37082) (#37119)
Notes about precedence of common args.

(partly cherry picked from commit 2559e832df)
2018-03-07 13:39:36 +00:00
Trishna Guha
ee67c6c1e3
fix nxos_l2_interface tests for fretta (#37086) (#37101)
(cherry picked from commit b7bc61c7df)
2018-03-07 10:42:16 +05:30
TJ Tang
4bb5f40e99 Fixes #37042 (#37044)
* correctly check that the no_device attribute is specified
 * ignore volume_size requirement if no_device is specified
2018-03-07 09:39:42 +10:00
Nathaniel Case
2be960f84a
Don't fail on configure in command (#37094)
* Don't fail on configure in command

* Change test to check mode

(cherry picked from commit efb8b539c1)
2018-03-06 18:24:43 -05:00
Nathaniel Case
b1f8fd7edb
Fix side-effect of flags being passed to ios get_config again (#37084) (#37085)
(cherry picked from commit f0dc0b28d4)
2018-03-06 18:09:34 -05:00
Jordan Borean
33773624fb
win_wait_for: fix local port check on port not accessible externally (#37093)
* win_wait_for: use loopback IP instead of hostname if 127.0.0.1 is used (#36762)

* win_wait_for: use loopback IP instead of hostname if 127.0.0.1 is used

* removed reverse dns lookup in port check

(cherry picked from commit 67ffde4ac1)

* Added changelog for win_wait_for local port fix
2018-03-07 08:55:39 +10:00
Jordan Borean
f0a808e02c Win lineinfix fix (#36888)
* Win lineinfile fix (#35100)

* win_lineinfile: fix #33858. Removed conversion from \r\n

* win_lineinfile: added test for #33858

* win_lineinfile: added documentation and more tests for change

* win_lineinfile: fixed wrong hash in testing

(cherry picked from commit e15a903bdf)

* Added changelog for win_lineinfile fix

* fix typo in changelog
2018-03-06 13:05:31 -08:00
John R Barker
471e75a019
Fix consul module service deregistration (#34847) (#37089)
* Fix consul module service deregistration

Upstream pr in the python-consul library:
https://github.com/cablehead/python-consul/pull/174

This is based on work from https://github.com/bobh

Fixes ansible/ansible#34628

* Pass ACL token when deregistering consul service

(cherry picked from commit c9cb0016a0)
2018-03-06 20:28:03 +00:00
Toshio Kuratomi
4ad30ad9b5 Clarify Docker SDK rather than Docker API 2018-03-06 09:00:26 -08:00
Toshio Kuratomi
111c2d6c1f Add a changelog fragment for the docker 3 api changes. 2018-03-06 07:08:49 -08:00
John R Barker
fccb6962fe
Network modules to link to network guide (#37033) (#37069)
* Network modules to link to network guide

* Make it clear what's deprecated
* enable -> become
* Detail when provider is still needed (eAPI/NX-API)
* Link to specific sections
* rx_rate & tx_rate to link to conditional docs

(cherry picked from commit ebc71bcb16)
2018-03-06 12:40:25 +00:00
Chris Houseknecht
c2cc6e4ac8
Add compatibility for docker-py version 3 (#36973) (#37071) 2018-03-06 07:34:02 -05:00
Trishna Guha
5ec5c05f0d
remove unused tx_rate and rx_rate from vyos_interface (#37062) (#37064)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 5f3feac7fa)
2018-03-06 17:03:53 +05:30
John R Barker
c4cb7daa6b
Link to new network platform pages (#37057) (#37058)
Also fix a few broken links
(cherry picked from commit 7a4e270ae0)
2018-03-06 09:34:40 +00:00
John R Barker
e03b17e2e5
filesystem: fix documentation (#36556) (#36633)
(cherry picked from commit 07927f52ae)
2018-03-06 08:35:54 +00:00
Trishna Guha
f48d636500
Fix n3k separate to combined image upgrade (#37017) (#37055)
* Fix n3k separate to combined image upgrade

* Address review comments

(cherry picked from commit 51e8eab9db)
2018-03-06 10:40:02 +05:30
Ganesh Nalawade
bbf27efe06
Fix eos integration test failures (#37020) (#37054)
Fixes #36919

Fix other eos modules integration test failure in dci
(cherry picked from commit ba3201cd2f)
2018-03-06 10:24:54 +05:30
Toshio Kuratomi
38a498bcfd
Bkprt py3 maven artifact (#37041)
* Python3 issues in maven_artifact (#37035)

Fixes #33761

(cherry picked from commit 1bc860fafd)

* Add a changelog for the python3 maven_artifact fix
2018-03-05 18:48:29 -08:00
Ryan Petrello
422e4aa310 properly pass /api/v1/ credential fields for older Towers (#36917)
(cherry picked from commit 0e7106b106)
2018-03-05 21:19:13 +00:00
Ryan Petrello
ee4578c4cd properly detect the absence of credential_type in older tower-cli (#36908)
(cherry picked from commit a82043939b)
2018-03-05 21:19:13 +00:00
Sam Doran
2bcc02e653 Add changelog fragment 2018-03-05 21:19:13 +00:00
Ryan Petrello
f0e65cb05a tower cred: support credential kind/type for /api/v1/ and /api/v2/ (#36662)
older versions of Tower (3.1) don't have a concept of CredentialTypes
(this was introduced in Tower 3.2).  This change detects older versions
of pre-3.2 tower-cli that *only* support the deprecated `kind`
attribute.

(cherry picked from commit 641f8b4ef6)
2018-03-05 21:19:13 +00:00
Ryan Petrello
644b116848 tower cred: update kind options in documentation
(cherry picked from commit 8a41233202)
2018-03-05 21:19:13 +00:00
Ryan Petrello
86cc8ae591 tower cred: filter user name lookup by the proper key
(cherry picked from commit cd6855275e)
2018-03-05 21:19:13 +00:00
Ryan Petrello
1a412d49bf tower cred: implement credential /api/v1/ kind compatability
(cherry picked from commit 9cb4b70e27)
2018-03-05 21:19:13 +00:00
Thierry Bouvet
8cc9abcd75 Fix credentials for Tower API V2
(cherry picked from commit 640749d54f)
2018-03-05 21:19:13 +00:00
Toshio Kuratomi
9711c60b01
Bkprt py3 znode (#37038)
* fix python3 compatibility for znode module

kazoo client requires bytes and not string

(cherry picked from commit 2d98a2de68)
2018-03-05 13:01:48 -08:00
John R Barker
a50b332768
Support <hr/> in module docs (#37030) (#37031)
(cherry picked from commit 0a2dda2060)
2018-03-05 19:20:37 +00:00
Nathaniel Case
a3f96ec4af
ios_static_route idempotence fix (#35912) (#37012)
* Remove default admin_distance and fix the idempotence thereof

Fixes #33290

* Fix tests and use yaml anchors to shorten tests

* Add test for undefined admin_distance

* Read config from `show run` if `show ip static route` fails

* Restore flags to ios.get_config &  use get_config where appropriate

(cherry picked from commit 7016b3b9ca)
2018-03-05 10:48:18 -05:00
John R Barker
9ac8aa3552
Ability to link to other pages from plugin docs (#37009) (#37014)
Support relative links
(cherry picked from commit 985f09270d)
2018-03-05 15:20:49 +00:00
Nathaniel Case
639f7b569a
Move _start_connection() to module_utils/connection and fix Popen() call (#36249) (#37005)
* Fix Popen() call to use ansible python

* Remove PATH searching, reuse location of ansible instead

(cherry picked from commit 0feea66988)
2018-03-05 09:54:30 -05:00
John R Barker
801b5dcd04
[WIP] Backport/2.5/multiple docs (#36907)
Backport/2.5/multiple docs
2018-03-05 14:40:14 +00:00
John R Barker
36566e62a7
Fix_regex (#36569) (#37002)
(cherry picked from commit 4021194532)
2018-03-05 12:10:08 +00:00
Ganesh Nalawade
3f8377c2d9
Enable eapi integration test for eos modules (#36934) (#36935)
(cherry picked from commit 83c3561ee5)
2018-03-02 13:02:52 +05:30
Trishna Guha
2cd49b4ab0
eos_static_route fix (#36903) (#36933)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit ef7f3fcab6)
2018-03-02 09:02:36 +05:30
Ganesh Nalawade
3e123d8298
map network_os to ncclient device_params (#36819) (#36913)
* map network_os to ncclient device_params

Fixes #36786

* update device map

* Add default netconf fallback plugin

(cherry picked from commit b12e90311f)
2018-03-01 23:03:31 +05:30
John R Barker
617659a33c
Network Platform docs (#36814) (#36899)
* introduces platform docs

(cherry picked from commit 4f63123320)
2018-03-01 11:47:42 +00:00
Ganesh Nalawade
a275a39299
Fix eos_vrf integration test failures (#36893) (#36896)
(cherry picked from commit 5c2a1a6124)
2018-03-01 14:30:29 +05:30
Ganesh Nalawade
dce80b1364
Fix junos_command py3 related issues (#36782) (#36895)
Fixes #36204

*  tostring() input string shoulb be in byte string format
*  to_ele() input is required in unicode format
(cherry picked from commit 41d75783b5)
2018-03-01 14:29:54 +05:30
Trishna Guha
f3653747bb
Fix nxos_interface multiple issues (#36827) (#36891)
* fix interface_type

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* fix setting mtu, doc for state check param, doc for params applicable for ethernet intf

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* speed idempotence and add unittest

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* fabric_forwarding_anycast_gateway applicable for svi type intf only

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* fix speed

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 2fbfce06e7)
2018-03-01 11:19:02 +05:30
Chris Houseknecht
5c65fa3e00 Convert key to snake. Fixes #36845. (#36887) 2018-02-28 22:04:54 -06:00
John R Barker
f5684acee5
Updated the documentation of modules to match argspec including the type setting for bool parameters (#36821) (#36860)
(cherry picked from commit 60e39b9718)
2018-02-28 16:07:45 +00:00
John R Barker
bfbea05d26
Fix broken links (#36864) (#36866)
(cherry picked from commit 41c066eff9)
2018-02-28 15:56:45 +00:00
John R Barker
8040168c4f
aws_ssm_parameter_store module - value parameter should be no_log since it's often a secret (#36843) (#36859)
(cherry picked from commit 3f19ef680a)
2018-02-28 14:43:27 +00:00
Ondra Machacek
3257fe28f3 Fixes for oVirt modules (#36846)
* ovirt_vms: Fix boot devices idempotence

* ovirt_host_networks: Fix removing the label

* ovirt_vms: Fix NoneType in placement policy check

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1549082

* int("255.255.255.0" does not work, fixes issue #33867 (#36271)
2018-02-28 13:33:23 +00:00
John R Barker
f14e0e7ee3
clarify the slicing example (#36842) (#36847)
As stated by fellow contributors, update the slicing example

Resolves:
Related: #36625
Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>
(cherry picked from commit 8362ddd107)
2018-02-28 13:31:33 +00:00
John R Barker
d4252c89e9
nso_config break cycles in dependency sorting (#36828) (#36838)
False assumption that values can not have cyclic dependencies. Fix by
removing dependency on self and look for cycles, if found remove
dependency to get a partial sort done.
(cherry picked from commit 042c111563)
2018-02-28 11:33:18 +00:00