commit | d94ceeafbd6e45cf8990ea1d83a8ea91bda97837 | [log] [tgz] |
---|---|---|
author | Kalhee Kim <Kalhee.Kim@nokia.com> | Wed Nov 29 19:03:02 2017 +0000 |
committer | Charles Chan <rascov@gmail.com> | Fri Jan 19 13:20:16 2018 -0800 |
tree | 730564108f98343d5729bf0a9242544de05fe88e | |
parent | 495c9b2fa9fdf28dafa64ea2c2fbd56c75c8335a [diff] [blame] |
[CORD-2362] dhcp relay v6 counters implementation Change-Id: I1ec322d6d77ff62ec4ad91632349e3a2c0d058f3
diff --git a/apps/dhcprelay/src/main/java/org/onosproject/dhcprelay/api/DhcpRelayService.java b/apps/dhcprelay/src/main/java/org/onosproject/dhcprelay/api/DhcpRelayService.java index ef700d4..5eb8d9e 100644 --- a/apps/dhcprelay/src/main/java/org/onosproject/dhcprelay/api/DhcpRelayService.java +++ b/apps/dhcprelay/src/main/java/org/onosproject/dhcprelay/api/DhcpRelayService.java
@@ -43,6 +43,14 @@ Collection<DhcpRecord> getDhcpRecords(); /** + * Updates DHCP record for specific host id (mac + vlan). + * + * @param hostId the id of host + * @param dhcpRecord the DHCP record of the host + */ + void updateDhcpRecord(HostId hostId, DhcpRecord dhcpRecord); + + /** * Gets mac address of DHCP server. * * @return the mac address of DHCP server; empty if not exist @@ -102,4 +110,5 @@ * @return boolean value */ public boolean isDhcpFpmEnabled(); + }