other_nic_extractor

Author: Athanasios Gkaraliakos email: a.gkaraliakos@gmail.com email: athanasios.gkaraliakos@cern.ch

The script is written on python >=2.6

Script to identify all network interfaces expect main used by the current box.

bin.other_nic_extractor.other_nic_extractor(all_nics=False)[source]

This function returns a list with all network interfaces or all except the main ( the one that listens to the outside)

Parameters:all_nics – This flag tell the script whether to return all interface except main or everything
Returns:List of network interface names