Ejemplo n.º 1
0
 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)
Ejemplo n.º 3
0
    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)
Ejemplo n.º 4
0
 def setUp(self):
     self.my_aai = aai.Aai(proxy=self._PROXY, LOGGER=self._LOGGER)
Ejemplo n.º 5
0
 def setUp(self):
     PROXY = onap_utils.get_config("general.proxy")
     self.my_aai = aai.Aai(PROXY, self.__logger)