Ejemplo n.º 1
0
 def test_delete_network(self):
     rpcapi = povs.AgentNotifierApi(topics.AGENT)
     self._test_ovs_api(rpcapi,
                        topics.get_topic_name(topics.AGENT,
                                              topics.NETWORK,
                                              topics.DELETE),
                        'network_delete', rpc_method='fanout_cast',
                        network_id='fake_request_spec')
Ejemplo n.º 2
0
 def test_tunnel_update(self):
     rpcapi = povs.AgentNotifierApi(topics.AGENT)
     self._test_ovs_api(rpcapi,
                        topics.get_topic_name(topics.AGENT,
                                              constants.TUNNEL,
                                              topics.UPDATE),
                        'tunnel_update', rpc_method='fanout_cast',
                        tunnel_ip='fake_ip', tunnel_id='fake_id',
                        tunnel_type=None)
Ejemplo n.º 3
0
 def test_port_update(self):
     rpcapi = povs.AgentNotifierApi(topics.AGENT)
     self._test_ovs_api(rpcapi,
                        topics.get_topic_name(topics.AGENT,
                                              topics.PORT,
                                              topics.UPDATE),
                        'port_update', rpc_method='fanout_cast',
                        port='fake_port',
                        network_type='fake_network_type',
                        segmentation_id='fake_segmentation_id',
                        physical_network='fake_physical_network')