Skip to content

Commit bc83fde

Browse files
committed
Added log option to rfs-acl service
1 parent ff8a934 commit bc83fde

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

packages/acl-rfs/package-meta-data.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<ncs-package xmlns="http://tail-f.com/ns/ncs-packages">
22
<name>acl-rfs</name>
3-
<package-version>1.0</package-version>
3+
<package-version>2.0</package-version>
44
<description>Dummy ACL RFS package for demo purposes</description>
55
<ncs-min-version>6.0</ncs-min-version>
66

packages/acl-rfs/src/yang/acl-rfs.yang

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ module acl-rfs {
1616
description
1717
"Small rfs package for demonstration purposes";
1818

19+
revision 2025-02-08 {
20+
description
21+
"Adding logging options for each line";
22+
}
23+
1924
revision 2025-02-02 {
2025
description
2126
"Awesome NetDevOps demo";
@@ -68,6 +73,12 @@ module acl-rfs {
6873
tailf:info "Destination IP address";
6974
type inet:ipv4-address;
7075
mandatory true;
76+
}
77+
78+
leaf log {
79+
tailf:info "Logging option";
80+
type boolean;
81+
default false;
7182
}
7283
}
7384
}

0 commit comments

Comments
 (0)