Follow-up patch of RPC refactoring of bug
1359416.
It addresses minor comments in the above patch series.
Change-Id: I2d6268db777f0f73fda61a5a7d0967a91bcb292b
Closes-Bug: #
1359416
# TODO(amotoki): Move security group RPC API and agent callback
-# from securitygroups_rpc.py.
+# from neutron/agent/securitygroups_rpc.py.
class SecurityGroupServerRpcCallback(n_rpc.RpcCallback):
- """Callback for SecurityGroup agent RPC in plugin implementations.
-
- Subclass which inherits this class must implement get_port_from_device().
- """
+ """Callback for SecurityGroup agent RPC in plugin implementations."""
# API version history:
# 1.1 - Initial version
# 1.0 Initial version (from openvswitch/linuxbridge)
# 1.1 Support Security Group RPC
# 1.2 Support get_devices_details_list
- # 1.3 Support Distributed Virtual Router (DVR)
+ # 1.3 get_device_details rpc signature upgrade to obtain 'host' and
+ # return value to include fixed_ips and device_owner for
+ # the device port
def __init__(self, notifier, type_manager):
self.setup_tunnel_callback_mixin(notifier, type_manager)