leaf table-id {
type uint32;
description "table-id";
- mandatory true;
+ // TODO - HC2VPP-73 - commented due to ODL Boron issues
+ //mandatory true;
}
uses dp-subtable-grouping;
leaf bridge-domain-ref {
type string;
description "Name reference to existing bridge domain";
- mandatory true;
+ // TODO - HC2VPP-73 - commented due to ODL Boron issues
+ // mandatory true;
}
uses dp-subtable-grouping;
public void writeCurrentAttributes(@Nonnull final InstanceIdentifier<BridgeDomainSubtable> id,
@Nonnull final BridgeDomainSubtable dataAfter,
@Nonnull final WriteContext writeContext) throws WriteFailedException {
+ // TODO - HC2VPP-73 - remove after resolving ODL Boron issues
+ checkNotNull(dataAfter.getBridgeDomainRef(), "Bridge domain reference must be present");
LOG.debug("Writing Id {} ", id);
try {
public void deleteCurrentAttributes(@Nonnull final InstanceIdentifier<BridgeDomainSubtable> id,
@Nonnull final BridgeDomainSubtable dataBefore,
@Nonnull final WriteContext writeContext) throws WriteFailedException {
+ // TODO - HC2VPP-73 - remove after resolving ODL Boron issues
+ checkNotNull(dataBefore.getBridgeDomainRef(), "Bridge domain reference must be present");
LOG.debug("Removing Id {}", id);
try {
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import static com.google.common.base.Preconditions.checkNotNull;
+
public class VrfSubtableCustomizer extends FutureJVppCustomizer
implements WriterCustomizer<VrfSubtable>, SubtableWriter {
public void writeCurrentAttributes(@Nonnull final InstanceIdentifier<VrfSubtable> id,
@Nonnull final VrfSubtable dataAfter, @Nonnull final WriteContext writeContext)
throws WriteFailedException {
-
+ // TODO - HC2VPP-73 - remove after resolving ODL Boron issues
+ checkNotNull(dataAfter.getTableId(), "Table id must be present");
LOG.debug("Writing Id[{}]/Data[{}]", id, dataAfter);
try {
public void deleteCurrentAttributes(@Nonnull final InstanceIdentifier<VrfSubtable> id,
@Nonnull final VrfSubtable dataBefore, @Nonnull final WriteContext writeContext)
throws WriteFailedException {
-
+ // TODO - HC2VPP-73 - remove after resolving ODL Boron issues
+ checkNotNull(dataBefore.getTableId(), "Table id must be present");
LOG.debug("Removing Id[{}]/Data[{}]", id, dataBefore);
try {
<distribution.modules>
io.fd.hc2vpp.common.integration.VppCommonModule,
- <!--TODO update lisp model (workaround for ODL berilium issues -->
- <!-- io.fd.hc2vpp.lisp.LispModule,-->
+ io.fd.hc2vpp.lisp.LispModule,
io.fd.hc2vpp.v3po.V3poModule,
// io.fd.hc2vpp.v3po.ClassifierIetfAclModule,
<!-- Classifier Acl's module disabled by default, can't run in the same time with AclModule -->