]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Merge "Introduce bulk calls for get device details"
authorJenkins <jenkins@review.openstack.org>
Thu, 26 Jun 2014 08:00:20 +0000 (08:00 +0000)
committerGerrit Code Review <review@openstack.org>
Thu, 26 Jun 2014 08:00:20 +0000 (08:00 +0000)
1  2 
neutron/plugins/ml2/rpc.py
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py

index d8226aa7af6bebb7b4c5d56e2813580f9fe83a05,72a54f17f283ca97fca9a9b25d69e3f6267e43f7..f03ababf0830eae91455f305925db838b7823e6c
@@@ -44,10 -45,18 +44,11 @@@ class RpcCallbacks(n_rpc.RpcCallback
      # history
      #   1.0 Initial version (from openvswitch/linuxbridge)
      #   1.1 Support Security Group RPC
+     #   1.2 Support get_devices_details_list
  
 -    # FIXME(ihrachys): we can't use n_rpc.RpcCallback here due to
 -    # inheritance problems
 -    target = messaging.Target(version=RPC_API_VERSION)
 -
      def __init__(self, notifier, type_manager):
 -        # REVISIT(kmestery): This depends on the first three super classes
 -        # not having their own __init__ functions. If an __init__() is added
 -        # to one, this could break. Fix this and add a unit test to cover this
 -        # test in H3.
 -        super(RpcCallbacks, self).__init__(notifier, type_manager)
 +        self.setup_tunnel_callback_mixin(notifier, type_manager)
 +        super(RpcCallbacks, self).__init__()
  
      @classmethod
      def _device_to_port_id(cls, device):