[openstack-dev] [Quantum][Nova][DNSaaS] Notification based DNS entry creation

Sandy Walsh sandy.walsh at RACKSPACE.COM
Fri Nov 2 02:00:24 UTC 2012


Hey!

I'm not really familiar with the Quantum events, but so long as you can tie the Quantum event to the instance UUID, that sounds like a good place to tap in.

If you need to ensure the instance is running before acting, then instance.create.end is your best bet.

A sample of the network info from this latter event would be:

"fixed_ips": [
{"floating_ips": [], "label": "public", "version": 6, "meta": {}, "address": "2001:4801:..snip..ff00:0655", "type": "fixed"},
{"floating_ips": [], "label": "public", "version": 4, "meta": {}, "address": "10.0.199.1", "type": "fixed"},
{"floating_ips": [], "label": "private", "version": 4, "meta": {}, "address": "10.2.73.2", "type": "fixed"}],

If this is sufficient, you're home free.

-S

________________________________
From: JC Martin [jcmartin at ebaysf.com]
Sent: Thursday, November 01, 2012 10:11 PM
To: openstack-dev at lists.openstack.org
Subject: [openstack-dev] [Quantum][Nova][DNSaaS] Notification based DNS entry creation


In DNSaaS, we have a goal to create DNS entries automatically based on notifications corresponding to IP allocation events.

The question is which Notifications/events to use:
    - Nova notifications (e.g. Instance.create.end)
    - Quantum notifications (e.g. Port.create.end)
    - None of the above, we need IP allocation specific events or other events.

Opinion ?

JC




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20121102/deea62a4/attachment.html>


More information about the OpenStack-dev mailing list