2 * Copyright (c) 2016 Cisco and/or its affiliates.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at:
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package io.fd.honeycomb.translate.v3po.interfaces.ip;
19 import io.fd.honeycomb.translate.v3po.util.FutureJVppCustomizer;
20 import io.fd.honeycomb.translate.write.WriteContext;
21 import io.fd.honeycomb.translate.spi.write.WriterCustomizer;
22 import javax.annotation.Nonnull;
23 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.ip.rev140616.interfaces._interface.Ipv6;
24 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
25 import org.openvpp.jvpp.future.FutureJVpp;
26 import org.slf4j.Logger;
27 import org.slf4j.LoggerFactory;
29 public class Ipv6Customizer extends FutureJVppCustomizer implements WriterCustomizer<Ipv6> {
31 private static final Logger LOG = LoggerFactory.getLogger(Ipv6Customizer.class);
33 public Ipv6Customizer(final FutureJVpp vppApi) {
38 public void writeCurrentAttributes(@Nonnull final InstanceIdentifier<Ipv6> id,
39 @Nonnull final Ipv6 dataAfter, @Nonnull final WriteContext writeContext) {
41 LOG.warn("Unsupported, ignoring configuration {}", dataAfter);
45 public void updateCurrentAttributes(@Nonnull final InstanceIdentifier<Ipv6> id,
46 @Nonnull final Ipv6 dataBefore, @Nonnull final Ipv6 dataAfter,
47 @Nonnull final WriteContext writeContext) {
48 LOG.warn("Unsupported, ignoring configuration {}", dataAfter);
52 public void deleteCurrentAttributes(@Nonnull final InstanceIdentifier<Ipv6> id,
53 @Nonnull final Ipv6 dataBefore, @Nonnull final WriteContext writeContext) {
54 LOG.warn("Unsupported, ignoring configuration delete {}", id);