NED UTD RPC YANG module for IOS Copyright (c) 2016-2019 by Cisco Systems, Inc. All rights reserved.
Version: 2019-11-01
module Cisco-IOS-XE-utd-rpc { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XE-utd-rpc"; prefix ios-xe-utd-rpc; import cisco-semver { prefix cisco-semver; } import Cisco-IOS-XE-rpc { prefix ios-xe-rpc; } organization "Cisco Systems"; contact "<mailto:cs-yang@cisco.com>"; description "NED UTD RPC YANG module for IOS Copyright (c) 2016-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-11-01" { description "- Updated augment"; } revision "2019-07-01" { description "- Establish semantic version baseline - Created for NED RPC modularisation"; } cisco-semver:module-version "2.0.0"; cisco-semver:module-version "1.0.0"; grouping utd-username-password-grouping { leaf username { type string; mandatory true; description "Provide the username for authentication"; } leaf password { type string; mandatory true; description "Provide the password for authentication"; } } // grouping utd-username-password-grouping rpc utd { description "Unified Threat Defense commands"; input { choice feature { container threat-inspection { description "IPS/IDS related commands"; container signature { description "Provide actions to be taken for signatures"; choice method { container saved-drop-node-name { leaf update { type empty; mandatory true; description "Update the IPS/IDS signature rules"; } } // container saved-drop-node-name container manual-drop-node-name { container update { description "Update the IPS/IDS signature rules"; choice type { container file { description "Perform an update of the signature package using a local file"; leaf filename-drop-node-name { type string; mandatory true; } } // container file container server { description "Provide config options for the signature update server"; choice type { container cisco { description "Use Cisco site to provide updates"; uses utd-username-password-grouping; } // container cisco container url { description "Enter the complete URL for the path to the update server"; choice url-uname-passwd { container credentials-drop-node-name { leaf url-drop-node-name { type string; mandatory true; } uses utd-username-password-grouping; } // container credentials-drop-node-name container no-credentials-drop-node-name { leaf url-drop-node-name { type string; mandatory true; } } // container no-credentials-drop-node-name } // choice url-uname-passwd } // container url } // choice type } // container server } // choice type } // container update } // container manual-drop-node-name } // choice method } // container signature } // container threat-inspection container web-filter { description "Web-filter related commands"; container database { description "Provide actions to be taken for the web-filter database"; leaf update { type empty; mandatory true; description "Update the web-filter database"; } } // container database } // container web-filter container file-inspection { description "UTD file inspection commands"; container analysis { description "UTD file analysis related commands"; leaf apikey { type string { length "1..128"; } mandatory true; description "Provide UTD file analysis apikey"; } } // container analysis } // container file-inspection } // choice feature } output { uses ios-xe-rpc:cisco-xe-rpc-output; } } // rpc utd augment /ios-xe-rpc:clear/ios-xe-rpc:input/ios-xe-rpc:clear-choice { container utd { description "Clear Unified Threat Defense information"; container engine { description "Clear information about the UTD engine"; container standard { description "Clear information about the standard engine"; choice utd-eng-std-choice { container logging { description "Clear logging information/logs from the container"; leaf events { type empty; description "Clear engine logging events from the container"; } } // container logging container statistics { description "Clear the engine statistics from the container"; choice stats-choice { container daq { description "Clear statistics for DAQ from the container"; choice daq-choice { leaf all-drop-node-name { type empty; } container vrf { description "Specify VRF for the stats"; choice vrf-choice { leaf global { type empty; description "Global VRF"; } leaf name { type string { length "1..32"; } description "VRF name"; } } // choice vrf-choice } // container vrf } // choice daq-choice } // container daq container url-filtering { description "Clear statistics for url filtering from the container"; choice url-filtering-choice { leaf all-drop-node-name { type empty; } container vrf { description "Specify VRF for the stats"; choice vrf-choice { leaf global { type empty; description "Global VRF"; } leaf name { type string { length "1..32"; } description "VRF name"; } } // choice vrf-choice } // container vrf } // choice url-filtering-choice } // container url-filtering } // choice stats-choice } // container statistics } // choice utd-eng-std-choice } // container standard } // container engine } // container utd } augment /ios-xe-rpc:clear/ios-xe-rpc:input/ios-xe-rpc:clear-choice/ios-xe-rpc:platform-case/ios-xe-rpc:platform/ios-xe-rpc:platform-choice/ios-xe-rpc:hardware-case/ios-xe-rpc:hardware/ios-xe-rpc:qfp/ios-xe-rpc:active/ios-xe-rpc:feature/ios-xe-rpc:feature-choice { container utd { description "Clear QFP UTD"; container stats { description "Clear UTD statistics"; choice stats-choice { leaf all-drop-node-name { type empty; } container default { description "Default Context"; leaf context { type empty; description "Default Context"; } } // container default leaf divert { type empty; description "Clear AppNav Redirect Statistics"; } leaf drop { type empty; description "Clear Drop Statistics"; } leaf general { type empty; description "Clear General Statistics"; } leaf sn { type empty; description "Clear AppNav Service Node Statistics"; } leaf summary { type empty; description "Clear Summary Statistics"; } leaf tls-decrypt { type empty; description "Clear TLS Decryption Statistics"; } container channel { description "Clear channel specific stats"; choice chnl-choice { leaf threat-defense { type empty; description "Clear UTD Dataplane Threat-Defense Channel Stats"; } leaf service { type empty; description "Clear UTD Dataplane Service Channel Stats"; } } // choice chnl-choice } // container channel leaf policy { type empty; description "Clear UTD Dataplane Policy Statistics"; } container vrf { description "Clear VRF Statistics"; choice vrf-choice { container default { description "Default Context"; leaf context { type empty; description "Default Context"; } } // container default leaf global { type empty; description "Global domain"; } leaf id { type uint16 { range "0..4096"; } description "Clear VRF statistics by id"; } leaf name { type string { length "1..32"; } description "Clear VRF statistics by name"; } } // choice vrf-choice } // container vrf } // choice stats-choice } // container stats } // container utd } } // module Cisco-IOS-XE-utd-rpc
© 2023 YumaWorks, Inc. All rights reserved.