Add list method to the qos profile

Change-Id: I826e1e9a58ffc48806009d81a024bd62689530f4
This commit is contained in:
Adit Sarfaty 2017-03-15 17:11:12 +02:00
parent 0c2c8c8dab
commit 4d6a842167
1 changed files with 4 additions and 0 deletions

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)