The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Feature #9573

Add fact that exposes details about bonding interfaces on Linux

Added by Krzysztof Wilczynski about 3 years ago. Updated about 1 year ago.

Status:In Topic Branch Pending ReviewStart date:09/17/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Keywords: Affected Facter version:
Branch:https://github.com/puppetlabs/facter/pull/535

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket may be automatically exported to the FACT project on JIRA using the button below:


Description

I needed a distribution-agnostic fact that was exposing bonding interfaces with their configuration details.

Example of the output:

root@germany:~# facter -p | grep -i bonding
bonding_bond0_active_slave => eth4
bonding_bond0_mode => active-backup
bonding_bond0_primary_slave => none
bonding_bond0_slaves => eth0,eth4
bonding_bond0_status => up
bonding_bond1_active_slave => eth5
bonding_bond1_mode => active-backup
bonding_bond1_primary_slave => none
bonding_bond1_slaves => eth1,eth5
bonding_bond1_status => up
bonding_bond2_active_slave => eth6
bonding_bond2_mode => active-backup
bonding_bond2_primary_slave => none
bonding_bond2_slaves => eth2,eth6
bonding_bond2_status => up
bonding_interfaces => bond0,bond1,bond2

The code can be reviewed here: bonding.rb; or available in the repository: facter-facts.

I need to write tests for it :–)

KW

History

#1 Updated by James Turnbull about 3 years ago

  • Status changed from Unreviewed to Accepted

#2 Updated by Ken Barber almost 3 years ago

  • Status changed from Accepted to Tests Insufficient
  • Target version set to 144

#3 Updated by Ken Barber almost 3 years ago

  • Target version changed from 144 to 186

#4 Updated by Krzysztof Wilczynski almost 3 years ago

  • Assignee deleted (Krzysztof Wilczynski)

#5 Updated by Anonymous over 2 years ago

  • Target version deleted (186)

#6 Updated by Adrien Thebo about 1 year ago

  • Status changed from Tests Insufficient to In Topic Branch Pending Review
  • Branch set to https://github.com/puppetlabs/facter/pull/535

Also available in: Atom PDF