Esempio 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')
Esempio 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')
Esempio 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')