YANG revision dates mass-update
[bgpcep.git] / bgp / parser-spi / src / main / java / org / opendaylight / protocol / bgp / parser / spi / ParameterParser.java
index 51c6edb6478b70f84fe6975aa53dd1a71b34b9d8..e70bcdb142f95ec653a1d40d5df6fe0a406a3952 100644 (file)
@@ -7,10 +7,11 @@
  */
 package org.opendaylight.protocol.bgp.parser.spi;
 
+import io.netty.buffer.ByteBuf;
 import org.opendaylight.protocol.bgp.parser.BGPDocumentedException;
 import org.opendaylight.protocol.bgp.parser.BGPParsingException;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130918.open.BgpParameters;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.open.message.BgpParameters;
 
 public interface ParameterParser {
-       public BgpParameters parseParameter(final byte[] bytes) throws BGPParsingException, BGPDocumentedException;
+    BgpParameters parseParameter(ByteBuf buffer) throws BGPParsingException, BGPDocumentedException;
 }