Mahesh Raju-Huawei
Committed by Gerrit Code Review

[Code Review] PCEP Report message min length should be 18 & PCE web java doc

Change-Id: I62046aeed2e75b666d85dfedbc7b1c1ba9ad9570
......@@ -31,14 +31,20 @@ public class PceWebLink extends BiLink {
private boolean primary;
private boolean secondary;
/**
* Initialize the Link key attributes.
* Initialize the Link and key attributes.
* @param key the link key identifier
* @param link the link to be highlighted.
*/
public PceWebLink(LinkKey key, Link link) {
super(key, link);
}
/**
/**
* Highlight the color of given selected links.
* @param selectedLinks the primary links
* @param allLinks the secondary links
*/
public void computeHilight(Set<Link> selectedLinks, Set<Link> allLinks) {
primary = selectedLinks.contains(this.one()) ||
......
......@@ -65,8 +65,8 @@ class PcepReportMsgVer1 implements PcepReportMsg {
protected static final Logger log = LoggerFactory.getLogger(PcepReportMsgVer1.class);
public static final byte PACKET_VERSION = 1;
//PACKET_MINIMUM_LENGTH = CommonHeaderLen(4)+LspObjMinLen(8)+EroObjMinLen(12)
public static final int PACKET_MINIMUM_LENGTH = 24;
//PACKET_MINIMUM_LENGTH = CommonHeaderLen(4)+LspObjMinLen(8)+EroObjMinLen(4)
public static final int PACKET_MINIMUM_LENGTH = 16;
public static final PcepType MSG_TYPE = PcepType.REPORT;
public static final byte REPORT_OBJ_TYPE = 1;
//Optional TLV
......