Fix cluster host network when mgmt is tagged
When management interface is tagged on pxeboot, the cluster-host network should be assigned to the mgmt interface by default, not the pxeboot interface. This commit is to set the vlan id of the cluster-host interface to that of the management interface if the cluster-host interface is not specified in the configuration file. Closes-Bug: 1815053 Change-Id: Ia9b003af118df21eecba4d1b644c2738761e7553 Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
This commit is contained in:
parent
fe59705dd1
commit
e7c0133967
|
@ -2475,7 +2475,7 @@ class ConfigAssistant():
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
user_input = input(
|
user_input = input(
|
||||||
"Configure an cluster host VLAN [y/N]: ")
|
"Configure a cluster host VLAN [y/N]: ")
|
||||||
if user_input.lower() == 'q':
|
if user_input.lower() == 'q':
|
||||||
raise UserQuit
|
raise UserQuit
|
||||||
elif user_input.lower() == 'y':
|
elif user_input.lower() == 'y':
|
||||||
|
@ -3223,6 +3223,7 @@ class ConfigAssistant():
|
||||||
self.cluster_host_interface_name = \
|
self.cluster_host_interface_name = \
|
||||||
self.management_interface_name
|
self.management_interface_name
|
||||||
self.cluster_host_interface = self.management_interface
|
self.cluster_host_interface = self.management_interface
|
||||||
|
self.cluster_host_vlan = self.management_vlan
|
||||||
self.cluster_host_interface_configured = True
|
self.cluster_host_interface_configured = True
|
||||||
|
|
||||||
# External OAM network configuration
|
# External OAM network configuration
|
||||||
|
|
Loading…
Reference in New Issue