public class NetQuotationIPv6 extends EndPoints
Represents a PCEP NET-QUOTATION object as defined in GEYSERS D4.1
From GEYSERS D4.1 Section 6.3.2.1 Assisted unicast replies
A PCRep for assisted unicast connections provides a network
quotation for each pair of end points or each time-slot (used
in case of advance reservation service) included in the PCReq.
This information is included in the NET-QUOTATION object
(Object-Class and Object-Type to be defined). It should be noted
that the path-list object is not included in assisted unicast
replies, and no ERO is returned.
The format of a NET-QUOTATION-ENDPOINTS-IPV4 object is the following:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
// Quotation 1 //
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
// ... //
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
// Quotation N //
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
where a single Quotation block has the following format:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Source IPv6 address (16 bytes) |
| |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Destination IPv6 address (16 bytes) |
| |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cost |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Quotation block Format for IPv6
| Modifier and Type | Class and Description |
|---|---|
static class |
NetQuotationIPv6.EPQuotationIPv6 |
Ibit, log, object_bytes, ObjectClass, ObjectLength, OT, Pbit, Res| Constructor and Description |
|---|
NetQuotationIPv6() |
NetQuotationIPv6(byte[] bytes,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
void |
decode()
Decode the object.
|
void |
encode()
Encode the object.
|
decode, decodeHeader, encode_header, equals, getBytes, getLength, getObject_bytes, getObjectClass, getObjectClass, getObjectLength, getObjectType, getOT, getRes, hashCode, isIbit, isPbit, setIbit, setObject_bytes, setObjectClass, setObjectLength, setOT, setPbit, setRes, supportedObjectpublic NetQuotationIPv6()
public NetQuotationIPv6(byte[] bytes,
int offset)
throws MalformedPCEPObjectException
MalformedPCEPObjectExceptionpublic void encode()
PCEPObjectencode in interface PCEPElementencode in class PCEPObjectpublic void decode()
throws MalformedPCEPObjectException
PCEPObjectdecode in class PCEPObjectMalformedPCEPObjectExceptionCopyright © 2016. All rights reserved.