Jira (FACT-824) Reduce calls to 'ip link show' in Facter::Util::IP

2015-02-16 Thread Arthur Holstvoogd (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Arthur Holstvoogd commented on  FACT-824 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Reduce calls to 'ip link show' in Facter::Util::IP  
 
 
 
 
 
 
 
 
 
 
I'll make a pull request to improve this. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-824) Reduce calls to 'ip link show' in Facter::Util::IP

2015-02-16 Thread Arthur Holstvoogd (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Arthur Holstvoogd created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-824 
 
 
 
  Reduce calls to 'ip link show' in Facter::Util::IP  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Improvement 
 
 
 

Affects Versions:
 

 FACT 1.7.4 
 
 
 

Assignee:
 
 Arthur Holstvoogd 
 
 
 

Created:
 

 2015/02/16 12:23 AM 
 
 
 

Environment:
 
 
Linux (Debian 7.8 Wheezy) 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Arthur Holstvoogd 
 
 
 
 
 
 
 
 
 
 
Facter::Util:IP.get_interface_value calls get_bonding_interface for every possible value. However the result is only used for macaddress lookups. 
Since get_bonding_interface makes a call to `ip link show` this can become a performance issue if many interfaces are present. 
Already affects facter 1.5.3. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment