Cisco-IOS-XR-ipv6-ospfv3-act

This module contains a collection of YANG definitions for Cisco IOS-XR IPv6 OSPFv3 action package configuration. Copyright (c) ...

  • Version: 2020-08-13

    Cisco-IOS-XR-ipv6-ospfv3-act@2020-08-13


    
      module Cisco-IOS-XR-ipv6-ospfv3-act {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-act";
    
        prefix ospfv3-act;
    
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import ietf-inet-types {
          prefix inet;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
         
         Postal: 170 West Tasman Drive
         San Jose, CA 95134
         
         Tel: +1 800 553-NETS
         
         E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of YANG definitions
         for Cisco IOS-XR IPv6 OSPFv3 action package configuration.
         
         Copyright (c) 2016-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-08-13" {
          description
            "Added xr-task name ospf to restrict unlimited permission";
        }
    
        revision "2019-10-01" {
          description
            "Made changes to be RFC6087 compliant";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2016-09-14" {
          description "IOS XR 6.2.1 revision.";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        grouping OSPFv3-STAT-ATTRIBUTES {
          description "OSPFv3 Stat Attributes";
          leaf process {
            type empty;
            description "Reset OSPFv3 process";
          }
    
          leaf redistribution {
            type empty;
            description
              "Clear OSPFv3 route redistrbution";
          }
    
          leaf route {
            type empty;
            description
              "Clear OSPFv3 route table";
          }
    
          container stats {
            description
              "OSPFv3 counters and statistics";
            leaf spf {
              type empty;
              description "SPF statistics";
            }
    
            leaf prefix-priority {
              type empty;
              description
                "SPF Prefix Priority statistics";
            }
    
            container neighbor {
              description
                "Neighbor statistics per interface or neighbor id";
              leaf neighbor-id {
                type inet:ipv4-address;
                description "Neighbor ID";
              }
    
              container interface {
                description "Interface";
                leaf interface-name {
                  type xr:Interface-name;
                  description
                    "OSPFv3 interface statistics";
                }
              }  // container interface
            }  // container neighbor
          }  // container stats
        }  // grouping OSPFv3-STAT-ATTRIBUTES
    
        rpc clear-ospfv3-routes {
          description "Clear OSPFv3 route table";
          input {
            container instance {
              description
                "Clear data from OSPFv3 instance";
              leaf instance-identifier {
                type string;
                description
                  "OSPFv3 process instance identifier";
              }
            }  // container instance
    
            leaf route {
              type empty;
              mandatory true;
              description
                "Clear OSPFv3 route table";
            }
          }
        }  // rpc clear-ospfv3-routes
    
        rpc clear-ospfv3-redistribution {
          description
            "Clear OSPFv3 route redistribution";
          input {
            container instance {
              description
                "Clear data from OSPFv3 instance";
              leaf instance-identifier {
                type string;
                description
                  "OSPFv3 process instance identifier";
              }
            }  // container instance
    
            leaf redistribution {
              type empty;
              mandatory true;
              description
                "Clear OSPFv3 route redistribution";
            }
          }
        }  // rpc clear-ospfv3-redistribution
    
        rpc clear-ospfv3-process {
          description
            "Clear (reset) OSPFv3 Process";
          input {
            container instance {
              description
                "Clear data from OSPFv3 instance";
              leaf instance-identifier {
                type string;
                description
                  "OSPFv3 process instance identifier";
              }
            }  // container instance
    
            leaf process {
              type empty;
              mandatory true;
              description "Reset OSPFv3 process";
            }
          }
        }  // rpc clear-ospfv3-process
    
        rpc clear-ospfv3-statistics-neighbor {
          description
            "Clear OSPFv3 neighbor statistics per interface or neighbor id";
          input {
            container instance {
              description
                "Clear data from OSPFv3 instance";
              leaf instance-identifier {
                type string;
                description
                  "OSPFv3 process instance identifier";
              }
            }  // container instance
    
            container neighbor {
              description "Neighbor";
              leaf neighbor-id {
                type inet:ipv4-address;
                description "Neighbor ID";
              }
    
              leaf interface-name {
                type xr:Interface-name;
                description "Interface";
              }
            }  // container neighbor
          }
        }  // rpc clear-ospfv3-statistics-neighbor
    
        rpc clear-ospfv3-statistics {
          description
            "Clear OSPFv3 counters and statistics";
          input {
            container instance {
              description
                "Clear data from OSPFv3 instance";
              leaf instance-identifier {
                type string;
                description
                  "OSPFv3 process instance identifier";
              }
            }  // container instance
    
            leaf prefix-priority {
              type empty;
              description
                "All OSPFv3 counters and statistics";
            }
    
            leaf spf {
              type empty;
              description "SPF statistics";
            }
    
            leaf neighbor {
              type empty;
              description
                "Neighbor statistics per neighbor id";
            }
          }
        }  // rpc clear-ospfv3-statistics
    
        rpc clear-ospfv3-instance-vrf {
          description
            "Clear one or more non-default OSPFv3 VRFs in process";
          input {
            container instance {
              description "OSPFv3 instance name";
              leaf instance-identifier {
                type string;
                mandatory true;
                description
                  "OSPFv3 process instance identifier";
              }
    
              container vrf {
                description
                  "Clear one or more non-default OSPFv3 VRFs in process";
                leaf vrf-name {
                  type string;
                  mandatory true;
                  description "OSPFv3 VRF name";
                }
    
                uses OSPFv3-STAT-ATTRIBUTES;
              }  // container vrf
    
              container all {
                description
                  "Clear all non-default OSPFv3 VRFs";
                uses OSPFv3-STAT-ATTRIBUTES;
              }  // container all
    
              container all-inclusive {
                description
                  "Clear all non-default and default OSPFv3 VRFs";
                uses OSPFv3-STAT-ATTRIBUTES;
              }  // container all-inclusive
            }  // container instance
          }
        }  // rpc clear-ospfv3-instance-vrf
      }  // module Cisco-IOS-XR-ipv6-ospfv3-act
    

© 2023 YumaWorks, Inc. All rights reserved.