Ask Your Question
0

Events for assigning / removing floating IPs

asked 2015-10-20 14:00:47 -0500

updated 2015-10-21 08:08:20 -0500

Hi,

I'm trying to add DNS entries for assigned floating IPs (and removing them once disassociated). It's based on these blog posts:

It's working well for the internal IPs (which I get with these events) but I'm not getting any for assigning / removing floating IPs. Does anybody have an idea where or even if messages for those are sent to RMQ?

I'm using Openstack 14.04 LTS, Openstack Kilo and Neutron with OVS if that matters.

Greetings
.Sascha

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-10-21 07:59:47 -0500

updated 2015-10-22 05:39:55 -0500

Use the script from http://alesnosek.com/blog/2015/05/25/openstack-nova-notifications-subscriber/ (http://alesnosek.com/blog/2015/05/25/...) and adjust the parameters:

EXCHANGE_NAME="neutron"
ROUTING_KEY="notifications.info"
QUEUE_NAME="neutron_dump_queue"

You will receive start/end events for creating, attaching, detaching, and deleting a floating IP address. With the data inside those events you should be able to do the same for floating IP addresses like for the internal IP addresses.

To receive the events ensure you have set the following parameters in the neutron.conf configuration file.

notification_driver = messaging
notify_nova_on_port_data_changes = True
notify_nova_on_port_status_changes = True
notification_topics = notifications
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-10-20 14:00:47 -0500

Seen: 103 times

Last updated: Oct 22 '15