def port_list(br):
 cmd = 'ovs-vsctl list-ports {0}'.format(br)
 result = __salt__['cmd.run_all'](cmd)
 retcode = result['retcode']
 stdout = result['stdout']
 return _stdout_list_split(retcode, stdout)

def port_list ( br ) : cmd = 'ovs-vsctl list-ports {0}' . format ( br ) result = __salt__ [ 'cmd.run_all' ] ( cmd ) retcode = result [ 'retcode' ] stdout = result [ 'stdout' ] return _stdout_list_split ( retcode , stdout )
lists all of the ports within bridge .