p4lang / p4-applications

P4 Applications WG repo
107 stars 45 forks source link

Telemetry Report v2.0 final version #81

Closed mickeyspiegel closed 4 years ago

mickeyspiegel commented 4 years ago
mickeyspiegel commented 4 years ago

There are still some things left to do, but the sections reorganizing the descriptions of the telemetry report header format are ready and should be reviewed.

Some open items:

mickeyspiegel commented 4 years ago

Also need a new INT-MX figure

rsivakolundu commented 4 years ago

I like the Group Header wording.

-Ramesh

On Mon, May 18, 2020 at 12:01 PM JK Lee notifications@github.com wrote:

@jklr commented on this pull request.

In telemetry/specs/telemetry_report.mdk https://github.com/p4lang/p4-applications/pull/81#discussion_r426833766:

-TLVType (4b): TLV Type – TLV data type.

-0 – Domain Specific Extension Data

-1 - Ethernet

-2 – IPv4

-3 – IPv6

-4-15 – Reserved.

+* Variable Optional Domain Specific Metadata

  • : The metadata corresponding to the DSMdBits, 4 octets or a multiple of

  • 4 octets for each bit.

+### Inner Report Contents for InType 1 (TLV) (4+ octets) { #tlv }

As a 2nd thought, the term "inner" seems confusing because we have "Telemetry Reports Outer Header" up there. The outer header is for the entire coalesced report pkt, and the inner header is for each individual report. The outer vs inner are applied to two different objects.

One idea is to change "Telemetry Reports Outer Header" => "Telemetry Report Group Header", where a group may have one or more individual reports in it. We can define the term 'group' first and use it else where.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/p4lang/p4-applications/pull/81#discussion_r426833766, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZZHFWPSFLB243MATGT3BTRSGA2BANCNFSM4NBIZ6DQ .

mickeyspiegel commented 4 years ago

From my perspective, all that is left now is the examples, INT-MX figure, and resolution of any new comments from this point.

rsivakolundu commented 4 years ago

How can I help?

-Ramesh

On Mon, May 18, 2020 at 3:24 PM Mickey Spiegel notifications@github.com wrote:

From my perspective, all that is left now is the examples, INT-MX figure, and resolution of any new comments from this point.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/p4lang/p4-applications/pull/81#issuecomment-630467522, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZZHFTJJDCMMSNGL2YMNYTRSGYTXANCNFSM4NBIZ6DQ .

mickeyspiegel commented 4 years ago

@rsivakolundu Put some details in your examples, along the lines of what is in INT 2.1.

I cannot put any time into this tomorrow, not yet sure about Wednesday.

rsivakolundu commented 4 years ago

Will spend some time on it tomorrow.

Thanks

-Ramesh

On Mon, May 18, 2020 at 10:12 PM Mickey Spiegel notifications@github.com wrote:

@rsivakolundu https://github.com/rsivakolundu Put some details in your examples, along the lines of what is in INT 2.1.

I cannot put any time into this tomorrow, not yet sure about Wednesday.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/p4lang/p4-applications/pull/81#issuecomment-630584377, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZZHFS5OOXXBPHZPP3BXYLRSIILNANCNFSM4NBIZ6DQ .

mickeyspiegel commented 4 years ago

Done adding examples and figures. This is ready for final review.

mickeyspiegel commented 4 years ago

@rsivakolundu We should be clear about TLVLength. Does it include the first four bytes starting with TLVType and TLVLength or not?