def set_onap_components(self): """ Set ONAP component objects """ self.my_aai = aai.Aai(PROXY, LOGGER) self.my_so = so.So(PROXY, LOGGER) self.my_sdnc = sdnc.Sdnc(PROXY, LOGGER)
def set_onap_components(self): """ Set ONAP component objects """ self.components["aai"] = aai.Aai(PROXY, self.__logger) self.components["so"] = so.So(PROXY, self.__logger) self.components["sdnc"] = sdnc.Sdnc(PROXY, self.__logger) self.components["nbi"] = nbi.Nbi(PROXY, self.__logger)
def set_onap_components(self): """ Set ONAP component objects """ self.components["aai"] = aai.Aai(PROXY, self.__logger) # when Debug mode is activated,we won't destroy a Failed stack : Rollback is disabled self.components["so"] = so.So(PROXY, self.__logger, disableRollback=self.DebugActivated) self.components["sdnc"] = sdnc.Sdnc(PROXY, self.__logger) # No need to init the NBI module is not used if "nbi" in self.vnf_config and self.vnf_config["nbi"]: self.components["nbi"] = nbi.Nbi(PROXY, self.__logger)
def setUp(self): self.my_aai = aai.Aai(proxy=self._PROXY, LOGGER=self._LOGGER)
def setUp(self): PROXY = onap_utils.get_config("general.proxy") self.my_aai = aai.Aai(PROXY, self.__logger)