netconfcentral logo

ietf-complex-types

HTML

ietf-complex-types@2011-03-15



  module ietf-complex-types {

    yang-version 1;

    namespace
      "urn:ietf:params:xml:ns:yang:ietf-complex-types";

    prefix ct;

    organization "NETMOD WG";

    contact
      "Editor:  Bernd Linowski
               <bernd.linowski.ext@nsn.com>
      Editor:  Mehmet Ersue
               <mehmet.ersue@nsn.com>
      Editor:  Siarhei Kuryla
               <s.kuryla@gmail.com>";

    description
      "YANG extensions for complex types and typed instance
      identifiers.

      Copyright (c) 2011 IETF Trust and the persons identified as
      authors of the code.  All rights reserved.

      Redistribution and use in source and binary forms, with or
      without modification, is permitted pursuant to, and subject
      to the license terms contained in, the Simplified BSD License
      set forth in Section 4.c of the IETF Trust's Legal Provisions
      Relating to IETF Documents
      (http://trustee.ietf.org/license-info).

      This version of this YANG module is part of RFC 6095; see
      the RFC itself for full legal notices.";

    revision "2011-03-15" {
      description "Initial revision.";
    }


    extension complex-type {
      argument "type-identifier" {
        yin-element true;
      }
      description "Defines a complex-type.";
      reference
        "Section 2.2, complex-type Extension Statement";

    }

    extension extends {
      argument "base-type-identifier" {
        yin-element true;
      }
      description
        "Defines the base type of a complex-type.";
      reference
        "Section 2.5, extends Extension Statement";

    }

    extension abstract {
      argument "status" {
        yin-element false;
      }
      description
        "Makes the complex-type abstract.";
      reference
        "Section 2.6, abstract Extension Statement";

    }

    extension instance {
      argument "ct-instance-identifier" {
        yin-element true;
      }
      description
        "Declares an instance of the given
                 complex type.";
      reference
        "Section 2.3, instance Extension Statement";

    }

    extension instance-list {
      argument "ct-instance-identifier" {
        yin-element true;
      }
      description
        "Declares a list of instances of the given
                 complex type";
      reference
        "Section 2.4, instance-list Extension Statement";

    }

    extension instance-type {
      argument "target-type-identifier" {
        yin-element true;
      }
      description
        "Tells to which type instance the instance
                         identifier refers.";
      reference
        "Section 3.2, instance-type Extension Statement";

    }

    feature complex-types {
      description
        "Indicates that the server supports
                         complex types and instance identifiers.";
    }
  }  // module ietf-complex-types

Summary

  
  
Organization NETMOD WG
  
Module ietf-complex-types
Version 2011-03-15
File ietf-complex-types@2011-03-15.yang
  
Prefix ct
Namespace urn:ietf:params:xml:ns:yang:ietf-complex-types
  
Cooked /cookedmodules/ietf-complex-types/2011-03-15
YANG /src/ietf-complex-types@2011-03-15.yang
XSD /xsd/ietf-complex-types@2011-03-15.xsd
  
Abstract YANG extensions for complex types and typed instance identifiers. Copyright (c) 2011 IETF Trust and the persons identified as a...
  
Contact
Editor:  Bernd Linowski
	 <bernd.linowski.ext@nsn.com>
Editor:  Mehmet Ersue
	 <mehmet.ersue@nsn.com>
Editor:  Siarhei Kuryla
	 <s.kuryla@gmail.com>

Description

 
YANG extensions for complex types and typed instance
identifiers.

Copyright (c) 2011 IETF Trust and the persons identified as
authors of the code.  All rights reserved.

Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD License
set forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(http://trustee.ietf.org/license-info).

This version of this YANG module is part of RFC 6095; see
the RFC itself for full legal notices.

Extensions

Extension Argument Abstract
abstract status Makes the complex-type abstract.
complex-type type-identifier Defines a complex-type.
extends base-type-identifier Defines the base type of a complex-type.
instance ct-instance-identifier Declares an instance of the given complex type.
instance-list ct-instance-identifier Declares a list of instances of the given complex type
instance-type target-type-identifier Tells to which type instance the instance identifier refers.