Add uri_segment to NsxLibTrustManagement class
This will allow using the default get/list methods Change-Id: Iae264517b83e48066ef4fecb7f73bdb5e3e753a8
This commit is contained in:
parent
1c11a9d941
commit
9620aa4303
|
@ -29,6 +29,10 @@ USER_GROUP_TYPES = [
|
||||||
|
|
||||||
class NsxLibTrustManagement(utils.NsxLibApiBase):
|
class NsxLibTrustManagement(utils.NsxLibApiBase):
|
||||||
|
|
||||||
|
@property
|
||||||
|
def uri_segment(self):
|
||||||
|
return CERT_SECTION
|
||||||
|
|
||||||
def create_cert_list(self, cert_pem, private_key=None, passphrase=None,
|
def create_cert_list(self, cert_pem, private_key=None, passphrase=None,
|
||||||
tags=None):
|
tags=None):
|
||||||
resource = CERT_SECTION + '?action=import'
|
resource = CERT_SECTION + '?action=import'
|
||||||
|
|
Loading…
Reference in New Issue