Resource Type: onevnet

Defined in:
lib/puppet/type/onevnet.rb
Providers:
cli

Overview

OpenNebula Puppet type for onevnet

License: APLv2

Authors: Based upon initial work from Ken Barber Modified by Martin Alfke

Copyright initial provider had no copyright Deutsche Post E-POST Development GmbH - 2014, 2015

require ‘IPAddress’

Properties

  • addressrange

    Leases to assign in fixed networking. Needs IP and MAC as hash

  • bridge

    Name of the physical bridge on each host to use.

  • context

    A hash of context information to also store in the template.

  • dnsservers

    Array of DNS servers to use

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • gateway

    Gateway for network

  • globalprefix

    Global prefix for IPv6 network

  • macstart

    IPv6 MAC start address for ranged IPv6 networks

  • model

    Network model to use. Can be any of vlan (=8021q), ebtables, ovswitch, vmware

    Supported values:
    • vlan
    • ebtables
    • ovswitch
    • vmware
    • dummy
  • network_address

    Base network address for IPv4 networks.

  • network_mask

    Base network mask for IPv4 networks.

  • network_size

    Network size for IPv6 ranged networks

  • phydev

    Name of the physical device on which the vnet is available

  • siteprefix
  • vlanid

    ID of 802.1Q VLAN ID

Parameters

  • name (namevar)

    Name of network.

  • provider

    The specific backend to use for this ‘onevnet` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.