Switch pce-id to a simple type
[bgpcep.git] / pcep / base-parser / src / main / java / org / opendaylight / protocol / pcep / parser / subobject / XROPathKey128SubobjectParser.java
index ac71617e7494fe64df1037a07e692458ff153eaf..e883c7a29f2fde0f8ffc1737f70b8e31a3124796 100644 (file)
@@ -61,7 +61,7 @@ public class XROPathKey128SubobjectParser implements XROSubobjectParser {
         Preconditions.checkArgument(pk.getPathKey() != null, "PathKey is mandatory.");
         writeUnsignedShort(pk.getPathKey().getValue(), body);
         Preconditions.checkArgument(pk.getPceId() != null, "PceId is mandatory.");
-        body.writeBytes(pk.getPceId().getBinary());
+        body.writeBytes(pk.getPceId().getValue());
         XROSubobjectUtil.formatSubobject(TYPE, subobject.isMandatory(), body, buffer);
     }
 }