vmware-nsx/vmware_nsx/common
Gary Kotton c2d7155b70 NSX|V: make use of granular API for getting DHCP binding
NSX 6.2.8 and 6.3.3 support the granular API:

New GET api:

GET https://<nsxmanagerIp>/api/4.0/edges/<edge-id>/dhcp/config/bindings/<binding-id>
RESPONSE:
           <staticBinding>
                <autoConfigureDNS>false</autoConfigureDNS>
                <leaseTime>86400</leaseTime>
                <subnetMask>255.255.255.0</subnetMask>
                <bindingId>binding-1</bindingId>
                <vmId>vm-34</vmId>
                <vnicId>1</vnicId>
                <hostname>test</hostname>
                <vmName>3-vm_ubuntu_1404_srv_64-shared-1668-02458540-04f1-4508-8037-2f2ce5542b91</vmName>
                <ipAddress>12.12.12.1</ipAddress>
           </staticBinding>

2) Quering a binding with a invalid ID:
   GET https://<nsxmanagerIp>/api/4.0/edges/<edge-id>/dhcp/config/bindings/<binding-id>
   RESPONSE:
           <error>
                <details>[Dhcp] Static binding is not found: binding-2</details>
                <errorCode>12510</errorCode>
                <moduleName>vShield Edge</moduleName>
         </error>

Change-Id: If1049035797c525344c46e1ae7f664a7b9daa4a1
2017-08-04 15:45:05 +03:00
..
__init__.py Move vmware_nsx/neutron/plugins/vmware to vmware_nsx 2015-09-14 18:51:57 -07:00
availability_zones.py NSX-V| improve AZ validation 2017-03-26 13:37:07 +03:00
config.py Merge "NSX|v3: configure additional switching profiles per AZ" 2017-08-10 12:11:19 +00:00
driver_api.py NSXV+NSXV3: add support for pluggable extensions 2017-01-15 12:54:00 +00:00
exceptions.py NSXv: Support ipsec VPNaaS on nsxv driver 2017-07-11 06:03:19 -07:00
l3_rpc_agent_api.py Stop sending notifications for router update/delete 2017-02-05 05:47:35 +00:00
locking.py Change the lock trace message 2016-08-22 01:25:33 -07:00
managers.py Drop log translations 2017-03-26 05:09:02 -07:00
nsx_constants.py NSX|V3: fix trunk initialization 2017-06-26 03:58:51 -07:00
nsx_utils.py Drop log translations 2017-03-26 05:09:02 -07:00
nsxv_constants.py NSXv: Support ipsec VPNaaS on nsxv driver 2017-07-11 06:03:19 -07:00
securitygroups.py Change imports for IP_PROTOCOL_MAP 2016-02-05 09:00:04 -07:00
sync.py Stop using CommonDbMixin apis 2017-04-26 14:54:40 +00:00
utils.py NSX|V: make use of granular API for getting DHCP binding 2017-08-04 15:45:05 +03:00