|
|
|
@ -55,13 +55,13 @@ options:
|
|
|
|
|
- The APIC defaults the Deployement Immediacy to C(lazy).
|
|
|
|
|
choices: [ immediate, lazy ]
|
|
|
|
|
default: lazy
|
|
|
|
|
mode:
|
|
|
|
|
interface_mode:
|
|
|
|
|
description:
|
|
|
|
|
- Mode of static EPG deployement.
|
|
|
|
|
- The APIC defaults the mode to C(regular).
|
|
|
|
|
choices: [ untagged, native, regular ]
|
|
|
|
|
default: regular
|
|
|
|
|
aliases: [ mode_name ]
|
|
|
|
|
- Determines how layer 2 tags will be read from and added to frames.
|
|
|
|
|
- The APIC defaults the mode to C(trunk).
|
|
|
|
|
choices: [ access, trunk, 802.1p ]
|
|
|
|
|
default: trunk
|
|
|
|
|
aliases: [ mode, interface_mode_name ]
|
|
|
|
|
connection_type:
|
|
|
|
|
description:
|
|
|
|
|
- The Path Type for the static EPG deployement.
|
|
|
|
@ -107,7 +107,7 @@ EXAMPLES = r'''
|
|
|
|
|
encap: 222
|
|
|
|
|
# primary_encap: 11
|
|
|
|
|
deploy_immediacy: lazy
|
|
|
|
|
mode: regular
|
|
|
|
|
interface_mode: access
|
|
|
|
|
connection_type: access_interface
|
|
|
|
|
pod: 1
|
|
|
|
|
paths: 1011
|
|
|
|
@ -136,7 +136,7 @@ def main():
|
|
|
|
|
encap=dict(type='int', aliases=['encapsulation']),
|
|
|
|
|
primary_encap=dict(type='int', aliases=['primary_encapsulation']),
|
|
|
|
|
deploy_immediacy=dict(type='str', choices=['immediate', 'lazy']),
|
|
|
|
|
mode=dict(type='str', choices=['untagged', 'native', 'regular'], aliases=['mode_name']),
|
|
|
|
|
interface_mode=dict(type='str', choices=['access', 'tagged', '802.1p'], aliases=['mode', 'interface_mode_name']),
|
|
|
|
|
connection_type=dict(type='str', choices=['access_interface', 'virtual_port_channel', 'direct_port_channel', 'fex'], required=True),
|
|
|
|
|
# NOTE: C(pod) is usually an integer below 10.
|
|
|
|
|
pod=dict(type='int', aliases=['pod_number']),
|
|
|
|
@ -165,7 +165,7 @@ def main():
|
|
|
|
|
encap = module.params['encap']
|
|
|
|
|
primary_encap = module.params['primary_encap']
|
|
|
|
|
deploy_immediacy = module.params['deploy_immediacy']
|
|
|
|
|
mode = module.params['mode']
|
|
|
|
|
interface_mode = module.params['interface_mode']
|
|
|
|
|
connection_type = module.params['connection_type']
|
|
|
|
|
pod = module.params['pod']
|
|
|
|
|
paths = module.params['paths']
|
|
|
|
@ -240,7 +240,7 @@ def main():
|
|
|
|
|
encap=encap,
|
|
|
|
|
primaryEncap=primary_encap,
|
|
|
|
|
instrImedcy=deploy_immediacy,
|
|
|
|
|
mode=mode,
|
|
|
|
|
mode=interface_mode,
|
|
|
|
|
tDn=static_path,
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|