commit | a17354e0ae6dcb8e5b71c9cb6335564e61acb582 | [log] [tgz] |
---|---|---|
author | Amit Ghosh <aghosh@radisys.com> | Wed Aug 23 12:56:04 2017 +0100 |
committer | Amit Ghosh <aghosh@radisys.com> | Wed Aug 23 12:58:13 2017 +0100 |
tree | 4f0fb444bb87b87d062a7bd07204b790943687a5 | |
parent | c6cf168d0096fad640bd10fb37e6c7fc2d120943 [diff] |
VOL-390: Fixes for problems found during integration testing Change-Id: I4626b5646e6988336fe30f35a3328261238e81e3
The ONOS dhcpl2relay application is a DHCP Relay Agent which does Layer 2 relay.
The DHCP packets sent towards the DHCP Server (DHCP DISCOVER and DHCP REQUEST) are double tagged by this app. It retrieves the tag values to be used from the Sadis
Service. Similarly it replaces the tags on the packets received from the server (DHCP OFFER and DHCP ACK) with priority tags.
DHCP Option 82 with CircuitId and RemoteId are added to packets sent to the DHCP server and Option 82 received from the server are removed before relaying back to the client. The CircuitId and Remote Id are retrieved from Sadis
Service.
"org.opencord.dhcpl2relay" : { "dhcpl2relay" : { "dhcpserverConnectPoints" : [ "of:00000000000000b2/2" ] } }
Port on the switch through which the DHCP Server is reachable
"org.opencord.sadis" : { "sadis" : { "integration" : { "cache" : { "enabled" : true, "maxsize" : 50, "ttl" : "PT1m" } }, "entries" : [ { "id" : "uni-128", # (This is an entry for a subscriber) Same as the portName of the Port as seen in onos ports command "cTag" : 2, # C-tag of the subscriber "sTag" : 2, # S-tag of the subscriber "nasPortId" : "uni-128" # NAS Port Id of the subscriber, could be different from the id above }, { "id" : "1d3eafb52e4e44b08818ab9ebaf7c0d4", # (This is an entry for an OLT device) Same as the serial of the OLT logical device as seen in the onos devices command "hardwareIdentifier" : "00:1b:22:00:b1:78", # MAC address to be used for this OLT "ipAddress" : "192.168.1.252", # IP address to be used for this OLT "nasId" : "B100-NASID" # NAS ID to be used for this OLT } ] } }