Re: [IPFIX] [GROW] [OPSAWG] WG adoption poll for draft-li-opsawg-ipfix-bgp-community-02
PJ Aitken <[email protected]> Thu, 16 Feb 2017 11:15:24 +0000
| Newsgroups | gmane.ietf.ipfix,gmane.ietf.opsawg,gmane.ietf.grow |
|---|---|
| Message-ID | <[email protected]> |
--===============8154953856241459285==
Content-Type: multipart/alternative;
boundary="------------AB5957A2F268C5981C80C3F2"
--------------AB5957A2F268C5981C80C3F2
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 7bit
Ignas Bagdonas wrote:
> The upper limit may be reaching 16000 standard communities per prefix
- would that fit into resulting IPFIX IE? If there is a limit, how does
it work?
A quick calculation suggests that the maximum would be 16376 x 4-octet
ASNs. See the figure below.
The constraining factor is the RFC7011 IPFIX Message Header "Length"
field, since this is only 16 bits.
Splitting a list across multiple IPFIX messagesis a question which the
IPFIX community hasn't discussed.Unfortunately the basicList "Semantic"
field only defines the relationship among the different values within a
single message; the relationship among values in different messages is
not defined.
IPFIX Collectors might reasonably assume that information in subsequent
messages supersedes information in earlier messages, so splitting a list
across multiple messages would not have the desired effect.
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Version Number | Length = 65532 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Export Time |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Observation Domain ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Set ID = 256 | Length = 65516 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 255 | List Length = 65509 | semantic=allOf|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
bSCL FieldId = 459 | bSCL Field Length=4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
bgpSourceCommunityList value 1 = x |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
bgpSourceCommunityList value 2 = x |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
bgpSourceCommunityList value 16376 = x |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
P.
--------------AB5957A2F268C5981C80C3F2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><tt>Ignas Bagdonas wrote:</tt></p>
<p><tt><br>
</tt><tt>> The upper limit may be reaching 16000 standard
communities per prefix - would that fit into resulting IPFIX IE?
If there is a limit, how does it work?</tt></p>
<p><tt><br>
A quick calculation suggests that the maximum would be 16376 x
4-octet ASNs. See the figure below.</tt><tt><br>
</tt></p>
<p><tt>The constraining factor is the RFC7011 IPFIX Message Header
"Length" field, since this is only 16 bits.<br>
</tt></p>
<p><tt><tt>Splitting a list across multiple IPFIX messages</tt></tt><tt>
is a question which the IPFIX community hasn't discussed.</tt><tt>
Unfortunately the basicList "Semantic" field only defines the
relationship among the different values within a single message;
the relationship among values in different messages is not
defined.<br>
</tt></p>
<p><tt>IPFIX Collectors might reasonably assume that information in
subsequent messages supersedes information in earlier messages,
so splitting a list across multiple messages would not have the
desired effect.</tt><tt><br>
</tt></p>
<p><br>
</p>
<pre><font face="Andale Mono"> 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Version Number | Length = <font color="#cc0000">65532</font> |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Export Time |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Observation Domain ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Set ID = 256 | Length = <font color="#cc0000">65516</font> |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 255 | List Length = <font color="#cc0000">65509</font> | semantic=allOf|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| bSCL FieldId = 459 | bSCL Field Length=4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| bgpSourceCommunityList value 1 = x |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| bgpSourceCommunityList value 2 = x |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| bgpSourceCommunityList value <font color="#cc0000">16376</font> = x |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+</font></pre>
<p>
<tt><br>
</tt></p>
<p><tt>P.</tt><br>
</p>
<br>
</body>
</html>
--------------AB5957A2F268C5981C80C3F2--
--===============8154953856241459285==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
IPFIX mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/ipfix
--===============8154953856241459285==--