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

export of structured data in ipfix
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Export of Structured Data in IPFIX

IETF-77 March 23rd, 2010

1

IETF-77 March 23rd, 2010 <draft-ietf-ipfix-structured-data-01.txt>

Gowri Dhandapani, Paul Aitken, Stan Yates, Benoit Claise .

slide-2
SLIDE 2

New in this Version

  • How to encode a variable-length with the

BasicList

2 2 2

BasicList

interface name example

  • Some editorial changes
slide-3
SLIDE 3

Only One Open Issue: Semantic

  • Example: basicList of egress interfaces in a

Flow Record

Has every counted packet been sent on every

3 3 3

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

slide-4
SLIDE 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,

4 4 4

  • 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 ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

slide-5
SLIDE 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:

5 5 5

  • 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

slide-6
SLIDE 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

6 6 6

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))

slide-7
SLIDE 7

Discussions on the Mailing List

  • Open issue: Do we need the RANGE semantic?

7 7 7

  • 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?

slide-8
SLIDE 8

Export of Structured Data in IPFIX

IPFIX IETF-76 Nov 11th, 2009

8

IPFIX IETF-76 Nov 11th, 2009 <draft-ietf-ipfix-structured-data-00.txt>

Gowri Dhandapani, Paul Aitken, Stan Yates, Benoit Claise .

slide-9
SLIDE 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.

Can also Enterprise

9 9 9

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |0| Field ID | Element Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BasicList Content ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure A: basicList Information Element Encoding

Can also contain 0xFFFF for variable length Enterprise bit

Example: list of output interfaces, list of BGP AS Path, list

  • f port numbers
slide-10
SLIDE 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.

10 10 10

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Template ID | SubTemplateList Content | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure E: subTemplateList Encoding

Example: MPLS label stack, src/dst IP addresses pairs, performance metric for a fixed tuple

slide-11
SLIDE 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 ... |

11 11 11

| Element 1 Content ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Element 2 Template Id | Element 2 Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Element 2 content ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Element N Template Id | Element N Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Element N content ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Example: aggregated

  • bservation point in

a mediation function