From: Omer Anson <omer.an...@toganetworks.com> Add DHCP options constants to DHCP lib for the following options: * Domain name option (15) * Interface MTU (26) * Classless route (121)
These constants are used in Dragonflow, which uses ryu's DHCP lib to construct a DHCP responder. Signed-Off-By: Omer Anson <oaan...@gmail.com> --- ryu/lib/packet/dhcp.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ryu/lib/packet/dhcp.py b/ryu/lib/packet/dhcp.py index b0d6092..c8e849f 100644 --- a/ryu/lib/packet/dhcp.py +++ b/ryu/lib/packet/dhcp.py @@ -76,6 +76,8 @@ DHCP_SUBNET_MASK_OPT = 1 DHCP_GATEWAY_ADDR_OPT = 3 DHCP_DNS_SERVER_ADDR_OPT = 6 DHCP_HOST_NAME_OPT = 12 +DHCP_DOMAIN_NAME_OPT = 15 +DHCP_INTERFACE_MTU_OPT = 26 DHCP_REQUESTED_IP_ADDR_OPT = 50 DHCP_IP_ADDR_LEASE_TIME_OPT = 51 DHCP_MESSAGE_TYPE_OPT = 53 @@ -83,6 +85,7 @@ DHCP_SERVER_IDENTIFIER_OPT = 54 DHCP_PARAMETER_REQUEST_LIST_OPT = 55 DHCP_RENEWAL_TIME_OPT = 58 DHCP_REBINDING_TIME_OPT = 59 +DHCP_CLASSLESS_ROUTE_OPT = 121 DHCP_END_OPT = 255 -- 2.5.5 ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel