Add uri_segment to NsxLibTrustManagement class

This will allow using the default get/list methods

Change-Id: Iae264517b83e48066ef4fecb7f73bdb5e3e753a8
This commit is contained in:
asarfaty 2020-06-28 12:11:29 +02:00 committed by Adit Sarfaty
parent 5b29902ae9
commit 714e314b61
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ USER_GROUP_TYPES = [
class NsxLibTrustManagement(utils.NsxLibApiBase):
@property
def uri_segment(self):
return CERT_SECTION
def create_cert_list(self, cert_pem, private_key=None, passphrase=None,
tags=None):
resource = CERT_SECTION + '?action=import'