Browse Source

Remove misplaced admin_state check

Change-Id: I6129b9af3f56adfcbfc6013e74d41fbef9e3241a
changes/22/707122/1
asarfaty Adit Sarfaty 2 weeks ago
parent
commit
407a028fbd
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

@@ -1011,14 +1011,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