mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
parent
d0d1158c5e
commit
e2c0b375d3
23 changed files with 51 additions and 57 deletions
|
@ -638,8 +638,8 @@ def main():
|
|||
('type','NS',['value']),
|
||||
('type','SPF',['value'])
|
||||
]
|
||||
),
|
||||
required_one_of = (
|
||||
),
|
||||
required_one_of = (
|
||||
[['record','value','type']]
|
||||
)
|
||||
)
|
||||
|
|
|
@ -419,8 +419,7 @@ def validate_feature(module, mode='show'):
|
|||
'ethernet-link-oam': 'elo',
|
||||
'port-security': 'eth_port_sec'
|
||||
},
|
||||
'config':
|
||||
{
|
||||
'config': {
|
||||
'nve': 'nv overlay',
|
||||
'vnseg_vlan': 'vn-segment-vlan-based',
|
||||
'hsrp_engine': 'hsrp',
|
||||
|
@ -435,7 +434,7 @@ def validate_feature(module, mode='show'):
|
|||
'elo': 'ethernet-link-oam',
|
||||
'eth_port_sec': 'port-security'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if feature in feature_to_be_mapped[mode]:
|
||||
feature = feature_to_be_mapped[mode][feature]
|
||||
|
|
|
@ -193,7 +193,7 @@ def main():
|
|||
authkey=dict(required=False),
|
||||
privkey=dict(required=False),
|
||||
removeplaceholder=dict(required=False)),
|
||||
required_together = ( ['username','level','integrity','authkey'],['privacy','privkey'],),
|
||||
required_together = ( ['username','level','integrity','authkey'],['privacy','privkey'],),
|
||||
supports_check_mode=False)
|
||||
|
||||
m_args = module.params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue