Proper handling of lower case name for InternalLbVm Service Provider (#55087)
This commit is contained in:
parent
c411883618
commit
56c553c55d
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ def main():
|
||||||
for nsp_name in nsps_enabled:
|
for nsp_name in nsps_enabled:
|
||||||
if nsp_name.lower() in ['virtualrouter', 'vpcvirtualrouter']:
|
if nsp_name.lower() in ['virtualrouter', 'vpcvirtualrouter']:
|
||||||
acs_network.set_vrouter_element_state(enabled=True, nsp_name=nsp_name)
|
acs_network.set_vrouter_element_state(enabled=True, nsp_name=nsp_name)
|
||||||
elif nsp_name == 'internallbvm':
|
elif nsp_name.lower() == 'internallbvm':
|
||||||
acs_network.set_loadbalancer_element_state(enabled=True, nsp_name=nsp_name)
|
acs_network.set_loadbalancer_element_state(enabled=True, nsp_name=nsp_name)
|
||||||
|
|
||||||
acs_network.update_nsp(name=nsp_name, state='Enabled')
|
acs_network.update_nsp(name=nsp_name, state='Enabled')
|
||||||
|
|
Loading…
Reference in a new issue