This module contains a collection of YANG definitions for Cisco IOS-XR ethernet service activation test actions. Copyright (c) ...
Version: 2018-07-10
module Cisco-IOS-XR-ethernet-sat-act { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-sat-act"; prefix ethernet-sat-act; import Cisco-IOS-XR-types { prefix xr; } import Cisco-IOS-XR-ethernet-sat-datatypes { prefix dt1; } 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 ethernet service activation test actions. Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved."; revision "2018-07-10" { description "IOS XR 7.1.1 revision."; } typedef sat-mac-address-type { type string { pattern "[0-9a-fA-F]{4}(\\.[0-9a-fA-F]{4}){2}"; } description "MAC address"; } rpc service-activation-test-start { xr:xr-task "ethernet-services"; xr:cli-command "ethernet service-activation-test start interface <interface> profile <profile> destination <destination> direction <direction>"; description "Start a SAT on the specified interface"; input { leaf interface { type xr:Interface-name; mandatory true; description "Interface name"; } leaf profile { type xr:Cisco-ios-xr-string { length "1..63"; } mandatory true; description "Profile name"; } leaf destination { type sat-mac-address-type; mandatory true; description "Destination MAC address"; } leaf direction { type dt1:Sat-direction; mandatory true; description "Test direction"; } } } // rpc service-activation-test-start rpc service-activation-test-stop { xr:xr-task "ethernet-services"; xr:cli-command "ethernet service-activation-test stop interface <interface>"; description "Stop running SAT on the specified interface"; input { leaf interface { type xr:Interface-name; mandatory true; description "Interface name"; } } } // rpc service-activation-test-stop rpc service-activation-test-stop-all { xr:xr-task "ethernet-services"; xr:cli-command "ethernet service-activation-test stop all"; description "Stop running SAT on all interfaces"; } // rpc service-activation-test-stop-all rpc service-activation-test-clear { xr:xr-task "ethernet-services"; xr:cli-command "clear ethernet service-activation-test results interface <interface>"; description "Clear stored SAT results on the specified interface"; input { leaf interface { type xr:Interface-name; mandatory true; description "Interface name"; } } } // rpc service-activation-test-clear rpc service-activation-test-clear-all { xr:xr-task "ethernet-services"; xr:cli-command "clear ethernet service-activation-test results all"; description "Clear stored SAT results on all interfaces"; } // rpc service-activation-test-clear-all } // module Cisco-IOS-XR-ethernet-sat-act
© 2023 YumaWorks, Inc. All rights reserved.