summaryrefslogtreecommitdiffstats
path: root/dhcp/dhcp-impl/src/main/java
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-02-22 09:02:51 +0100
committerJan Srnicek <jsrnicek@cisco.com>2017-02-22 12:58:12 +0000
commit7cfeff1c19a3dc670e1352ca15d1f8d6d568cae4 (patch)
tree6e5ec3871d1e26fd03302aab323cc4fb08b86eb0 /dhcp/dhcp-impl/src/main/java
parent5e2a5b7199389fbac7967f710e29bb3135d790b0 (diff)
Remove circut-id from yang model for DHCP Relay
circut-id is no longer configurable in vpp after merging https://gerrit.fd.io/r/#/c/5449/ Change-Id: I791ddbdb44c62a5347eb75b837e4606ae5680587 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'dhcp/dhcp-impl/src/main/java')
-rw-r--r--dhcp/dhcp-impl/src/main/java/io/fd/hc2vpp/dhcp/write/DhcpRelayCustomizer.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/dhcp/dhcp-impl/src/main/java/io/fd/hc2vpp/dhcp/write/DhcpRelayCustomizer.java b/dhcp/dhcp-impl/src/main/java/io/fd/hc2vpp/dhcp/write/DhcpRelayCustomizer.java
index 80e482dd4..58e3d5811 100644
--- a/dhcp/dhcp-impl/src/main/java/io/fd/hc2vpp/dhcp/write/DhcpRelayCustomizer.java
+++ b/dhcp/dhcp-impl/src/main/java/io/fd/hc2vpp/dhcp/write/DhcpRelayCustomizer.java
@@ -73,9 +73,6 @@ final class DhcpRelayCustomizer extends FutureJVppCustomizer implements ListWrit
request.isIpv6 = booleanToByte(isIpv6);
request.serverVrfId = relay.getServerVrfId().intValue();
request.isAdd = booleanToByte(isAdd);
- // TODO insertCircuitId is not configurable for DHCPv4,
- // rethink how to handle the value for DHCPv6 (VSS?)
- // request.insertCircuitId = booleanToByte(relay.isInsertCircuitId());
request.dhcpServer = parseAddress(relay.getServerAddress(), isIpv6);
request.dhcpSrcAddress = parseAddress(relay.getGatewayAddress(), isIpv6);
getReplyForWrite(getFutureJVpp().dhcpProxyConfig(request).toCompletableFuture(), id);