blob: 1d8d7fe879a8c531a4f6698b2a23704c531e9059 [file] [log] [blame]
Jeff Groom34c28ce2018-04-26 19:42:18 -06001module ciena-waveserver-system {
2 namespace "urn:ciena:params:xml:ns:yang:ciena-ws:ciena-waveserver-system";
3 prefix system;
4
5 import ciena-waveserver-typedefs {
6 prefix cienawstypes;
7 }
8
9 organization
10 "Ciena Corporation";
11 contact
12 "Web URL: http://www.ciena.com/
13 Postal: 7035 Ridge Road
14 Hanover, Maryland 21076
15 U.S.A.
16 Phone: +1 800-921-1144
17 Fax: +1 410-694-5750";
18 description
19 "This YANG module defines Ciena's Waveserver System representation.";
20
21 revision 2018-01-04 {
22 description
23 "Changed site 'latitude' and 'longitude' precision from 5 to 6 digits.
24 Updated 'server-config' attribute permissions.
25 Added 'domain-name' container support.
26 Added 'server-config/ssh' container support.
27 Added 'client-config' container support with 'dhcp' and 'ntp' sub-containers.
28 Added 'shell' container for Waveserver CLI shell/session configuration attributes.
29 Added 'secret' read-only attribute to the environment/root container.
30 Remove 'include-datapath' and 'include-optics' attributes from 'state-dump' command.";
31 reference "Waveserver Ai user's guide.";
32 }
33 revision 2017-06-30 {
34 description
35 "Waveserver Platform Data Model
36 Migrated from Waveserver Classic R1.4 YANG model.
37 Updated namespace to 'ciena-waveserver'.
38 Added scp server support (from WS 1.5).
39 Remove bandplan, front-display, fcs-error-forwarding, low-power-mode as not supported on WS Ai R1.0.
40 Updated xftp-config/tftp 'dhcp-host-name' and 'current-host-name' to be config false.
41 Added 'default-settings' container with leafs to configure 'conditioning-type' and 'conditioning-holdoff' system defaults.
42 Added 'grpc-server-state' and 'scp-server-state' to server-config container.
43 Combined several boolean leafs in 'server-settings-group' into a single enum.";
44 reference "Waveserver Ai user's guide.";
45 }
46
47 typedef line-protection-enum {
48 type enumeration {
49 enum "unprotected" {
50 value 0;
51 description
52 "Line protection is disabled.";
53 }
54 enum "trunk-ops" {
55 value 1;
56 description
57 "Line protection is enabled.";
58 }
59 }
60 description
61 "Enum for line protection options.";
62 }
63
64 grouping server-settings-group {
65 description
66 "Grouping for common server settings attributes used in various RPCs.";
67 leaf server-to-use {
68 type enumeration {
69 enum "none" {
70 description
71 "Don't specify a remote server for the file transfer.";
72 }
73 enum "default-server" {
74 description
75 "Use the default server for the file transfer.";
76 }
77 enum "default-tftp-server" {
78 description
79 "Use the default TFTP server for the file transfer.";
80 }
81 enum "default-ftp-server" {
82 description
83 "Use the default FTP server for the file transfer.";
84 }
85 enum "default-sftp-server" {
86 description
87 "Use the default SFTP server for the file transfer.";
88 }
89 enum "default-scp-server" {
90 description
91 "Use the default SCP server for the file transfer.";
92 }
93 enum "specified-tftp-server" {
94 description
95 "Use the user-specified TFTP server for the file transfer. A tftp-server value must also be specified in the request.";
96 }
97 enum "specified-ftp-server" {
98 description
99 "Use the user-specified FTP server for the file transfer. An ftp-server value must also be specified in the request.";
100 }
101 enum "specified-sftp-server" {
102 description
103 "Use the user-specified SFTP server for the file transfer. An sftp-server value must also be specified in the request.";
104 }
105 enum "specified-scp-server" {
106 description
107 "Use the user-specified SCP server for the file transfer. A scp-server value must also be specified in the request.";
108 }
109 }
110 description
111 "If server-to-use is specified with a value other than 'none; in the RPC request, then the system will use the specified server for the file transfer.";
112 }
113 leaf tftp-server-address {
114 type cienawstypes:string-maxl-64;
115 description
116 "The TFTP server IP address to use for the file transfer if server-to-use is 'specified-tftp-server'. Otherwise this attribute is ignored.";
117 }
118 leaf ftp-server-address {
119 type cienawstypes:string-maxl-64;
120 description
121 "The FTP server IP address to use for the file transfer if server-to-use is 'specified-ftp-server'. Otherwise this attribute is ignored.";
122 }
123 leaf ftp-login-id {
124 type cienawstypes:string-maxl-32;
125 description
126 "The FTP username.";
127 }
128 leaf ftp-password {
129 type cienawstypes:string-maxl-128;
130 description
131 "The FTP password.";
132 }
133 leaf ftp-secret {
134 type cienawstypes:string-maxl-256;
135 description
136 "The FTP secret(pre-encrypted) string.";
137 }
138 leaf sftp-server-address {
139 type cienawstypes:string-maxl-64;
140 description
141 "The SFTP server IP address to use for the file transfer if server-to-use is 'specified-sftp-server'. Otherwise this attribute is ignored.";
142 }
143 leaf sftp-login-id {
144 type cienawstypes:string-maxl-32;
145 description
146 "The SFTP login ID.";
147 }
148 leaf sftp-password {
149 type cienawstypes:string-maxl-128;
150 description
151 "The SFTP password.";
152 }
153 leaf sftp-secret {
154 type cienawstypes:string-maxl-256;
155 description
156 "The SFTP secret(pre-encrypted) string.";
157 }
158 leaf scp-server-address {
159 type cienawstypes:string-maxl-64;
160 description
161 "The SCP server IP address to use for the file transfer if server-to-use is 'specified-scp-server'. Otherwise this attribute is ignored.";
162 }
163 leaf scp-login-id {
164 type cienawstypes:string-maxl-32;
165 description
166 "The SCP login ID.";
167 }
168 leaf scp-password {
169 type cienawstypes:string-maxl-128;
170 description
171 "The SCP password.";
172 }
173 leaf scp-secret {
174 type cienawstypes:string-maxl-256;
175 description
176 "The SCP secret(pre-encrypted) string.";
177 }
178 }
179
180 container waveserver-system {
181 description
182 "Waveserver System configuration data and operational data.";
183 container id {
184 description
185 "Waveserver system identification attributes.";
186 container site {
187 description
188 "Waveserver system site attributes.";
189 leaf id {
190 type uint16 {
191 range "0..65535";
192 }
193 description
194 "An integer to uniquely identify the site where this Waveserver is located. This is used to help group Waveservers together with line system equipment. All equipment in a common site should share the same site identifier. ";
195 }
196 leaf name {
197 type string {
198 length "0..32";
199 }
200 description
201 "The name for the site where the Waveserver is located.";
202 }
203 leaf description {
204 type string {
205 length "0..64";
206 }
207 description
208 "The site description";
209 }
210 leaf latitude {
211 type decimal64 {
212 fraction-digits 6;
213 range "-90.0 .. 90.0";
214 }
215 description
216 "Geographic coordinate for the site location in degrees.";
217 }
218 leaf longitude {
219 type decimal64 {
220 fraction-digits 6;
221 range "-180.0 .. 180.0";
222 }
223 description
224 "Geographic coordinate for the site location in degrees.";
225 }
226 leaf address {
227 type string {
228 length "0..128";
229 }
230 description
231 "The street address of the site.";
232 }
233 }
234 container group {
235 description
236 "Waveserver system group attributes.";
237 leaf id {
238 type uint8 {
239 range "0..99";
240 }
241 description
242 "An integer to uniquely identify a group of Waveservers within a site.";
243 }
244 leaf name {
245 type string {
246 length "0..32";
247 }
248 description
249 "A name for the group of Waveservers.";
250 }
251 leaf description {
252 type string {
253 length "0..64";
254 }
255 description
256 "A description for the group of Waveservers. ";
257 }
258 }
259 container member {
260 description
261 "Waveserver system member attributes.";
262 leaf id {
263 type uint8 {
264 range "0..254";
265 }
266 description
267 "An integer to uniquely identify a Waveserver chassis within a group of Waveservers.";
268 }
269 leaf name {
270 type string {
271 length "0..32";
272 }
273 description
274 "A name for the Waveserver chassis.";
275 }
276 leaf description {
277 type string {
278 length "0..64";
279 }
280 description
281 "A description for the Waveserver chassis.";
282 }
283 leaf frame-identification {
284 type string {
285 length "0..128";
286 }
287 description
288 "A description to identify the location of the Waveserver chassis within the data center. For example, the building, floor, aisle, frame number, etc.";
289 }
290 leaf rack-unit-number {
291 type uint8 {
292 range "0..50";
293 }
294 description
295 "A logical identifier for the Waveservers location within the frame or rack. For example, the device at the top could be labelled unit 1.";
296 }
297 }
298 }
299 container host-name {
300 description
301 "Waveserver system host name attributes.";
302 leaf current-host-name {
303 type cienawstypes:string-maxl-64;
304 config false;
305 description
306 "Current host name.";
307 }
308 leaf config-host-name {
309 type cienawstypes:string-maxl-64;
310 description
311 "User configured host name.";
312 }
313 leaf dhcp-host-name {
314 type cienawstypes:string-maxl-64;
315 config false;
316 description
317 "DHCP configured host name.";
318 }
319 }
320 container domain-name {
321 description
322 "Waveserver system domain name attributes.";
323 leaf current-domain-name {
324 type cienawstypes:string-maxl-64;
325 config false;
326 description
327 "Current domain name. This will either be the DHCP-assigned domain name, or the user-configured value, respectively.";
328 }
329 leaf config-domain-name {
330 type cienawstypes:string-maxl-64;
331 description
332 "User configured domain name.";
333 }
334 leaf dhcp-domain-name {
335 type cienawstypes:string-maxl-64;
336 config false;
337 description
338 "DHCP configured domain name, if assigned. DHCP Client must be enabled with Option 15 support in order to obtain a domain name from the server.";
339 }
340 }
341 container time-config {
342 description
343 "Waveserver system time configuration attributes.";
344 leaf date {
345 type string {
346 length "1..11";
347 pattern "\\d{4}-\\d{2}-\\d{2}|\\d{2}-\\d{2}-\\d{2}|\\d{2}-\\d{2}";
348 }
349 description
350 "Date: must be in format: yyyy-mm-dd, or yy-mm-dd, or mm-dd.";
351 }
352 leaf time {
353 type string {
354 length "1..9";
355 pattern "\\d{2}:\\d{2}:\\d{2}|\\d{2}:\\d{2}";
356 }
357 description
358 "Time: must be in format: hh:mm:ss";
359 }
360 leaf time-offset {
361 type decimal64 {
362 fraction-digits 2;
363 range "-43200.0 .. 50400.0";
364 }
365 description
366 "System time-offset from UTC in seconds.";
367 }
368 leaf time-stamp {
369 type enumeration {
370 enum "utc" {
371 description
372 "Timestamp is indicated in Coordinated Universal Time (UTC) format.";
373 }
374 enum "local" {
375 description
376 "Timestamp is indicated in local time format.";
377 }
378 }
379 description
380 "System time stamp format: local time or UTC time.";
381 }
382 leaf local-date-time {
383 type string {
384 length "1..41";
385 }
386 config false;
387 description
388 "Local date and time Time";
389 }
390 leaf coordinated-universal-time {
391 type string {
392 length "1..41";
393 }
394 config false;
395 description
396 "UTC date and time Time";
397 }
398 leaf system-uptime {
399 type string {
400 length "1..17";
401 }
402 config false;
403 description
404 "Time since last reboot, in format: xxxd xxh xxm xxs";
405 }
406 }
407 container server-config {
408 description
409 "Waveserver system server configuration attributes.";
410 leaf sftp-server-state {
411 type cienawstypes:enabled-disabled-enum;
412 description
413 "Indicate whether SFTP server is enabled.";
414 }
415 leaf scp-server-state {
416 type cienawstypes:enabled-disabled-enum;
417 description
418 "Indicate whether SCP server is enabled.";
419 }
420 leaf web-server-state {
421 type cienawstypes:enabled-disabled-enum;
422 description
423 "Indicate whether web server is enabled, HTTPS only.";
424 }
425 leaf netconf-server-state {
426 type cienawstypes:enabled-disabled-enum;
427 description
428 "Indicate whether NETCONF server is enabled.";
429 }
430 leaf restconf-server-state {
431 type cienawstypes:enabled-disabled-enum;
432 config false;
433 description
434 "Indicate whether RESTCONF server is enabled, HTTPS only.";
435 }
436 leaf grpc-server-state {
437 type cienawstypes:enabled-disabled-enum;
438 description
439 "Indicate whether gRPC server is enabled.";
440 }
441 container ssh {
442 description
443 "SSH server configuration.";
444 leaf admin-state {
445 type cienawstypes:enabled-disabled-enum;
446 config false;
447 description
448 "SSH server administrative state. Currently a read-only attribute.
449 SSH server is enabled by default and cannot be explicitly disabled.";
450 }
451 leaf operational-state {
452 type cienawstypes:up-down-enum;
453 config false;
454 description
455 "SSH server operational state.";
456 }
457 leaf authentication-retries {
458 type uint8 {
459 range "1..3";
460 }
461 description
462 "Number of authentication retries allowed before the SSH connection
463 is dropped.";
464 }
465 leaf listener-port {
466 type uint16 {
467 range "22..65535";
468 }
469 description
470 "Configured SSH listener port. Default is port 22.";
471 }
472 leaf session-limit {
473 type uint16;
474 config false;
475 description
476 "SSH session limit. Read-only attribute.";
477 }
478 }
479 }
480 container client-config {
481 description
482 "Waveserver client configuration attributes.";
483 container dhcp {
484 description
485 "Waveserver DHCP client configuration attributes.";
486 leaf admin-state {
487 type cienawstypes:enabled-disabled-enum;
488 description
489 "DHCP client administrative atate";
490 }
491 leaf operational-state {
492 type cienawstypes:up-down-enum;
493 config false;
494 description
495 "DHCP client operational state.";
496 }
497 }
498 container ntp {
499 description
500 "Waveserver NTP client configuration attributes.";
501 leaf admin-state {
502 type cienawstypes:enabled-disabled-enum;
503 description
504 "NTP client administrative state.";
505 }
506 leaf operational-state {
507 type cienawstypes:up-down-enum;
508 config false;
509 description
510 "NTP client operational state.";
511 }
512 leaf authentication-state {
513 type cienawstypes:enabled-disabled-enum;
514 description
515 "NTP client authentication state. When enabled, only MD5
516 authenticated packets will be used to synchronize the time.";
517 }
518 leaf mode {
519 type enumeration {
520 enum "polling" {
521 description
522 "NTP client is in polling mode.";
523 }
524 enum "broadcast" {
525 description
526 "NTP client is in broadcast mode.";
527 }
528 enum "multicast" {
529 description
530 "NTP client is in multicast mode.";
531 }
532 }
533 description
534 "NTP client mode.";
535 }
536 leaf polling-interval {
537 type uint32 {
538 range "16|32|64|128|256|512|1024|2048|4096|8192|16384|32768|65536";
539 }
540 units "seconds";
541 description
542 "The NTP client polling interval, in seconds. Applicable only when
543 NTP client mode is set to 'polling'. This is a global setting that
544 applies to all configured NTP peer servers.";
545 }
546 leaf delay {
547 type cienawstypes:decimal-3-dig;
548 units "ms";
549 config false;
550 description
551 "Round trip delay to the active NTP peer, in milliseconds.";
552 }
553 leaf offset {
554 type cienawstypes:decimal-3-dig;
555 units "ms";
556 config false;
557 description
558 "The time offset between the NTP client and server, in milliseconds.";
559 }
560 leaf jitter {
561 type cienawstypes:decimal-3-dig;
562 units "ms";
563 config false;
564 description
565 "The mean deviation/dispersion of multiple time samples from the
566 active NTP peer, in milliseconds.";
567 }
568 leaf synchronized {
569 type boolean;
570 config false;
571 description
572 "Specifies whether NTP client has synchronized the system time
573 with a remote peer server.";
574 }
575 list ntp-key {
576 key "key-id";
577 max-elements "32";
578 description
579 "List of NTP authentication keys.";
580 leaf key-id {
581 type uint16;
582 mandatory true;
583 description
584 "Unique index value for the NTP authentication key.";
585 }
586 leaf key-type {
587 type enumeration {
588 enum "MD5" {
589 description
590 "Authentication key uses MD5 encryption.";
591 }
592 }
593 config false;
594 description
595 "Encryption type used for the NTP authentication key.";
596 }
597 leaf key-value {
598 type string {
599 length "2..31";
600 }
601 description
602 "NTP authentication key value.";
603 }
604 }
605 list server {
606 key "address";
607 max-elements "10";
608 description
609 "List of NTP servers to use for time synchronization.";
610 leaf address {
611 type cienawstypes:ipaddr-or-hostname;
612 mandatory true;
613 description
614 "Configured IP address or Domain Name of the remote NTP server.";
615 }
616 leaf ip-address {
617 type cienawstypes:string-maxl-64;
618 config false;
619 description
620 "Operational IP address associated with the remote NTP server,
621 if configured/available, or 'Unresolved' otherwise.";
622 }
623 leaf admin-state {
624 type cienawstypes:enabled-disabled-enum;
625 description
626 "NTP remote server administrative state.";
627 }
628 leaf operational-state {
629 type cienawstypes:up-down-enum;
630 config false;
631 description
632 "NTP remote server operational state.";
633 }
634 leaf key-id {
635 type leafref {
636 path "../../ntp-key/key-id";
637 }
638 description
639 "Leafref to 'ntp-key' list 'key-id' values.";
640 }
641 leaf offset {
642 type cienawstypes:decimal-3-dig;
643 units "ms";
644 config false;
645 description
646 "Estimated current time offset between the NTP client and server, in milliseconds.";
647 }
648 }
649 }
650 }
651 container xftp-config {
652 description
653 "Waveserver system XFTP configuration attributes.";
654 leaf mode {
655 type enumeration {
656 enum "none" {
657 value 0;
658 description
659 "No FTP mode is specified.";
660 }
661 enum "tftp" {
662 value 1;
663 description
664 "Trivial File Transfer Protocol (TFTP) mode.";
665 }
666 enum "ftp" {
667 value 2;
668 description
669 "File Transfer Protocol (FTP) mode.";
670 }
671 enum "sftp" {
672 value 3;
673 description
674 "Secure File Transfer Protocol (SFTP) mode.";
675 }
676 enum "scp" {
677 value 4;
678 description
679 "Secure Copy Protocol (SCP) mode.";
680 }
681 }
682 description
683 "Identifies which file transfer protocol to user when default-server is specified in a command - FTP, SFTP, TFTP or SCP.";
684 }
685 container tftp {
686 description
687 "Waveserver system TFTP configuration.";
688 leaf config-host-name {
689 type cienawstypes:string-maxl-64;
690 description
691 "TFTP host name configured by user. Format is an IP address (with optional port) or host name.";
692 }
693 leaf dhcp-host-name {
694 type cienawstypes:string-maxl-64;
695 config false;
696 description
697 "TFTP DHCP host name.";
698 }
699 leaf current-host-name {
700 type cienawstypes:string-maxl-64;
701 config false;
702 description
703 "TFTP current host name.";
704 }
705 }
706 container ftp {
707 description
708 "Waveserver system FTP configuration.";
709 leaf host-name {
710 type cienawstypes:string-maxl-64;
711 description
712 "FTP host name. Format is an IP address (with optional port) or host name.";
713 }
714 leaf user-name {
715 type cienawstypes:string-maxl-32;
716 description
717 "FTP user name.";
718 }
719 leaf password {
720 type cienawstypes:string-maxl-128;
721 description
722 "FTP password string.";
723 }
724 leaf secret {
725 type cienawstypes:string-maxl-256;
726 description
727 "FTP secret string.";
728 }
729 }
730 container sftp {
731 description
732 "Waveserver system SFTP configuration.";
733 leaf host-name {
734 type cienawstypes:string-maxl-64;
735 description
736 "SFTP host name. Format is an IP address (with optional port) or host name.";
737 }
738 leaf user-name {
739 type cienawstypes:string-maxl-32;
740 description
741 "SFTP user name.";
742 }
743 leaf password {
744 type cienawstypes:string-maxl-128;
745 description
746 "SFTP password string.";
747 }
748 leaf secret {
749 type cienawstypes:string-maxl-256;
750 description
751 "SFTP secret string.";
752 }
753 }
754 container scp {
755 description
756 "Waveserver system SCP configuration.";
757 leaf host-name {
758 type cienawstypes:string-maxl-64;
759 description
760 "SCP host name. Format is an IP address (with optional port) or host name.";
761 }
762 leaf user-name {
763 type cienawstypes:string-maxl-32;
764 description
765 "SCP user name.";
766 }
767 leaf password {
768 type cienawstypes:string-maxl-128;
769 description
770 "SCP password string.";
771 }
772 leaf secret {
773 type cienawstypes:string-maxl-256;
774 description
775 "SCP secret string.";
776 }
777 }
778 }
779 container global-provisioning {
780 description
781 "Waveserver system global provisioning attributes.";
782 leaf reset-to-factory-default-button {
783 type cienawstypes:enabled-disabled-enum;
784 description
785 "Indicate whether the reset button for reset to factory default is enabled. If enabled, the reset button on the faceplate will trigger a reset to factory default settings.";
786 }
787 container line-config {
788 description
789 "Waveserver system line configuration.";
790 leaf line-protection {
791 type line-protection-enum;
792 description
793 "Line protection settings. If line protection is enabled, this means that the photonic line the Waveserver is connected to has protection enabled. In the event of a line side fault, the protection card on the line side will select the protection path and the modems will reacquire the signal on the alternate path. While the switch is occuring, link state messaging will be disabled to the clients so that the connected devices do not attempt a switch or a restoration.";
794 }
795 }
796 }
797 container environment {
798 description
799 "Waveserver system linux environment attributes.";
800 container root {
801 description
802 "Waveserver system user root configuration.";
803 leaf password {
804 type cienawstypes:string-maxl-128;
805 description
806 "User root password string.";
807 }
808 leaf secret {
809 type cienawstypes:string-maxl-256;
810 config false;
811 description
812 "The encrypted user password string, supplied as a hashed value.";
813 }
814 }
815 }
816 container shell {
817 description
818 "Waveserver system CLI shell/session attributes.";
819 leaf inactivity-timer {
820 type cienawstypes:enabled-disabled-enum;
821 description
822 "Global CLI/shell session inactivity timer state.";
823 }
824 leaf inactivity-timeout {
825 type uint16 {
826 range "1..1500";
827 }
828 units "minutes";
829 description
830 "Global CLI/shell session inactivity timeout period, in minutes.";
831 }
832 }
833 container default-settings {
834 description
835 "Waveserver system default configuration values.";
836 container conditioning {
837 description
838 "Waveserver system default conditioning values. Ports are created with these values. When the system defaults are set, all existing ports have their values updated.";
839 leaf type {
840 type cienawstypes:conditioning-type;
841 description
842 "Egress UNI port consequent action for an EPL service to be applied on a far-end ingress UNI failure or network failure.";
843 }
844 leaf holdoff {
845 type cienawstypes:conditioning-holdoff;
846 description
847 "Number of milliseconds the failure must be present before applying Egress UNI port consequent action for an EPL service.";
848 }
849 }
850 }
851 }
852 rpc waveserver-system-state-dump {
853 description
854 "Dump system state information.";
855 input {
856 leaf file-name {
857 type cienawstypes:string-maxl-254;
858 description
859 "The file name to store the system state data.";
860 }
861 leaf include-corefiles {
862 type boolean;
863 description
864 "Indicate whether core files are included (true) or not (false) in the system state dump data.";
865 }
866 uses server-settings-group;
867 }
868 output {
869 leaf return-code {
870 type uint32;
871 description
872 "return code: 0 is success; non-zero is failure";
873 }
874 leaf return-string {
875 type cienawstypes:string-maxl-254;
876 description
877 "Return code description";
878 }
879 }
880 }
881 rpc waveserver-system-putfile {
882 description
883 "Transfer file to a specified destination.";
884 input {
885 leaf local-file-name {
886 type cienawstypes:string-maxl-254;
887 description
888 "The local file name.";
889 }
890 leaf remote-file-name {
891 type cienawstypes:string-maxl-254;
892 description
893 "The remote file name.";
894 }
895 uses server-settings-group;
896 }
897 output {
898 leaf return-code {
899 type uint32;
900 description
901 "return code: 0 is success; non-zero is failure";
902 }
903 leaf return-string {
904 type cienawstypes:string-maxl-254;
905 description
906 "Return code description";
907 }
908 }
909 }
910 rpc waveserver-system-getfile {
911 description
912 "Get file from a specified source.";
913 input {
914 leaf local-file-name {
915 type cienawstypes:string-maxl-254;
916 description
917 "The local file name.";
918 }
919 leaf remote-file-name {
920 type cienawstypes:string-maxl-254;
921 description
922 "The remote file name.";
923 }
924 uses server-settings-group;
925 }
926 output {
927 leaf return-code {
928 type uint32;
929 description
930 "return code: 0 is success; non-zero is failure";
931 }
932 leaf return-string {
933 type cienawstypes:string-maxl-254;
934 description
935 "Return code description";
936 }
937 }
938 }
939}