Class: Ansible::Ruby::Modules::Aci_interface_policy_l2

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/aci/aci_intf_policy_l2.rb,
lib/ansible/ruby/modules/generated/network/aci/aci_interface_policy_l2.rb

Overview

Manage Layer 2 interface policies on Cisco ACI fabrics.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#descriptionString?

Returns The description of the Layer 2 interface policy.

Returns:

  • (String, nil)

    The description of the Layer 2 interface policy.



16
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_intf_policy_l2.rb', line 16

attribute :description

#l2_policyString

Returns The name of the Layer 2 interface policy.

Returns:

  • (String)

    The name of the Layer 2 interface policy.



12
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_intf_policy_l2.rb', line 12

attribute :l2_policy

#qinq:core, ...

Returns Determines if QinQ is disabled or if the port should be considered a core or edge port.,The APIC defaults to C(disabled) when unset during creation.

Returns:

  • (:core, :disabled, :edge, nil)

    Determines if QinQ is disabled or if the port should be considered a core or edge port.,The APIC defaults to C(disabled) when unset during creation.



20
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_intf_policy_l2.rb', line 20

attribute :qinq

#state:absent, ...

Returns Use C(present) or C(absent) for adding or removing.,Use C(query) for listing an object or multiple objects.

Returns:

  • (:absent, :present, :query, nil)

    Use C(present) or C(absent) for adding or removing.,Use C(query) for listing an object or multiple objects.



32
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_intf_policy_l2.rb', line 32

attribute :state

#vepaSymbol?

Returns Determines if Virtual Ethernet Port Aggregator is disabled or enabled.,The APIC defaults to C(no) when unset during creation.

Returns:

  • (Symbol, nil)

    Determines if Virtual Ethernet Port Aggregator is disabled or enabled.,The APIC defaults to C(no) when unset during creation.



24
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_intf_policy_l2.rb', line 24

attribute :vepa

#vlan_scope:global, ...

Returns The scope of the VLAN.,The APIC defaults to C(global) when unset during creation.

Returns:

  • (:global, :portlocal, nil)

    The scope of the VLAN.,The APIC defaults to C(global) when unset during creation.



28
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_intf_policy_l2.rb', line 28

attribute :vlan_scope