Resource Type: neutron_subnet
- Defined in:
 - lib/puppet/type/neutron_subnet.rb
 
- Providers:
 - 
      
        openstack
 
Overview
Symbolic name for the subnet
Properties
- 
      allocation_pools
      
      
      
Array of Sub-ranges of cidr available for dynamic allocation to ports. Syntax:[“start=IPADDR,end=IPADDR”, …]
 - 
      cidr
      
      
      
CIDR representing IP range for this subnet, based on IP version
 - 
      dns_nameservers
      
      
      
‘Array of DNS name servers used by hosts in this subnet.’
 - 
      enable_dhcp
      
      
      
Whether DHCP is enabled for this subnet or not.
Supported values:- /(t|T)rue/
 - /(f|F)alse/
 
 - 
      ensure
      
       (defaults to: present)
      
      
      
The basic property that the resource should be in.
Supported values:- present
 - absent
 
 - 
      gateway_ip
      
      
      
The default gateway provided by DHCP to devices in this subnet. If set to ” then no gateway IP address will be provided via DHCP.
 - 
      host_routes
      
      
      
Array of routes that should be used by devices with IPs from this subnet (not including local subnet route). Syntax:[“destination=CIDR,nexhop=IP_ADDR”, …]
 - 
      id
      
      
      
The unique id of the subnet
 - 
      ip_version
      
      
      
The IP version of the CIDR
Supported values:- 4
 - 6
 
 - 
      ipv6_address_mode
      
      
      
The IPv6 Address mode
Supported values:- dhcpv6-stateful
 - dhcpv6-stateless
 - slaac
 
 - 
      ipv6_ra_mode
      
      
      
The IPv6 RA (Router Advertisement) mode
Supported values:- dhcpv6-stateful
 - dhcpv6-stateless
 - slaac
 
 - 
      network_id
      
      
      
A uuid identifying the network this subnet is associated with.
 - 
      project_id
      
      
      
A uuid identifying the project which will own the subnet.(DEPRECATED)
 - 
      tenant_id
      
      
      
A uuid identifying the tenant which will own the subnet.(DEPRECATED)
 
Parameters
- 
      name (namevar)
      
      
      
Symbolic name for the subnet
Supported values:- /.*/
 
 - 
      network_name
      
      
      
The name of the network this subnet is associated with.
 - 
      project_name
      
      
      
The name of the project which will own the subnet.(DEPRECATED)
 - 
      provider
      
      
      
The specific backend to use for this ‘neutron_subnet` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.
 - 
      tenant_name
      
      
      
The name of the tenant which will own the subnet.(DEPRECATED)