Add nsx-update to supported ops

nsx-update was missing from list of supported ops for dhcp-binding and edges
resources

Change-Id: Idb4cc0360d267e2d1166e9947e6dc26bcdaff19c
This commit is contained in:
Amey Bhide 2015-11-30 15:24:32 -08:00
parent bd4a4ef306
commit ee88416cbe

@ -81,11 +81,13 @@ nsxv3_resources = {
# Add supported NSX-V resources in this dictionary
nsxv_resources = {
constants.EDGES: Resource(constants.EDGES, [Operations.LIST.name,
Operations.CLEAN.name]),
Operations.CLEAN.name,
Operations.NSX_UPDATE.value]),
constants.SPOOFGUARD_POLICY: Resource(constants.SPOOFGUARD_POLICY,
[Operations.LIST.name]),
constants.DHCP_BINDING: Resource(constants.DHCP_BINDING,
[Operations.LIST.name]),
[Operations.LIST.name,
Operations.NSX_UPDATE.value]),
}
nsxv3_resources_names = map(lambda res: res.name, nsxv3_resources.itervalues())