export of structured data in ipfix
play

Export of Structured Data in IPFIX IETF-77 March 23rd, 2010 - PowerPoint PPT Presentation

Export of Structured Data in IPFIX IETF-77 March 23rd, 2010 IETF-77 March 23rd, 2010 <draft-ietf-ipfix-structured-data-01.txt> Gowri Dhandapani, Paul Aitken, Stan Yates, Benoit Claise 1 . New in this Version How to encode a


  1. Export of Structured Data in IPFIX IETF-77 March 23rd, 2010 IETF-77 March 23rd, 2010 <draft-ietf-ipfix-structured-data-01.txt> Gowri Dhandapani, Paul Aitken, Stan Yates, Benoit Claise 1 .

  2. New in this Version • How to encode a variable-length with the BasicList BasicList interface name example • Some editorial changes 2 2 2

  3. Only One Open Issue: Semantic • Example: basicList of egress interfaces in a Flow Record Has every counted packet been sent on every Has every counted packet been sent on every egress interface? = multicast case = AND semantic Has every counted packet been sent on any one of the egress interfaces? = load balancing case = OR semantic 3 3 3

  4. Discussions on the Mailing List • Completely ignoring the semantic is not an option • The solution is for the structured data only, so the semantic of the IEs within a structured data • No change to RFC5101 • Add a semantic filed to the 3 list types: basicList, Add a semantic filed to the 3 list types: basicList, subTemplateList, and subTemplateMultiList • For example, in the basicList Information Element Encoding becomes: +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |0| Field ID | Element Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Semantic | BasicList Content ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 4 4 4

  5. Discussions on the Mailing List • No "semanticless" versions of the IPFIX structured data types • Semantic as a single list, as opposed to a bit vector In order to reduce the possibilities of wrong combinations • Required semantics are: Required semantics are: 0x00: undefined (default) 0x01: allOf 0x02: oneOrMoreOf 0x03: exactlyOneOf 0x04: noneOf 0x05: ordered • An IANA registry is required, to have an extensible solution, like for the "MPLS label type" registry 5 5 5

  6. Discussions on the Mailing List • “exactlyOneOf” example: an aggregated observation point, composed of multiple template records template 1: exporterIPaddress template 2: exporterIPaddress, basicList of interfaces template 3: exporterIPaddress, LC Those three templates are linked with the semantic "exactlyOneOf“ • “ordered example: BGP AS path BGP AS-PATH 10 20 30 40 {50,60} (basicList, ORDERED, (basicList, ORDERED, AS10,AS20,AS30,AS40), (basicList, exactlyOneOf, AS50, AS60)) 6 6 6

  7. Discussions on the Mailing List • Open issue: Do we need the RANGE semantic? • Open issue: Do we need the RANGE semantic? Required by Gerhard, but is is in scope for this draft? Is it only valid for a list of single IE such as port range? 7 7 7

  8. Export of Structured Data in IPFIX IPFIX IETF-76 Nov 11th, 2009 IPFIX IETF-76 Nov 11th, 2009 <draft-ietf-ipfix-structured-data-00.txt> Gowri Dhandapani, Paul Aitken, Stan Yates, Benoit Claise 8 .

  9. New Abstract Data Type and Information Element: basicList basicList represents a list of zero or more instances of any single Information Element. Primarily used for single-valued data types. Enterprise Enterprise Can also Can also bit contain +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 0xFFFF for |0| Field ID | Element Length | variable +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ length | BasicList Content ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure A: basicList Information Element Encoding Example: list of output interfaces, list of BGP AS Path, list of port numbers 9 9 9

  10. New Abstract Data Type and Information Element: subTemplateList subTemplateList represents a list of zero or more instances of structured data, where the data type of each list element is the same and corresponds with a single Template Record. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Template ID | SubTemplateList Content | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure E: subTemplateList Encoding Example: MPLS label stack, src/dst IP addresses pairs, performance metric for a fixed tuple 10 10 10

  11. New Abstract Data Type and Information Element: subTemplateMultiList subTemplateMultiList represents a list of zero or more instances of structured data, where the data type of each list element can be different and correspond with different template definitions. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Element 1 Template Id | Element 1 Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Element 1 Content ... | | Element 1 Content ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... | Example: +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ aggregated | Element 2 Template Id | Element 2 Length | observation point in +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Element 2 content ... | a mediation +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ function | ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Element N Template Id | Element N Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Element N content ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 11 11 11

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend