|
|
|
@ -108,7 +108,7 @@ options:
|
|
|
|
|
description:
|
|
|
|
|
- The type of interface for the static EPG deployement.
|
|
|
|
|
type: str
|
|
|
|
|
choices: [ fex, port_channel, switch_port, vpc ]
|
|
|
|
|
choices: [ breakout, fex, port_channel, switch_port, vpc ]
|
|
|
|
|
default: switch_port
|
|
|
|
|
version_added: '2.6'
|
|
|
|
|
state:
|
|
|
|
@ -280,6 +280,7 @@ from ansible.module_utils.network.aci.aci import ACIModule, aci_argument_spec
|
|
|
|
|
from ansible.module_utils.basic import AnsibleModule
|
|
|
|
|
|
|
|
|
|
INTERFACE_TYPE_MAPPING = dict(
|
|
|
|
|
breakout='uni/infra/funcprof/brkoutportgrp-{0}',
|
|
|
|
|
fex='uni/infra/funcprof/accportgrp-{0}',
|
|
|
|
|
port_channel='uni/infra/funcprof/accbundle-{0}',
|
|
|
|
|
switch_port='uni/infra/funcprof/accportgrp-{0}',
|
|
|
|
@ -300,7 +301,7 @@ def main():
|
|
|
|
|
from_card=dict(type='str', aliases=['from_card_range']),
|
|
|
|
|
to_card=dict(type='str', aliases=['to_card_range']),
|
|
|
|
|
policy_group=dict(type='str', aliases=['policy_group_name']),
|
|
|
|
|
interface_type=dict(type='str', default='switch_port', choices=['fex', 'port_channel', 'switch_port', 'vpc']),
|
|
|
|
|
interface_type=dict(type='str', default='switch_port', choices=['breakout', 'fex', 'port_channel', 'switch_port', 'vpc']),
|
|
|
|
|
state=dict(type='str', default='present', choices=['absent', 'present', 'query']),
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|