Class: Ansible::Ruby::Modules::Aci_bd_subnet
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Aci_bd_subnet
- Defined in:
- lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb
Overview
Manage Subnets on Cisco ACI fabrics.
Instance Method Summary collapse
-
#bd ⇒ String?
The name of the Bridge Domain.
-
#description ⇒ String?
The description for the Subnet.
-
#enable_vip ⇒ Symbol?
Determines if the Subnet should be treated as a VIP; used when the BD is extended to multiple sites.,The APIC defaults to C(no) when unset during creation.
-
#gateway ⇒ String?
The IPv4 or IPv6 gateway address for the Subnet.
-
#mask ⇒ Integer?
The subnet mask for the Subnet.,This is the number assocated with CIDR notation.,For IPv4 addresses, accepted values range between C(0) and C(32).,For IPv6 addresses, accepted Values range between C(0) and C(128).
-
#nd_prefix_policy ⇒ Object?
The IPv6 Neighbor Discovery Prefix Policy to associate with the Subnet.
-
#preferred ⇒ Symbol?
Determines if the Subnet is preferred over all available Subnets.
-
#route_profile ⇒ String?
The Route Profile to the associate with the Subnet.
-
#route_profile_l3_out ⇒ String?
The L3 Out that contains the assocated Route Profile.
-
#scope ⇒ :private, ...
Determines the scope of the Subnet.,The C(private) option only allows communication with hosts in the same VRF.,The C(public) option allows the Subnet to be advertised outside of the ACI Fabric, and allows communication with hosts in other VRFs.,The shared option limits communication to hosts in either the same VRF or the shared VRF.,The value is a list of options, C(private) and C(public) are mutually exclusive, but both can be used with C(shared).,The APIC defaults to C(private) when unset during creation.
-
#state ⇒ :absent, ...
Use C(present) or C(absent) for adding or removing.,Use C(query) for listing an object or multiple objects.
-
#subnet_control ⇒ :nd_ra, ...
Determines the Subnet’s Control State.,The C(querier_ip) option is used to treat the gateway_ip as an IGMP querier source IP.,The C(nd_ra) option is used to treate the gateway_ip address as a Neighbor Discovery Router Advertisement Prefix.,The C(no_gw) option is used to remove default gateway functionality from the gateway address.,The APIC defaults to C(nd_ra) when unset during creation.
-
#subnet_name ⇒ String?
The name of the Subnet.
-
#tenant ⇒ String?
The name of the Tenant.
Methods inherited from Base
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
#bd ⇒ String?
Returns The name of the Bridge Domain.
12 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 12 attribute :bd |
#description ⇒ String?
Returns The description for the Subnet.
16 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 16 attribute :description |
#enable_vip ⇒ Symbol?
Returns Determines if the Subnet should be treated as a VIP; used when the BD is extended to multiple sites.,The APIC defaults to C(no) when unset during creation.
20 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 20 attribute :enable_vip |
#gateway ⇒ String?
Returns The IPv4 or IPv6 gateway address for the Subnet.
24 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 24 attribute :gateway |
#mask ⇒ Integer?
Returns The subnet mask for the Subnet.,This is the number assocated with CIDR notation.,For IPv4 addresses, accepted values range between C(0) and C(32).,For IPv6 addresses, accepted Values range between C(0) and C(128).
28 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 28 attribute :mask |
#nd_prefix_policy ⇒ Object?
Returns The IPv6 Neighbor Discovery Prefix Policy to associate with the Subnet.
32 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 32 attribute :nd_prefix_policy |
#preferred ⇒ Symbol?
Returns Determines if the Subnet is preferred over all available Subnets. Only one Subnet per Address Family (IPv4/IPv6). can be preferred in the Bridge Domain.,The APIC defaults to C(no) when unset during creation.
35 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 35 attribute :preferred |
#route_profile ⇒ String?
Returns The Route Profile to the associate with the Subnet.
39 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 39 attribute :route_profile |
#route_profile_l3_out ⇒ String?
Returns The L3 Out that contains the assocated Route Profile.
43 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 43 attribute :route_profile_l3_out |
#scope ⇒ :private, ...
Returns Determines the scope of the Subnet.,The C(private) option only allows communication with hosts in the same VRF.,The C(public) option allows the Subnet to be advertised outside of the ACI Fabric, and allows communication with hosts in other VRFs.,The shared option limits communication to hosts in either the same VRF or the shared VRF.,The value is a list of options, C(private) and C(public) are mutually exclusive, but both can be used with C(shared).,The APIC defaults to C(private) when unset during creation.
47 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 47 attribute :scope |
#state ⇒ :absent, ...
Returns Use C(present) or C(absent) for adding or removing.,Use C(query) for listing an object or multiple objects.
63 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 63 attribute :state |
#subnet_control ⇒ :nd_ra, ...
Returns Determines the Subnet’s Control State.,The C(querier_ip) option is used to treat the gateway_ip as an IGMP querier source IP.,The C(nd_ra) option is used to treate the gateway_ip address as a Neighbor Discovery Router Advertisement Prefix.,The C(no_gw) option is used to remove default gateway functionality from the gateway address.,The APIC defaults to C(nd_ra) when unset during creation.
51 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 51 attribute :subnet_control |
#subnet_name ⇒ String?
Returns The name of the Subnet.
55 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 55 attribute :subnet_name |
#tenant ⇒ String?
Returns The name of the Tenant.
59 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_bd_subnet.rb', line 59 attribute :tenant |