Implement vnflcm call_req_aai function
[vfc/gvnfm/vnflcm.git] / lcm / lcm / nf / vnfs / vnf_cancel / delete_vnf_identifier.py
index 33eb7de..1eedb54 100644 (file)
@@ -13,8 +13,6 @@
 # limitations under the License.
 import logging
 
-from lcm.pub.aaiapi.aai import call_aai
-from lcm.pub.config.config import AAI_BASE_URL
 from lcm.pub.database.models import NfInstModel, NfvoRegInfoModel
 
 logger = logging.getLogger(__name__)
@@ -35,8 +33,3 @@ class DeleteVnf:
         #    raise NFLCMException("Don't allow to delete vnf(status:[%s])" % sel_vnf.status)
         NfInstModel.objects.filter(nfinstid=self.nf_inst_id).delete()
         NfvoRegInfoModel.objects.filter(nfvoid=self.nf_inst_id).delete()
-
-    def delete_data_from_aai(self, req_data):
-        full_url = AAI_BASE_URL + "api/aai-service-design-and-creation/v1/%s" % self.nf_inst_id
-        del_result = call_aai(full_url, "DELETE", req_data)
-        pass
\ No newline at end of file