forked from YangModels/yang
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IOS-XR 7.6.3 models (YangModels#1537)
- Loading branch information
1 parent
2aeeba1
commit dafcf20
Showing
1,317 changed files
with
986,708 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
103 changes: 103 additions & 0 deletions
103
vendor/cisco/xr/763/Cisco-IOS-XR-Ethernet-SPAN-act.yang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
module Cisco-IOS-XR-Ethernet-SPAN-act { | ||
namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-act"; | ||
prefix ethernet-span-act; | ||
|
||
import Cisco-IOS-XR-types { | ||
prefix xr; | ||
} | ||
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 module contains a collection of YANG definitions | ||
for Cisco IOS-XR Ethernet-SPAN action commands. | ||
Copyright (c) 2020-2021 by Cisco Systems, Inc. | ||
All rights reserved."; | ||
|
||
revision 2021-03-22 { | ||
description | ||
"Remove unnecessary module imports | ||
2020-11-09 | ||
First implementation of action yang for File destinations"; | ||
semver:module-version "1.0.0"; | ||
} | ||
|
||
rpc packet-collection-start { | ||
description | ||
"Start packet collection on this session"; | ||
input { | ||
leaf session { | ||
type string { | ||
length "1..63"; | ||
} | ||
mandatory true; | ||
description | ||
"Session name"; | ||
} | ||
} | ||
xr:xr-task "ethernet-services"; | ||
xr:cli-command "monitor-session <session> packet-collection start"; | ||
} | ||
rpc packet-collection-stop-discard { | ||
description | ||
"Stop packet collection on this session and discard data in buffer"; | ||
input { | ||
leaf session { | ||
type string { | ||
length "1..63"; | ||
} | ||
mandatory true; | ||
description | ||
"Session name"; | ||
} | ||
} | ||
xr:xr-task "ethernet-services"; | ||
xr:cli-command "monitor-session <session> packet-collection stop discard-data"; | ||
} | ||
rpc packet-collection-stop-write { | ||
description | ||
"Stop packet collection on this session and write contents to file"; | ||
input { | ||
leaf session { | ||
type string { | ||
length "1..63"; | ||
} | ||
mandatory true; | ||
description | ||
"Session name"; | ||
} | ||
leaf dirname { | ||
type string { | ||
length "1..63"; | ||
} | ||
mandatory true; | ||
description | ||
"Directory name"; | ||
} | ||
leaf filename { | ||
type string { | ||
length "1..63"; | ||
} | ||
mandatory true; | ||
description | ||
"File name"; | ||
} | ||
} | ||
xr:xr-task "ethernet-services"; | ||
xr:cli-command "monitor-session <session> packet-collection stop write directory <dirname> filename <filename>"; | ||
} | ||
} |
Oops, something went wrong.