mirror of https://github.com/apache/cloudstack.git
bug 6268: cloud-private is actually the management interface
This commit is contained in:
parent
e564169239
commit
4d04a13a4a
|
|
@ -1447,7 +1447,7 @@ def get_private_nic( args):
|
|||
pifrec = session.xenapi.PIF.get_record(pif)
|
||||
network = pifrec.get('network')
|
||||
nwrec = session.xenapi.network.get_record(network)
|
||||
if nwrec.get('name_label') == 'cloud-private':
|
||||
if nwrec.get('name_label') == 'cloud-guest':
|
||||
return pifrec.get('device')
|
||||
if pifrec.get('management'):
|
||||
mgmtnic = pifrec.get('device')
|
||||
|
|
|
|||
Loading…
Reference in New Issue