def port_get_tag(port):
 cmd = 'ovs-vsctl get port {0} tag'.format(port)
 result = __salt__['cmd.run_all'](cmd)
 retcode = result['retcode']
 stdout = result['stdout']
 return _stdout_list_split(retcode, stdout)

def port_get_tag ( port ) : cmd = 'ovs-vsctl get port {0} tag' . format ( port ) result = __salt__ [ 'cmd.run_all' ] ( cmd ) retcode = result [ 'retcode' ] stdout = result [ 'stdout' ] return _stdout_list_split ( retcode , stdout )
lists tags of the port .