Bump MDSAL to 4.0.0
[bgpcep.git] / pcep / spi / src / main / java / org / opendaylight / protocol / pcep / spi / LabelParser.java
index 8ecd17107283e07225788ddd77c99d9001fa8aef..381bc9a73ff32c3b606b1ef0f6dce4324c4dcc00 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.protocol.pcep.spi;
 
-import org.opendaylight.protocol.pcep.PCEPDeserializerException;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev130820.CLabel;
+import io.netty.buffer.ByteBuf;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.label.subobject.LabelType;
 
 public interface LabelParser {
-       public CLabel parseLabel(final byte[] buffer) throws PCEPDeserializerException;
+    LabelType parseLabel(ByteBuf buffer) throws PCEPDeserializerException;
 }