Fix comments in api.rpc.handlers

Follow-up patch of RPC refactoring of bug 1359416.
It addresses minor comments in the above patch series.

Change-Id: I2d6268db777f0f73fda61a5a7d0967a91bcb292b
Closes-Bug: #1359416
This commit is contained in:
Akihiro Motoki 2014-08-31 01:47:24 +09:00
parent 7c8cb7bd7a
commit dca5e033dd
2 changed files with 5 additions and 6 deletions

View File

@ -17,14 +17,11 @@ from neutron import manager
# 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

View File

@ -40,7 +40,9 @@ class RpcCallbacks(n_rpc.RpcCallback,
# 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)