Browse Source

Remove misplaced admin_state check

Change-Id: I6129b9af3f56adfcbfc6013e74d41fbef9e3241a
tags/15.0.5
asarfaty 1 week ago
parent
commit
e89537c338
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      vmware_nsxlib/v3/policy/core_defs.py

+ 0
- 8
vmware_nsxlib/v3/policy/core_defs.py View File

@@ -1045,14 +1045,6 @@ class DhcpV6StaticBindingConfig(DhcpV4StaticBindingConfig):
'ip_addresses',
'sntp_servers',
'preferred_time'])
if (self.has_attr('admin_state') and
self._version_dependant_attr_supported('admin_state')):
if self.get_attr('admin_state'):
admin_state = nsx_constants.ADMIN_STATE_UP
else:
admin_state = nsx_constants.ADMIN_STATE_DOWN
self._set_attr_if_specified(body, 'admin_state',
value=admin_state)

return body


Loading…
Cancel
Save