odl_net_l3vpn.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:gluon 作者: openstack 项目源码 文件源码
def modify_service(self, uuid, model, changes):
        """Called when attributes change on a bound port's service

        :param uuid: UUID of Service
        :param model: Model Object
        :param changes: dictionary of changed attributes
        :returns: None
        """
        LOG.info("modify_service: %s" % uuid)
        LOG.info(changes)

        LOG.info("Creating or updating VPN instance")
        vpn_instance = model.vpn_instances.get(uuid)
        if vpn_instance:
            self._create_or_update_service(vpn_instance)
        else:
            LOG.error("VPN instance %s not found" % uuid)
评论列表


问题


面经


文章

微信
公众号

扫码关注公众号