Merge branch 'tau' into tau_placeholder-add-ux-bug
This commit is contained in:
commit
ce80d1f3c2
|
@ -11,7 +11,7 @@ from utils.constants import ALGOS, CHASSIS_DH
|
||||||
|
|
||||||
|
|
||||||
def get_network_cards(child, nets):
|
def get_network_cards(child, nets):
|
||||||
if child['id'] == 'network':
|
if child['id'] == 'network' and "PCI:" in child.get("businfo"):
|
||||||
nets.append(child)
|
nets.append(child)
|
||||||
if child.get('children'):
|
if child.get('children'):
|
||||||
[get_network_cards(x, nets) for x in child['children']]
|
[get_network_cards(x, nets) for x in child['children']]
|
||||||
|
|
Loading…
Reference in a new issue