» aci_l2_interface_policy

Manages ACI L2 Interface Policy

» Example Usage

    resource "aci_l2_interface_policy" "fool2_interface_policy" {
        description = "%s"
        name        = "demo_l2_pol"
        annotation  = "tag_l2_pol"
        name_alias  = "alias_l2_pol"
        qinq        = "disabled"
        vepa        = "disabled"
        vlan_scope  = "global"
    }

» Argument Reference

  • name - (Required) name of Object l2_interface_policy.
  • annotation - (Optional) annotation for object l2_interface_policy.
  • name_alias - (Optional) name_alias for object l2_interface_policy.
  • qinq - (Optional) Determines if QinQ is disabled or if the port should be considered a core or edge port.Allowed values are "disabled", "edgePort", "corePort" and "doubleQtagPort". Default is "disabled".
  • vepa - (Optional) Determines if Virtual Ethernet Port Aggregator is disabled or enabled. Allowed values are "disabled" and "enabled". Default is "disabled".
  • vlan_scope - (Optional) The scope of the VLAN. Allowed values are "global" and "portlocal". Default is "global".

» Attribute Reference

The only attribute that this resource exports is the id, which is set to the Dn of the L2 Interface Policy.

» Importing

An existing L2 Interface Policy can be imported into this resource via its Dn, via the following command:

terraform import aci_l2_interface_policy.example <Dn>