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)
评论列表
文章目录