Cisco-IOS-XR-flowspec-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR flowspec package operational data. Copyright (c) 2013...

  • Version: 2019-04-05

    Cisco-IOS-XR-flowspec-oper-sub1@2019-04-05


    
      submodule Cisco-IOS-XR-flowspec-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-flowspec-oper {
            prefix Cisco-IOS-XR-flowspec-oper;
        }
    
        import cisco-semver {
          prefix semver;
        }
    
        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 submodule contains a collection of YANG definitions
         for Cisco IOS-XR flowspec package operational data.
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.0";
    
        typedef Fs-mgr-client-state {
          type enumeration {
            enum "dormant" {
              value 0;
              description "Dormant";
            }
            enum "connected" {
              value 1;
              description "Connected";
            }
            enum "replay" {
              value 2;
              description "Replay";
            }
            enum "unconfigured" {
              value 3;
              description "Unconfigured";
            }
          }
          description
            "FlowSpec manager client state";
        }
    
        grouping FS-MGR-FLOW-STATS-CTRS {
          description
            "Flowspec class stats counters.";
          leaf packets {
            type uint64;
            description "Number of packets";
          }
    
          leaf bytes {
            type uint64;
            units "byte";
            description "Number of bytes";
          }
        }  // grouping FS-MGR-FLOW-STATS-CTRS
    
        grouping FS-MGR-FLOW-STATS {
          description
            "Flowspec class classified and drop stats.";
          container classified {
            description "Classified statistics";
            uses FS-MGR-FLOW-STATS-CTRS;
          }  // container classified
    
          container dropped {
            description "Drop statistics";
            uses FS-MGR-FLOW-STATS-CTRS;
          }  // container dropped
        }  // grouping FS-MGR-FLOW-STATS
    
        grouping FS-MGR-NLRI {
          description
            "FlowSpec manager NLRI information";
          container flow-statistics {
            description "Flow statistics";
            uses FS-MGR-FLOW-STATS;
          }  // container flow-statistics
        }  // grouping FS-MGR-NLRI
    
        grouping FS-MGR-TBL-SUMMARY {
          description
            "FlowSpec manager table summary information";
          leaf total-flows {
            type uint32;
            description "Total number of flows";
          }
    
          leaf service-policies {
            type uint32;
            description
              "Total number of attached service policies";
          }
    
          leaf local-install-enabled {
            type boolean;
            description
              "Local installation of flowspec rules";
          }
        }  // grouping FS-MGR-TBL-SUMMARY
    
        grouping FS-MGR-SUMMARY {
          description
            "FlowSpec manager summary information";
          leaf vrfafi-tables {
            type uint32;
            description "Total VRF+AFI tables";
          }
    
          leaf flows {
            type uint32;
            description "Total flows";
          }
        }  // grouping FS-MGR-SUMMARY
    
        grouping FS-MGR-CLIENT {
          description
            "FlowSpec manager client information";
          leaf client-state {
            type Fs-mgr-client-state;
            description "State of FS client";
          }
    
          leaf client-flows {
            type uint32;
            description "Number of client flows";
          }
        }  // grouping FS-MGR-CLIENT
      }  // submodule Cisco-IOS-XR-flowspec-oper-sub1
    

© 2024 YumaWorks, Inc. All rights reserved.