def execute(self, server, config):
        logging.debug("delete security group")
        nc = get_openstack_neutron_client(config)
        security_group = nc.find_resource("security_group",
                                          server.name)
        try:
            if security_group:
                nc.delete_security_group(security_group["id"])
        except Exception as e:
            logging.warn("Could not delete security group: %s" % e)