AAA Data Modeling What is it? Jrgen Schnwlder - - PowerPoint PPT Presentation

aaa data modeling what is it
SMART_READER_LITE
LIVE PREVIEW

AAA Data Modeling What is it? Jrgen Schnwlder - - PowerPoint PPT Presentation

AAA Data Modeling What is it? Jrgen Schnwlder <schoenw@ibr.cs.tu-bs.de> AAA WG Meeting, 50th IETF, Minneapolis, 2001-03-19 AAA Charter - Data model. The proposal should offer logical separation between the protocol and the data


slide-1
SLIDE 1

AAA Data Modeling What is it?

Jürgen Schönwälder <schoenw@ibr.cs.tu-bs.de>

AAA WG Meeting, 50th IETF, Minneapolis, 2001-03-19

slide-2
SLIDE 2

2001-03-19

  • 50. IETF / AAA WG

2

AAA Charter

  • Data model.

The proposal should offer logical separation between the protocol and the data model and should support rich data types. OK, so lets see what the proposals submitted so far actually try to achieve ...

slide-3
SLIDE 3

2001-03-19

  • 50. IETF / AAA WG

3

Dictionary Exchange Format

Data Dictionary Data Dictionary ...... ..... ......

Data Dictionary Exchange Format

  • Main goal:

– Simplifies the configuration of AAA tools such as servers, proxies, sniffers, ...) from different vendors – <draft-ietf-aaa-solutions-01.txt> seems to address this issue

slide-4
SLIDE 4

2001-03-19

  • 50. IETF / AAA WG

4

Formal Data Definitions

  • Main goal:

– Precise and formal definition of the data structures exchanged between AAA entities – Reusable definitions + reuse of definitions – <draft-schoenw-sming-diameter-00> addresses this issue

typedef NetworkAccessIdentifier { type Utf8String; description "..."; reference "RFC 2486"; }; class HostName { attribute NetworkAccessIdentifier name { description "..."; }; description "..."; };

slide-5
SLIDE 5

2001-03-19

  • 50. IETF / AAA WG

5

Information Modeling

  • Main goal:

– Conceptual model of the entities in a "universe" and their relationships/associations – May be mapped to multiple data models and implementations – <draft-spence-aaa-nas-data-model-00> addresses this issue

slide-6
SLIDE 6

SMIng Mappings to DIAMETER

Jürgen Schönwälder <schoenw@ibr.cs.tu-bs.de> Technical University of Braunschweig 38106 Braunschweig, Germany

AAA WG Meeting, 50th IETF, Minneapolis, 2001-03-19

slide-7
SLIDE 7

2001-03-19

  • 50. IETF / AAA WG

7

What is SMIng?

  • SMIng is a new data definition language

proposed to replace the SMIv2 and the SPPI:

– object-oriented (classes, attributes, inheritance, containment) – protocol independent – instance naming independent – formal machine readable language (ABNF grammar) – compact and consistent syntax to increase human readability – controlled language extensibility

slide-8
SLIDE 8

2001-03-19

  • 50. IETF / AAA WG

8

SMIng and DIAMETER

  • Advantages of using SMIng for AAA data modeling:

– reuse data definitions provided by other working groups – allow other working groups to reuse AAA data definitions – common data definitions across several management protocols – simplifies applications that have to interface with equipment supporting multiple protocols – reuse of tools to verify and transform data definitions – benefit from a module concept, an import mechanism, a type system, version handling, ...

  • All we need is a DIAMETER protocol mapping!
slide-9
SLIDE 9

2001-03-19

  • 50. IETF / AAA WG

9

SMIng Protocol Mappings

SMIng type and class definitions SNMP protocol mapping COPS protocol mapping

SMIng module

  • protocol independent
  • no instance naming
  • protocol dependent
  • instance naming
slide-10
SLIDE 10

2001-03-19

  • 50. IETF / AAA WG

10

Proposed DIAMETER Changes

  • The DIAMETER protocol should be modified to

support the following primitive base types:

– Integer32, Unsigned32, – Integer64, Unsigned64, – Float32, Float64, Float128, – OctetString

  • In addition, the DIAMETER protocol should support a

compound base type AVP which contains an ordered list of AVPs (Group AVP).

  • Additional AAA specific types can be introduced by

using the SMIng type system.

slide-11
SLIDE 11

2001-03-19

  • 50. IETF / AAA WG

11

Data Type Mapping

  • Mapping SMIng types to DIAMETER types:

– OctetString ⇒ OctetString – Integer32 ⇒ Integer32 – Integer64 ⇒ Integer64 – Unsigned32 ⇒ Unsigned32 – Unsigned64 ⇒ Unsigned64 – Float32 ⇒ Float32 – Float64 ⇒ Float64 – Float128 ⇒ Float128 – Enumeration ⇒ Integer32 – Bits ⇒ OctetString

  • Classes with multiple attributes are mapped to the

compound type.

slide-12
SLIDE 12

2001-03-19

  • 50. IETF / AAA WG

12

Example

module TUBS-SMING-DIAMETER { import IRTF-NMRG-SMING (Utf8String); import TUBS-DIAMETER-EXT (diameter);

  • rganization "...";

contact "..."; description "..."; revision { date "2000-11-24"; description "..."; };

slide-13
SLIDE 13

2001-03-19

  • 50. IETF / AAA WG

13

Example (cont.)

typedef NetworkAccessIdentifier { type Utf8String; description "..."; reference "RFC 2486"; }; class HostName { attribute NetworkAccessIdentifier name { description "..."; }; description "..."; };

slide-14
SLIDE 14

2001-03-19

  • 50. IETF / AAA WG

14

Example (cont.)

diameter { avp HostNameAVP { code 264; implements HostName; }; avp VendorNameAVP { code 266; implements VendorName; }; avp FirmwareRevisionAVP { code 267; implements FirmwareRevision; };

slide-15
SLIDE 15

2001-03-19

  • 50. IETF / AAA WG

15

Example (cont.)

msg DeviceRebootInd { code 257; includes NonceAVP; includes HostNameAVP; includes HostIPAddressAVP; includes VendorNameAVP; includes ExtensionIdAVP; includes FirmwareRevisionAVP; includes IntegrityCheckAVP; description "..."; }; };

slide-16
SLIDE 16

2001-03-19

  • 50. IETF / AAA WG

16

Further Information

  • <draft-schoenw-sming-diameter-00.txt>
  • <draft-ietf-sming-01.txt>
  • <draft-ietf-sming-modules-01.txt>
  • <draft-ietf-sming-inet-modules-01.txt>
  • <draft-ietf-sming-snmp-01.txt>
  • <draft-ietf-sming-copspr-00.txt>
  • <draft-ietf-sming-reqs-00.txt>