Fix distributed router rename error
When rename distributed router, we would first GET and then PUT. but PUT would occur errors if we didn't add "type" attribute. So this patch adds it. Change-Id: I85731368244314be1c8a83c97df186c561953d10
This commit is contained in:
parent
16200ab377
commit
f8acd41d2c
@ -1692,7 +1692,7 @@ def remove_irrelevant_keys_from_edge_request(edge_request):
|
||||
Having these keys fail the update edge NSX transaction
|
||||
"""
|
||||
for key in ['status', 'datacenterMoid', 'fqdn', 'version',
|
||||
'type', 'tenant', 'datacenterName',
|
||||
'tenant', 'datacenterName',
|
||||
'hypervisorAssist', 'universal', 'enableFips']:
|
||||
edge_request.pop(key, None)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user