Merge "Add list method to the qos profile"

This commit is contained in:
Jenkins 2017-03-21 07:14:59 +00:00 committed by Gerrit Code Review
commit 5e66753f14

View File

@ -366,6 +366,10 @@ class NsxLibQosSwitchingProfile(utils.NsxLibApiBase):
resource = 'switching-profiles/%s' % profile_id
return self.client.get(resource)
def list(self):
resource = 'switching-profiles'
return self.client.list(resource)
def delete(self, profile_id):
resource = 'switching-profiles/%s' % profile_id
self.client.delete(resource)