示例#1
0
 def delete(self, request, obj_id):
     try:
         neutron.networktemplate_delete(request, obj_id)
     except Exception as e:
         LOG.info(str(e))
         messages.error(
             request, _("Unable to delete template. Template may "
                        "be in use by a tenant."))
示例#2
0
 def delete(self, request, template_id):
     result = bsnneutron.networktemplate_delete(request, template_id)
     return result
示例#3
0
 def delete(self, request, template_id):
     result = bsnneutron.networktemplate_delete(request, template_id)
     return result