This module contains a collection of YANG definitions for service-insertion operational data. Copyright (c) 2020-2021 by Cisco S...
Version: 2021-07-01
module Cisco-IOS-XE-appqoe-types { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XE-appqoe-types"; prefix appqoe-types-ios-xe; import cisco-semver { prefix cisco-semver; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 Tel: +1 1800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for service-insertion operational data. Copyright (c) 2020-2021 by Cisco Systems, Inc. All rights reserved."; revision "2021-07-01" { description "- Added support for AppQoE sub service status - Added new hybrid device mode"; reference "1.1.0"; } revision "2020-11-01" { description "Initial revision"; reference "1.0.0"; } cisco-semver:module-version "1.1.0"; cisco-semver:module-version "1.0.0"; typedef appqoe-sn-status { type enumeration { enum "sn-status-down" { value 0; description "Service node status is down"; } enum "sn-status-green" { value 1; description "Service node status is green"; } enum "sn-status-yellow" { value 2; description "Service node status is yellow"; } enum "sn-status-red" { value 3; description "Service node status is red"; } } description "Service node status"; } typedef appqoe-device-mode { type enumeration { enum "device-mode-cedge-sdwan" { value 0; description "Device mode is not configured"; } enum "device-mode-service-node" { value 1; description "Device mode is service node"; } enum "device-mode-integrated-service-node" { value 2; description "Device mode is integrated service node"; } enum "device-mode-service-controller" { value 3; description "Device mode is service controller"; } enum "device-mode-hybrid" { value 4; description "Device mode is hybrid"; } } description "Device mode state"; } typedef appqoe-service-id { type enumeration { enum "appqoe-service-unknown" { value 0; description "AppQoE service unknown"; } enum "appqoe-service-tcpopt" { value 1; description "AppQoE service Transmission Control Protocol (TCP) optimization"; } enum "appqoe-service-ssl" { value 2; description "AppQoE service Secure Sockets Layer (SSL)"; } enum "appqoe-service-dreopt" { value 3; description "AppQoE service Data Redundancy Elimination (DRE)"; } } description "Sub services offered under AppQoE"; } typedef appqoe-service-status { type enumeration { enum "appqoe-service-status-unknown" { value 0; description "AppQoE sub service status unknown"; } enum "appqoe-service-status-green" { value 1; description "AppQoE sub service status green"; } enum "appqoe-service-status-yellow" { value 2; description "AppQoE sub service status yellow"; } enum "appqoe-service-status-red" { value 3; description "AppQoE sub service status red"; } } description "AppQoE sub service status"; } grouping appqoe-service { description "List of AppQoE sub service with status"; leaf service { type appqoe-service-id; description "Service offered by AppQoE"; } leaf load-status { type appqoe-service-status; description "AppQoE service status"; } leaf load-percentage { when "(../load-status = 'appqoe-service-status-green')"; type uint8; units "percentage"; description "AppQoE service load percentage"; } } // grouping appqoe-service } // module Cisco-IOS-XE-appqoe-types
© 2023 YumaWorks, Inc. All rights reserved.