From 6349932fffeced70d49067686a2c2673f141d226 Mon Sep 17 00:00:00 2001 From: jeanfabrice Date: Tue, 5 Jun 2018 09:36:37 +0000 Subject: [PATCH] Add support for loadbalance_loadbased to DVS portgroup teaming policy (#40242) * Add support for loadbalance_loadbased to DVS portgroup teaming policy * Add note about version_added --- lib/ansible/modules/cloud/vmware/vmware_dvs_portgroup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/vmware/vmware_dvs_portgroup.py b/lib/ansible/modules/cloud/vmware/vmware_dvs_portgroup.py index eb814360a0..4a17bc22b7 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_dvs_portgroup.py +++ b/lib/ansible/modules/cloud/vmware/vmware_dvs_portgroup.py @@ -91,7 +91,8 @@ options: - Dictionary which configures the different teaming values for portgroup. - 'Valid attributes are:' - '- C(load_balance_policy) (string): Network adapter teaming policy. (default: loadbalance_srcid)' - - ' - choices: [ loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit]' + - ' - choices: [ loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, loadbalance_loadbased, failover_explicit]' + - ' - "loadbalance_loadbased" is available from version 2.6 and onwards' - '- C(inbound_policy) (bool): Indicate whether or not the teaming policy is applied to inbound frames as well. (default: False)' - '- C(notify_switches) (bool): Indicate whether or not to notify the physical switch if a link fails. (default: True)' - '- C(rolling_order) (bool): Indicate whether or not to use a rolling policy when restoring links. (default: False)' @@ -389,6 +390,7 @@ def main(): 'loadbalance_ip', 'loadbalance_srcmac', 'loadbalance_srcid', + 'loadbalance_loadbased', 'failover_explicit', ], )