diff options
author | DR695H <dr695h@att.com> | 2019-05-22 17:03:02 -0400 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2019-05-22 17:03:42 -0400 |
commit | 999ad5e59440c4d49957bd9d55ba85ef2fb39b11 (patch) | |
tree | f8ab1fc7057baa0cdc3acf3e9b6ed484e99d2cfe | |
parent | 43f18d19dc859f4bf59b1f21aa921d8674d5e977 (diff) |
cleanup descriptions of the method names
Change-Id: I3559038d57122f481928a214d071f6bce5748314
Issue-ID: TEST-157
Signed-off-by: DR695H <dr695h@att.com>
-rw-r--r-- | robotframework-onap/ONAPLibrary/ServiceMappingKeywords.py | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/robotframework-onap/ONAPLibrary/ServiceMappingKeywords.py b/robotframework-onap/ONAPLibrary/ServiceMappingKeywords.py index 610ee57..5ed572e 100644 --- a/robotframework-onap/ONAPLibrary/ServiceMappingKeywords.py +++ b/robotframework-onap/ONAPLibrary/ServiceMappingKeywords.py @@ -32,7 +32,8 @@ class ServiceMappingKeywords(object): @keyword def get_service_folder_mapping(self, alias, service): - """returns an array of strings with the folder where the vnf's heat files are stored """ + """returns an array of strings with metadata that identifies the folders to be zipped and + uploaded to SDC for model distribution for a given Service """ return self._service_mapping(alias, service)['GLOBAL_SERVICE_FOLDER_MAPPING'][service] @keyword @@ -42,7 +43,8 @@ class ServiceMappingKeywords(object): @keyword def get_service_neutron_mapping(self, alias, service): - """returns an array of strings that lists the neutron networks needed in this service """ + """returns an array of strings that lists the neutron networks needed in this service. + Map the service to the list of Generic Neutron Networks to be orchestrated """ return self._service_mapping(alias, service)['GLOBAL_SERVICE_GEN_NEUTRON_NETWORK_MAPPING'][service] @keyword @@ -52,13 +54,16 @@ class ServiceMappingKeywords(object): @keyword def get_service_template_mapping(self, alias, service, vnf): - """returns an array of strings that are the heat templates for this vnf """ + """returns an array of strings that are the heat templates for this vnf. This metadata identifes the preloads + that need to be done for a VNF as there may be more than one (vLB) "template" maps to the parameters + in the preload_paramenters.py """ return self._service_mapping(alias, service)['GLOBAL_SERVICE_TEMPLATE_MAPPING'][vnf] """@PendingDeprecationWarning""" @keyword def get_validate_name_mapping(self, alias, service, vnf): - """returns an array of strings that are the names to validate in heatbridge for the vnf """ + """returns an array of strings that are the names to validate in heatbridge for the vnf. + Used by the Heatbridge Validate Query to A&AI to locate the vserver name""" return self._service_mapping(alias, service)['GLOBAL_VALIDATE_NAME_MAPPING'][vnf] def _service_mapping(self, alias, service): |