netconfcentral logo

ietf-origin

HTML

ietf-origin@2017-08-17



  module ietf-origin {

    yang-version 1.1;

    namespace
      "urn:ietf:params:xml:ns:yang:ietf-origin";

    prefix or;

    import ietf-yang-metadata {
      prefix md;
    }

    organization
      "IETF Network Modeling (NETMOD) Working Group";

    contact
      "WG Web:   <https://datatracker.ietf.org/wg/netmod/>

     WG List:  <mailto:netmod@ietf.org>
     Author:   Martin Bjorklund
               <mailto:mbj@tail-f.com>

     Author:   Juergen Schoenwaelder
               <mailto:j.schoenwaelder@jacobs-university.de>

     Author:   Phil Shafer
               <mailto:phil@juniper.net>

     Author:   Kent Watsen
               <mailto:kwatsen@juniper.net>

     Author:   Rob Wilton
               <rwilton@cisco.com>";

    description
      "This YANG module defines an 'origin' metadata annotation, and a
     set of identities for the origin value.

     Copyright (c) 2017 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 XXXX
     (http://www.rfc-editor.org/info/rfcxxxx); see the RFC itself
     for full legal notices.";

    revision "2017-08-17" {
      description "Initial revision.";
      reference
        "RFC XXXX: Network Management Datastore Architecture";

    }

    md:annotation "origin" {
      type "origin-ref";
      description "The 'origin' annotation can be present on any configuration
data node in the operational datastore.  It specifies from
where the node originated.  If not specified for a given
configuration data node then the origin is the same as the
origin of its parent node in the data tree.  The origin for
any top level configuration data nodes must be specified.";
    }

    identity origin {
      base 
      description
        "Abstract base identity for the origin annotation.";
    }

    identity intended {
      base origin;
      description
        "Denotes configuration from the intended configuration
       datastore";
    }

    identity dynamic {
      base origin;
      description
        "Denotes configuration from a dynamic configuration
       datastore.";
    }

    identity system {
      base origin;
      description
        "Denotes configuration originated by the system itself.

       Examples of system configuration include applied configuration
       for an always existing loopback interface, or interface
       configuration that is auto-created due to the hardware
       currently present in the device.";
    }

    identity learned {
      base origin;
      description
        "Denotes configuration learned from protocol interactions with
       other devices, instead of via either the intended
       configuration datastore or any dynamic configuration
       datastore.

       Examples of protocols that provide learned configuration
       include link-layer negotiations, routing protocols, and
       DHCP.";
    }

    identity default {
      base origin;
      description
        "Denotes configuration that does not have an configured or
       learned value, but has a default value in use.  Covers both
       values defined in a 'default' statement, and values defined
       via an explanation in a 'description' statement.";
    }

    identity unknown {
      base origin;
      description
        "Denotes configuration for which the system cannot identify the
       origin.";
    }

    typedef origin-ref {
      type identityref {
        base origin;
      }
      description
        "An origin identity reference.";
    }
  }  // module ietf-origin

Summary

  
  
Organization IETF Network Modeling (NETMOD) Working Group
  
Module ietf-origin
Version 2017-08-17
File ietf-origin@2017-08-17.yang
  
Prefix or
Namespace urn:ietf:params:xml:ns:yang:ietf-origin
  
Cooked /cookedmodules/ietf-origin/2017-08-17
YANG /src/ietf-origin@2017-08-17.yang
XSD /xsd/ietf-origin@2017-08-17.xsd
  
Abstract This YANG module defines an 'origin' metadata annotation, and a set of identities for the origin value. Copyright (c) 2017 IETF...
  
Contact
WG Web:   <https://datatracker.ietf.org/wg/netmod/>

WG List:  <mailto:netmod@ietf.org>
Author:   Martin Bjorklund
	  <mailto:mbj@tail-f.com>

Author:   Juergen Schoenwaelder
	  <mailto:j.schoenwaelder@jacobs-university.de>

Author:   Phil Shafer
	  <mailto:phil@juniper.net>

Author:   Kent Watsen
	  <mailto:kwatsen@juniper.net>

Author:   Rob Wilton
	  <rwilton@cisco.com>

Description

 
This YANG module defines an 'origin' metadata annotation, and a
set of identities for the origin value.

Copyright (c) 2017 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 XXXX
(http://www.rfc-editor.org/info/rfcxxxx); see the RFC itself
for full legal notices.

Typedefs

Typedef Base type Abstract
origin-ref identityref An origin identity reference.