Resource Type: address_object

Defined in:
lib/puppet/type/address_object.rb
Providers:
address_object

Overview

Manage the configuration of Oracle Solaris address objects

Properties

  • address

    A literal IP address or a hostname corresponding to the local end-point. An optional prefix length may be specified. Only valid with an address_type of 'static'

  • address_type

    The type of address object to create. Valid values are static, dhcp, addrconf.

    Supported values:
    • static
    • dhcp
    • addrconf
    • from_gz
    • inherited
    • vrrp
  • down

    Specifies that the configured address should be marked down. Only valid with an address_type of 'static'.

    Supported values:
    • true
    • false
  • enable

    Specifies the address object should be enabled or disabled. This property is only applied temporarily, until next reboot.

    Supported values:
    • true
    • false
  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • hostname

    Specifies the hostname to which the client would like the DHCP server to map the client's leased IPv4 address. Only valid with an address_type of 'dhcp'

  • interface_id

    Specifies the local interface ID to be used for generating auto-configured addresses. Only valid with an address_type of 'addrconf' Interface ID is a valid IPv6 64-bit hex identifier such as ::1a:2b:3c:4d fe80::1a:2b:3c:4d 2001:0db8:85a3:0000:0000:8a2e:0370:7334

  • remote_address

    A literal IP address or a hostname corresponding to an optional remote end-point. An optional prefix length may be specified. Only valid with an address_type of 'static'

  • remote_interface_id

    Specifies an optional remote interface ID to be used for generating auto-configured addresses. Only valid with an address_type of 'addrconf' Interface ID is a valid IPv6 64-bit hex identifier such as ::1a:2b:3c:4d fe80::1a:2b:3c:4d 2001:0db8:85a3:0000:0000:8a2e:0370:7334

  • routername

    A literal IP address or a hostname. Specifies the VRRP router name this vrrp address is created for. For l2 type VRRP router, 'routername' is optional as the VRRP router name can be directly derived from the interface (VRRP VNIC) this address is created on. But it will be vali- dated if specified. For l3 type VRRP router, this option is mandatory.

  • seconds

    Specifies the amount of time in seconds to wait until the operation completes. Only valid with an address_type of 'dhcp'. Valid values are a numerical value in seconds or 'forever'

    Supported values:
    • /^\d+$/
    • forever
  • stateful

    Specifies if stateful auto-configuration should be enabled or not.

    Supported values:
    • yes
    • no
  • stateless

    Specifies if stateless auto-configuration should be enabled or not.

    Supported values:
    • yes
    • no

Parameters

  • name (namevar)

    The name of the address object or interface.

  • temporary

    Optional parameter that specifies that the address object is temporary. Temporary address objects last until the next reboot.

    Supported values:
    • true
    • false