This module contains a collection of YANG definitions for Cisco IOS-XR flowspec package operational data. This module contains ...
Version: 2019-04-05
module Cisco-IOS-XR-flowspec-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-flowspec-oper"; prefix flowspec-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-flowspec-oper-sub1 { revision-date "2019-04-05"; } 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 flowspec package operational data. This module contains definitions for the following management objects: flow-spec: FlowSpec information 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-client { type enumeration { enum "bgp" { value 0; description "FlowSpec BGP Client"; } enum "one-pk" { value 1; description "FlowSpec OneP Client"; } enum "policy" { value 2; description "FlowSpec Policy Client"; } enum "ha" { value 3; description "FlowSpec HA Client"; } enum "test" { value 4; description "FlowSpec Test Client"; } } description "Fs client"; } container flow-spec { config false; description "FlowSpec information"; container clients { description "Table of Client"; list client { description "FlowSpec client information"; leaf client-type { type Fs-client; description "FlowSpec Client Type"; } leaf client-id { type uint32; description "FlowSpec client ID"; } leaf client-state { type Fs-mgr-client-state; description "State of FS client"; } leaf client-flows { type uint32; description "Number of client flows"; } } // list client } // container clients container summary { description "FlowSpec summary"; leaf vrfafi-tables { type uint32; description "Total VRF+AFI tables"; } leaf flows { type uint32; description "Total flows"; } } // container summary container vrfs { description "Table of VRF"; list vrf { key "vrf-name"; description "VRF information"; container afs { description "Table of AF"; list af { key "af-name"; description "AFI Type (IPv4/IPv6)"; container table-summary { description "FlowSpec summary for VRF+AFI tables"; 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"; } } // container table-summary container nlris { description "Table of NLRI"; list nlri { key "nlri-bytes"; description "NLRI information (hexdump)"; leaf nlri-bytes { type xr:Cisco-ios-xr-string; description "Enter NLRI hex string"; } container flow-statistics { description "Flow statistics"; container classified { description "Classified statistics"; leaf packets { type uint64; description "Number of packets"; } leaf bytes { type uint64; units "byte"; description "Number of bytes"; } } // container classified container dropped { description "Drop statistics"; leaf packets { type uint64; description "Number of packets"; } leaf bytes { type uint64; units "byte"; description "Number of bytes"; } } // container dropped } // container flow-statistics } // list nlri } // container nlris container flows { description "Table of Flow"; list flow { key "flow-notation"; description "Flow notation string"; leaf flow-notation { type string; description "Enter the Flow notation string"; } container flow-statistics { description "Flow statistics"; container classified { description "Classified statistics"; leaf packets { type uint64; description "Number of packets"; } leaf bytes { type uint64; units "byte"; description "Number of bytes"; } } // container classified container dropped { description "Drop statistics"; leaf packets { type uint64; description "Number of packets"; } leaf bytes { type uint64; units "byte"; description "Number of bytes"; } } // container dropped } // container flow-statistics } // list flow } // container flows leaf af-name { type xr:Cisco-ios-xr-string; description "Set string"; } } // list af } // container afs leaf vrf-name { type xr:Cisco-ios-xr-string { length "1..32"; } description "VRF Name"; } } // list vrf } // container vrfs } // container flow-spec } // module Cisco-IOS-XR-flowspec-oper
© 2024 YumaWorks, Inc. All rights reserved.