Skip to content

Commit

Permalink
vmware_vswitch_info: Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuka committed May 6, 2022
1 parent 45fc038 commit 5a4caae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions plugins/modules/vmware_vswitch_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
- PyVmomi
options:
policies:
version_added: '2.4.0'
description:
- Gather information about Security, Traffic Shaping, as well as Teaming and failover.
- The property C(ts) stands for Traffic Shaping and C(lb) for Load Balancing.
version_added: '2.4.0'
type: bool
default: false
cluster_name:
Expand Down Expand Up @@ -146,9 +146,6 @@ def normalize_vswitch_info(vswitch_obj, policy_info):
if policy_info:
# Security info
if spec.policy.security:
promiscuous_mode = spec.policy.security.allowPromiscuous
mac_changes = spec.policy.security.macChanges
forged_transmits = spec.policy.security.forgedTransmits
vswitch_info_dict['security'] = (
[
spec.policy.security.allowPromiscuous,
Expand Down

0 comments on commit 5a4caae

Please sign in to comment.