mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Have nodediscover list filter by -n
It is a reasonable expectation and useful feature to provide.
This commit is contained in:
parent
3429173c27
commit
d33365195b
@ -241,6 +241,8 @@ def list_matching_macs(options, session, node=None):
|
||||
path = '/discovery/'
|
||||
if node:
|
||||
path += 'by-node/{0}/'.format(node)
|
||||
elif options.node:
|
||||
path += 'by-node/{0}/'.format(options.node)
|
||||
if options.model:
|
||||
path += 'by-model/{0}/'.format(options.model)
|
||||
if options.serial:
|
||||
|
Loading…
Reference in New Issue
Block a user