Class: Ansible::Ruby::Modules::Junos_vlan

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/junos/junos_vlan.rb

Overview

This module provides declarative management of VLANs on Juniper JUNOS network devices.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#activeBoolean?

Returns Specifies whether or not the configuration is active or deactivated.

Returns:

  • (Boolean, nil)

    Specifies whether or not the configuration is active or deactivated



37
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vlan.rb', line 37

attribute :active

#aggregateArray<Hash>, ...

Returns List of VLANs definitions.

Returns:

  • (Array<Hash>, Hash, nil)

    List of VLANs definitions.



29
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vlan.rb', line 29

attribute :aggregate

#descriptionObject?

Returns Text description of VLANs.

Returns:

  • (Object, nil)

    Text description of VLANs.



23
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vlan.rb', line 23

attribute :description

#interfacesObject?

Returns List of interfaces to check the VLAN has been configured correctly.

Returns:

  • (Object, nil)

    List of interfaces to check the VLAN has been configured correctly.



26
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vlan.rb', line 26

attribute :interfaces

#l3_interfaceObject?

Returns Name of logical layer 3 interface.

Returns:

  • (Object, nil)

    Name of logical layer 3 interface.



20
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vlan.rb', line 20

attribute :l3_interface

#nameString

Returns Name of the VLAN.

Returns:

  • (String)

    Name of the VLAN.



12
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vlan.rb', line 12

attribute :name

#state:present, ...

Returns State of the VLAN configuration.

Returns:

  • (:present, :absent, nil)

    State of the VLAN configuration.



33
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vlan.rb', line 33

attribute :state

#vlan_idInteger

Returns ID of the VLAN. Range 1-4094.

Returns:

  • (Integer)

    ID of the VLAN. Range 1-4094.



16
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_vlan.rb', line 16

attribute :vlan_id