-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathnetgate-restconf-cli.yang
More file actions
91 lines (68 loc) · 1.87 KB
/
netgate-restconf-cli.yang
File metadata and controls
91 lines (68 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
module netgate-restconf-cli {
yang-version 1.1;
namespace "urn:netgate:xml:yang:netgate-restconf-cli";
prefix "ngrccli";
import clixon-restconf {
prefix clrc;
}
import netgate-cli-extensions {
prefix "ngcliext";
}
organization "Netgate";
contact "Web: <http://www.netgate.com>";
description
"This YANG module provides TNSR CLI augments for
clixon RESTCONF model.
Copyright 2021, 2023, 2024 Rubicon Communications, LLC.";
revision 2025-02-01 {
description
"TNSR Release 25.02.";
}
revision 2023-02-15 {
description
"TNSR Release 23.02.";
}
revision 2021-06-15 {
description
"TNSR Release 21.07.";
}
revision 2021-03-29 {
description
"initial release.";
}
augment "/clrc:restconf" {
ngcliext:node-fmt "restconf$n";
ngcliext:pre-children-op "push";
}
augment "/clrc:restconf/clrc:enable" {
ngcliext:node-fmt "^$% @@$n";
}
augment "/clrc:restconf/clrc:enable-http-data" {
ngcliext:node-op "bool";
ngcliext:node-fmt "|^gui enable$n";
}
augment "/clrc:restconf/clrc:auth-type" {
ngcliext:node-fmt "^global authentication-type @@$n";
}
augment "/clrc:restconf/clrc:server-ca-cert-path" {
ngcliext:node-fmt "^global server-ca-cert-path @@$n";
}
augment "/clrc:restconf/clrc:server-cert-path" {
ngcliext:node-fmt "^global server-certificate @@$n";
}
augment "/clrc:restconf/clrc:server-key-path" {
ngcliext:node-fmt "^global server-key @@$n";
}
augment "/clrc:restconf/clrc:socket/clrc:namespace" {
ngcliext:node-fmt "^server @@%{address}%{port}%{ssl}$n";
}
augment "/clrc:restconf/clrc:socket/clrc:address" {
ngcliext:sibling-fmt " @@";
}
augment "/clrc:restconf/clrc:socket/clrc:port" {
ngcliext:sibling-fmt " @@";
}
augment "/clrc:restconf/clrc:socket/clrc:ssl" {
ngcliext:sibling-fmt " @@";
}
}