Merge "Add list method to the qos profile"
This commit is contained in:
commit
5e66753f14
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user