Mailing List Archive

[Quantum] DHCP option rather than host_route or dns_nameservers
Hi folks

I'm working on host_route function on quantum.

https://bugs.launchpad.net/quantum/+bug/1022737
https://bugs.launchpad.net/quantum/+bug/1025817

Hopefully, I wanna take this bug also ( Actually fix is same for 1022737)
https://bugs.launchpad.net/quantum/+bug/1008180

By implement this bug, I'm start thinking that
DHCP option attribute is more general and natural rather than
host_route or dns_nameservers.

So here is proposal

/v2.0/subnets
...
dhcp_options
{"option":"option:router",value:"10.0.0.1","option":"121","value":"10.0.100.0/24,10.0.100.1"
} #Default value of ports
...

/v2.0/ports
...
dhcp_options
{"option":"option:router",value:"10.0.0.1","option":"121","value":"10.0.100.0/24,10.0.100.1"
} #Inherit from subnets
...

By this modification, we can support tons of DHCP options in quantum
http://www.networksorcery.com/enp/protocol/bootp/options.htm
Implementation would be more simple and generic.
( Actually, I can fix multiple bug by this change :) )

I'm very welcome to your comments.

Nachi Ueno

--
Mailing list: https://launchpad.net/~netstack
Post to : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help : https://help.launchpad.net/ListHelp