commit | f09c09ed331a3ff505128f271a7e310b94a1b703 | [log] [tgz] |
---|---|---|
author | samanwita pal <sam@onlab.us> | Wed Jul 22 16:06:42 2015 -0700 |
committer | samanwita pal <sam@onlab.us> | Wed Jul 22 16:06:42 2015 -0700 |
tree | b4f194e2775349afbf2afac29feff91537d86082 | |
parent | f66ed8a57e73896b1f550af75d0058f39308897d [diff] [blame] |
ONOS-2197 Adding some logic to keep track of expired IP Lease Assignments Change-Id: I330e5fbf790f0a4fe72f1fbce272617837225e64
diff --git a/onos-app-dhcpserver/src/main/java/org/onosproject/dhcpserver/IPAssignment.java b/onos-app-dhcpserver/src/main/java/org/onosproject/dhcpserver/IPAssignment.java index 56cf3da..1129d2a 100644 --- a/onos-app-dhcpserver/src/main/java/org/onosproject/dhcpserver/IPAssignment.java +++ b/onos-app-dhcpserver/src/main/java/org/onosproject/dhcpserver/IPAssignment.java
@@ -126,6 +126,15 @@ } /** + * Creates and returns a new builder instance that clones an existing IPAssignment. + * + * @return new builder + */ + public static Builder builder(IPAssignment assignment) { + return new Builder(assignment); + } + + /** * IPAssignment Builder. */ public static final class Builder {