bonding

Manage and configure bonding on RedHat/CentOS. Two interfaces in two different cards

Javier Calles

jcalles

9,682 downloads

7,610 latest version

2.2 quality score

Version information

  • 0.0.3 (latest)
  • 0.0.2
  • 0.0.1
released Aug 27th 2015

Start using this module

Documentation

jcalles/bonding — version 0.0.3 Aug 27th 2015

##Puppet bonding module

License

Apache License, Version 2.0

Contact

javiercalles@gmail.com

Support

https://groups.google.com/forum/#!forum/puppet-venezuela

Please log tickets and issues at our

Project Site

Manages and configures the bonding between two network ports on two different cards

NIC ONE NIC TWO


| eth0 | eth1 | eth2 | eth3 | | eth4 | eth5 | eth6 | eth7 |

     1                                      1

Variables

Here you should define a list of variables that this module would require.

dns       =>    #namserver
bond      =>    #bonding interface
mode      =>    0,1,2,3,4,5,6
#balance-rr=0,
#active-backup=1                    
#balancexor=2
#broadcast=3,
#802.3ad=4,
#balance-tlb=5,
#balance-alb=6 
netmask   =>    #Network mask 
lacp_rate =>    
#slow or 0 — Default setting. This specifies that partners
#should transmit LACPDUs every 30 seconds.
#fast or 1 — Specifies that partners should transmit LACPDUs every 1 second. 
miimon    =>    #Specifies (in milliseconds) how often MII link monitoring occurs
domain    =>    #Domain 
Examples

node 'fqdn' { class {'bonding': stage => 'post'} # Previamente definido en el site.pp sino, solo "include bonding" bonding::config{'bonding': dns => '10.10.10.11',
bond => 'bond0',
mode => '4',
netmask => '255.255.255.0', lacp_rate => '1',
miimon => '100',
domain => 'mydomain.com',

}

##Author

Javier Calles <javiercalles@gmail.com

##Copyright

Copyright 2015

Javier Calles