Add list method to the qos profile
Change-Id: I826e1e9a58ffc48806009d81a024bd62689530f4
This commit is contained in:
parent
0c2c8c8dab
commit
4d6a842167
|
@ -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…
Reference in New Issue