def up(iface, iface_type):
 if (iface_type not in ['slave']):
  return __salt__['cmd.run']('ifup {0}'.format(iface))
 return None

def up ( iface , iface_type ) : if ( iface_type not in [ 'slave' ] ) : return __salt__ [ 'cmd.run' ] ( 'ifup {0}' . format ( iface ) ) return None
start up a network interface cli example: .