Created
July 12, 2013 19:16
-
-
Save jhoblitt/5986988 to your computer and use it in GitHub Desktop.
network_config hypervisor example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
network_config { 'br13': | |
ensure => 'present', | |
family => 'inet', | |
method => 'static', | |
onboot => 'true', | |
options => {'DELAY' => '0', 'MTU' => '1500', 'TYPE' => 'Bridge'}, | |
} | |
network_config { 'br26': | |
ensure => 'present', | |
family => 'inet', | |
ipaddress => 'x.x.x.x', | |
method => 'static', | |
netmask => '255.255.255.0', | |
onboot => 'true', | |
options => {'DELAY' => '0', 'MTU' => '1500', 'TYPE' => 'Bridge'}, | |
} | |
network_config { 'br27': | |
ensure => 'present', | |
family => 'inet', | |
method => 'static', | |
onboot => 'true', | |
options => {'DELAY' => '0', 'MTU' => '9000', 'TYPE' => 'Bridge'}, | |
} | |
network_config { 'br28': | |
ensure => 'present', | |
family => 'inet', | |
method => 'static', | |
onboot => 'true', | |
options => {'DELAY' => '0', 'MTU' => '9000', 'TYPE' => 'Bridge'}, | |
} | |
network_config { 'br6': | |
ensure => 'present', | |
family => 'inet', | |
method => 'static', | |
onboot => 'true', | |
options => {'DELAY' => '0', 'MTU' => '1500', 'TYPE' => 'Bridge'}, | |
} | |
network_config { 'eth0': | |
ensure => 'present', | |
family => 'inet', | |
method => 'static', | |
onboot => 'true', | |
options => {'BRIDGE' => 'br26', 'HWADDR' => '00:25:90:60:AE:AA', 'IPV6INIT' => 'no', 'MTU' => '9000', 'NM_CONTROLLED' => 'no', 'TYPE' => 'Ethernet'}, | |
} | |
network_config { 'eth0.13': | |
ensure => 'present', | |
family => 'inet', | |
method => 'static', | |
onboot => 'true', | |
options => {'BRIDGE' => 'br13', 'HWADDR' => '00:25:90:60:AE:AA', 'IPV6INIT' => 'no', 'MTU' => '9000', 'NM_CONTROLLED' => 'no', 'TYPE' => 'Ethernet', 'VLAN' => 'yes'}, | |
} | |
network_config { 'eth0.27': | |
ensure => 'present', | |
family => 'inet', | |
method => 'static', | |
onboot => 'true', | |
options => {'BRIDGE' => 'br27', 'HWADDR' => '00:25:90:60:AE:AA', 'IPV6INIT' => 'no', 'MTU' => '9000', 'NM_CONTROLLED' => 'no', 'TYPE' => 'Ethernet', 'VLAN' => 'yes'}, | |
} | |
network_config { 'eth0.28': | |
ensure => 'present', | |
family => 'inet', | |
method => 'static', | |
onboot => 'true', | |
options => {'BRIDGE' => 'br28', 'HWADDR' => '00:25:90:60:AE:AA', 'IPV6INIT' => 'no', 'MTU' => '9000', 'NM_CONTROLLED' => 'no', 'TYPE' => 'Ethernet', 'VLAN' => 'yes'}, | |
} | |
network_config { 'eth0.6': | |
ensure => 'present', | |
family => 'inet', | |
method => 'static', | |
onboot => 'true', | |
options => {'BRIDGE' => 'br6', 'HWADDR' => '00:25:90:60:AE:AA', 'IPV6INIT' => 'no', 'MTU' => '9000', 'NM_CONTROLLED' => 'no', 'TYPE' => 'Ethernet', 'VLAN' => 'yes'}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment