def show_network(kwargs=None, call=None):
 if (call != 'function'):
  raise SaltCloudSystemExit('The show_network function must be called with -f or --function.')
 if ((not kwargs) or ('name' not in kwargs)):
  log.error('Must specify name of network.')
  return False
 conn = get_conn()
 return _expand_item(conn.ex_get_network(kwargs['name']))

def show_network ( kwargs = None , call = None ) : if ( call != 'function' ) : raise SaltCloudSystemExit ( 'The show_network function must be called with -f or --function.' ) if ( ( not kwargs ) or ( 'name' not in kwargs ) ) : log . error ( 'Must specify name of network.' ) return False conn = get_conn ( ) return _expand_item ( conn . ex_get_network ( kwargs [ 'name' ] ) )
fetches information of a certain network cli example: .