示例#1
0
 def _after_unplug(self, instance, network, mapping, pif):
     client = VIFINFOClient(FLAGS.quantum_connection_host,
                            FLAGS.quantum_connection_port)
     try:
         client.delete_vifinfo(mapping['vif_uuid'])
     except (exception.NovaException,
             exc.HTTPNotFound, exc.HTTPInternalServerError), e:
         LOG.warn("client.delete_vifinfo(%s) is failed. (ignored): %s",
                  mapping['vif_uuid'], e)