cisco-ospf

This YANG module defines the Cisco OSPF common yang model Copyright (c) 2016 by Cisco Systems, Inc. All rights reserved.

  • Version: 2019-07-01

    cisco-ospf@2019-07-01


    
      module cisco-ospf {
    
        yang-version 1;
    
        namespace
          "urn:ietf:params:xml:ns:yang:cisco-ospf";
    
        prefix cisco-ospf;
    
        import cisco-semver {
          prefix cisco-semver;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-routing {
          prefix rt;
        }
        import ietf-ospf {
          prefix ospf;
        }
    
        organization
          "Cisco Systems
         170 West Tasman Drive
         San Jose, CA 95134-1706
         USA";
    
        contact
          "Author:   Manish Gupta
                   <magupta2@cisco.com>";
    
        description
          "This YANG module defines the Cisco OSPF common
         yang model
         Copyright (c) 2016 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-07-01" {
          description
            "Establish semantic version baseline";
        }
    
        revision "2016-03-30" {
          description
            "Update description with copyright notice.";
        }
    
        revision "2015-05-19" {
          description "Comments addressed";
          reference
            "ietf-ospf.yang";
    
        }
    
        revision "2015-05-07" {
          description "Initial revision.";
          reference
            "ietf-ospf.yang";
    
        }
    
        cisco-semver:module-version "1.0.0";
    
        typedef ospf-external-type {
          type enumeration {
            enum "1" {
              value 0;
              description "type 1";
            }
            enum "2" {
              value 1;
              description "type 2";
            }
          }
          description "external route types";
        }
    
        typedef access-list-standard-id-type {
          type union {
            type default-access-list-standard-id-type;
            type string;
          }
          description
            "WORD;;Standard access-list name";
        }
    
        typedef default-access-list-standard-id-type {
          type union {
            type uint8 {
              range "1..99";
            }
            type uint16 {
              range "1300..1999";
            }
          }
          description
            "IP Standard/Expanded access list number";
        }
    
        typedef uint32_max {
          type uint32 {
            range "0..4294967295";
          }
          description
            "32-bit unsigned integer range.";
        }
    
        typedef uint16_max {
          type uint16 {
            range "1 .. 65535";
          }
          description
            "16-bit unsigned integer range";
        }
    
        typedef uint8_max {
          type uint8 {
            range "1 .. 255";
          }
          description
            "8-bit unsigned integer range";
        }
    
        typedef delay_range {
          type uint32 {
            range "0..600000";
          }
          description
            "defintion for timer range";
        }
    
        typedef access-list-in-out-type {
          type enumeration {
            enum "in" {
              value 0;
              description
                "Filter incoming routing updates";
            }
            enum "out" {
              value 1;
              description
                "Filter outgoing routing updates";
            }
          }
          description "Access list in and out";
        }
    
        typedef prefix-applicability {
          type enumeration {
            enum "protected" {
              value 1;
              description
                "Protected prefixes only";
            }
            enum "all" {
              value 2;
              description "All prefixes";
            }
          }
          description "Ospf uloop avoidance";
        }
    
        typedef process-id-or-name {
          type union {
            type uint16_max;
            type string;
          }
          description "Process ID or Name.";
        }
    
        typedef ospf-log-adj {
          type enumeration {
            enum "enable" {
              value 0;
              description
                "Enable log adjacency brief";
            }
            enum "detail" {
              value 1;
              description
                "Enable log adjcency detail";
            }
            enum "disable" {
              value 2;
              description
                "disable log adjacency";
            }
          }
          description
            "Ospf log adjacency changes";
        }
    
        feature graceful-shutdown {
          description
            "graceful-shutdown feature currently
           present in XR os";
        }
    
        feature database-filter {
          description
            "database-filter feature currently
           present in XR os";
        }
    
        feature flood-reduction {
          description
            "flood-reduction feature currently
           present in XR os";
        }
      }  // module cisco-ospf
    

© 2023 YumaWorks, Inc. All rights reserved.