Exemplo n.º 1
0
 def self_mac_addresses(self):
     return [x[2] for x in self.state['INTERFACES'].values() if is_bool(x[0]) and x[2] is not None]
Exemplo n.º 2
0
 def mon_interfaces(self):
     return [i for i, x in self.state['INTERFACES'].items() if is_bool(x[0]) and x[0]]