]> git.proxmox.com Git - mirror_frr.git/blame - yang/frr-isisd.yang
isisd: changed to output the adjacency-sid in yang format
[mirror_frr.git] / yang / frr-isisd.yang
CommitLineData
20bd27e2
EDP
1module frr-isisd {
2 yang-version 1.1;
3 namespace "http://frrouting.org/yang/isisd";
4 prefix frr-isisd;
5
6 import ietf-yang-types {
7 prefix yang;
8 }
9
10 import ietf-inet-types {
11 prefix inet;
12 }
13
14 import frr-interface {
15 prefix frr-interface;
16 }
17
806defc8
IR
18 import frr-vrf {
19 prefix frr-vrf;
20 }
21
22 import frr-route-map {
23 prefix frr-route-map;
24 }
25
20bd27e2
EDP
26 import frr-route-types {
27 prefix frr-route-types;
28 }
29
30 organization
8678d638 31 "FRRouting";
20bd27e2
EDP
32 contact
33 "FRR Users List: <mailto:frog@lists.frrouting.org> FRR Development
34 List: <mailto:dev@lists.frrouting.org>";
35 description
fe3b629a
RW
36 "This module defines a model for managing FRR isisd daemon.
37
38 Copyright 2020 FRRouting
39
40 Redistribution and use in source and binary forms, with or without
41 modification, are permitted provided that the following conditions
42 are met:
43
44 1. Redistributions of source code must retain the above copyright notice,
45 this list of conditions and the following disclaimer.
46
47 2. Redistributions in binary form must reproduce the above copyright
48 notice, this list of conditions and the following disclaimer in the
49 documentation and/or other materials provided with the distribution.
50
51 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
52 \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
53 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
54 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
55 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
56 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
57 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
58 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
59 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
60 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
61 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
20bd27e2 62
01d43141
EDP
63 revision 2021-02-15 {
64 description
65 "Group SRGB and SRLB in a container so that they can be displayed
66 and configured together";
67 }
d2c970ff
EDP
68 revision 2020-04-06 {
69 description
70 "Group LSP timers in a container so that they can be displayed and
71 configured together";
72 }
26eb18e2
EDP
73 revision 2019-12-17 {
74 description
75 "Changed default area is-type to level-1-2";
76 }
f22b9250
QY
77 revision 2019-09-09 {
78 description
79 "Changed interface references to use
d2c970ff 80 frr-interface:interface-ref typedef";
f22b9250 81 }
20bd27e2
EDP
82 revision 2018-07-26 {
83 description
84 "Initial revision.";
85 reference
86 "ISO/IEC 10589:2002.";
87 }
88
89 typedef level {
90 type enumeration {
91 enum "level-1" {
92 value 1;
93 description
94 "This enum indicates L1-only capability.";
95 }
96 enum "level-2" {
97 value 2;
98 description
99 "This enum indicates L2-only capability.";
100 }
101 enum "level-1-2" {
102 value 3;
103 description
104 "This enum indicates capability for both levels.";
105 }
106 }
107 description
108 "This type defines IS-IS level of an object.";
109 }
110
aec5ef49
RW
111 typedef extended-circuit-id {
112 type uint32;
113 description
114 "This type defines the extended circuit ID
115 associated with an interface.";
116 }
117
20bd27e2
EDP
118 typedef network-type {
119 type enumeration {
120 enum "unknown" {
121 value 0;
122 description
123 "Unknown network type. Only valid as a state.";
124 }
125 enum "broadcast" {
126 value 1;
127 description
128 "Broadcast circuit network-type.";
129 }
130 enum "point-to-point" {
131 value 2;
132 description
133 "Point-to-point circuit network-type.";
134 }
135 enum "loopback" {
136 value 3;
137 description
138 "Loopback circuit network-type. Only valid as a state.";
139 }
140 }
141 }
142
143 typedef lsp-id {
144 type string {
145 pattern "[0-9A-Fa-f]{4}\\.[0-9A-Fa-f]{4}\\.[0-9A-Fa-f]{4}\\.[0-9][0-9]-[0-9][0-9]";
146 }
147 description
148 "This type defines the IS-IS LSP ID format using a
149 pattern, An example LSP ID is 0143.0438.AeF0.02-01";
150 }
151
aec5ef49
RW
152 typedef snpa {
153 type string {
154 length "0 .. 20";
155 }
156 description
157 "This type defines the Subnetwork Point
158 of Attachment (SNPA) format.
159 The SNPA should be encoded according to the rules
160 specified for the particular type of subnetwork
161 being used. As an example, for an ethernet subnetwork,
162 the SNPA is encoded as a MAC address like
163 '00aa.bbcc.ddee'.";
164 }
165
20bd27e2
EDP
166 typedef system-id {
167 type string {
168 pattern "[0-9A-Fa-f]{4}\\.[0-9A-Fa-f]{4}\\.[0-9A-Fa-f]{4}";
169 }
170 description
171 "This type defines IS-IS system-id using a pattern,
172 An example system-id is 0143.0438.AeF0";
173 }
174
175 typedef net-address {
176 type string {
177 pattern "[a-fA-F0-9]{2}(\\.[a-fA-F0-9]{4}){3,9}\\.[a-fA-F0-9]{2}";
178 }
179 description
180 "This type defines an OSI NET address using a pattern,
181 An example net-address is 49.0123.6452.1972.00";
182 }
183
184 typedef if-state-type {
185 type enumeration {
186 enum "up" {
187 value 0;
188 description
189 "Up state.";
190 }
191 enum "down" {
192 value 1;
193 description
194 "Down state";
195 }
196 }
197 description
198 "This type defines the state of an interface";
199 }
200
201 typedef adj-state-type {
202 type enumeration {
203 enum "up" {
204 value 0;
205 description
206 "State indicates the adjacency is established.";
207 }
208 enum "down" {
209 value 1;
210 description
211 "State indicates the adjacency is NOT established.";
212 }
213 enum "init" {
214 value 2;
215 description
216 "State indicates the adjacency is establishing.";
217 }
218 enum "failed" {
219 value 3;
220 description
221 "State indicates the adjacency is failed.";
222 }
223 }
224 description
225 "This type defines states of an adjacency";
226 }
227
228 typedef metric-style-type {
229 type enumeration {
230 enum "narrow" {
231 value 0;
232 description
233 "This enum describes narrow metric style";
234 reference
235 "RFC1195";
236 }
237 enum "wide" {
238 value 1;
239 description
240 "This enum describes wide metric style";
241 reference
242 "RFC5305";
243 }
244 enum "transition" {
245 value 2;
246 description
247 "This enum describes transition metric style";
248 }
249 }
250 }
251
d20b14bc
RW
252 typedef access-list-ref {
253 type string;
254 }
255
381200be
RW
256 typedef prefix-list-ref {
257 type string;
258 }
259
20bd27e2
EDP
260 grouping redistribute-attributes {
261 description
262 "Common optional attributes of any redistribute entry.";
82c25998 263 leaf route-map {
806defc8 264 type frr-route-map:route-map-ref;
82c25998
DT
265 description
266 "Applies the conditions of the specified route-map to routes that
267 are redistributed into this routing instance.";
268 }
20bd27e2 269
82c25998
DT
270 leaf metric {
271 type uint32 {
272 range "0..16777215";
20bd27e2 273 }
82c25998
DT
274 default "0";
275 description
276 "Metric used for the redistributed route. If 0,
277 the default-metric attribute is used instead.";
20bd27e2
EDP
278 }
279 }
280
281 grouping redistribute-default {
282 description
283 "Redistribution of default route within a level.";
284 leaf always {
5f1e5e3f
EDP
285 type boolean;
286 default "false";
20bd27e2
EDP
287 description
288 "Always advertise default route.";
289 }
290
291 uses redistribute-attributes;
292 }
293
294 grouping isis-password {
295 description
296 "Authentication attributes or an IS-IS area or domain.";
297 leaf password {
298 type string {
299 length "1..254";
300 }
301 mandatory true;
302 description
303 "Actual password.";
304 }
305
306 leaf password-type {
307 type enumeration {
308 enum "clear" {
309 value 1;
310 description
311 "Clear-text password type.";
312 }
313 enum "md5" {
314 value 54;
315 description
316 "MD5 password type.";
317 }
318 }
319 mandatory true;
320 description
321 "Type of password used.";
322 }
323 }
324
325 grouping isis-area-password {
326 uses isis-password;
327
328 leaf authenticate-snp {
329 type enumeration {
330 enum "none" {
331 value 0;
332 description
333 "No SNP authentication.";
334 }
335 enum "send-only" {
336 value 1;
337 description
338 "Send authenticated PDUs but do not check on receiving.";
339 }
340 enum "validate" {
341 value 3;
342 description
343 "Send authenticated PDUs and check on receiving.";
344 }
345 }
346 default "none";
347 description
348 "SNP PDUs authentication.";
349 }
350 }
351
d20b14bc
RW
352 grouping global-config-lfa {
353 container lfa {
354 description
355 "LFA configuration.";
356
357 leaf load-sharing {
358 type boolean;
359 default "true";
360 description
361 "Load share prefixes across multiple backups.";
362 }
363 leaf priority-limit {
364 type enumeration {
365 enum "critical" {
366 value 0;
367 description
368 "Compute for critical priority prefixes only.";
369 }
370 enum "high" {
371 value 1;
372 description
373 "Compute for critical & high priority prefixes.";
374 }
375 enum "medium" {
376 value 2;
377 description
378 "Compute for critical, high & medium priority prefixes.";
379 }
380 }
381 description
382 "Limit backup computation up to the prefix priority.";
383 }
384 list tiebreaker {
385 key "index";
386 unique "type";
387 description
388 "Configure tiebreaker for multiple backups.";
389 leaf index {
390 type uint8 {
391 range "1..255";
392 }
393 description
394 "Preference order among tiebreakers.";
395 }
396 leaf type {
397 type enumeration {
398 enum "downstream" {
399 value 0;
400 description
401 "Prefer backup path via downstream node.";
402 }
403 enum "lowest-backup-metric" {
404 value 1;
405 description
406 "Prefer backup path with lowest total metric.";
407 }
408 enum "node-protecting" {
409 value 2;
410 description
411 "Prefer node protecting backup path.";
412 }
413 }
414 mandatory true;
415 description
416 "Tiebreaker type.";
417 }
418 }
419 }
420 }
421
381200be
RW
422 grouping global-config-remote-lfa {
423 container remote-lfa {
424 description
425 "Remote LFA configuration.";
426
427 leaf prefix-list {
428 type prefix-list-ref;
429 description
430 "Filter PQ node router ID based on prefix list.";
431 }
432 }
433 }
434
d20b14bc
RW
435 grouping interface-config-lfa {
436 container lfa {
437 description
438 "LFA configuration.";
439 leaf enable {
440 type boolean;
441 default false;
442 description
443 "Enables LFA computation.";
444 }
445 leaf-list exclude-interface {
446 type frr-interface:interface-ref;
447 description
448 "Exclude an interface from computation.";
449 }
450 }
451 }
452
381200be
RW
453 grouping interface-config-remote-lfa {
454 container remote-lfa {
455 description
456 "Remote LFA configuration.";
457
458 leaf enable {
459 type boolean;
460 default false;
461 description
462 "Enables remote LFA computation using LDP tunnels.";
463 must ". = 'false' or ../../lfa/enable = 'true'" {
464 error-message
465 "Remote LFA depends on classic LFA being configured in the interface.";
466 }
467
468 }
469 leaf maximum-metric {
470 type uint32 {
471 range "1..16777215";
472 }
473 description
474 "Limit remote LFA node selection within the metric.";
475 }
476 }
477 }
478
ed5d7032
RW
479 grouping interface-config-ti-lfa {
480 container ti-lfa {
481 description
482 "TI-LFA configuration.";
483 leaf enable {
3bb513c3
CH
484 must ". = 'false' or ../../lfa/enable = 'false'" {
485 error-message
486 "Can't enable both classic LFA and TI-LFA in the same interface.";
487 }
ed5d7032
RW
488 type boolean;
489 default false;
490 description
491 "Enables TI-LFA computation.";
492 }
493 leaf node-protection {
494 type boolean;
495 must ". = 'false' or ../enable = 'true'";
496 default false;
497 description
498 "Node protection is provided by the alternate.";
499 }
ce4eccfa
FR
500 leaf link-fallback {
501 type boolean;
502 must ". = 'false' or ../enable = 'true'";
503 default false;
504 description
505 "Fallback to link protection.";
506 }
ed5d7032
RW
507 }
508 }
509
e206450b 510 grouping interface-config {
d2c970ff
EDP
511 description
512 "Interface configuration grouping";
e206450b
RW
513 leaf area-tag {
514 type string;
515 mandatory true;
516 description
517 "Area-tag associated to this circuit.";
518 }
519
520 leaf ipv4-routing {
521 type boolean;
522 default "false";
523 description
524 "Routing IS-IS IPv4 traffic over this circuit.";
525 }
526
527 leaf ipv6-routing {
528 type boolean;
529 default "false";
530 description
531 "Routing IS-IS IPv6 traffic over this circuit.";
532 }
533
534 leaf circuit-type {
535 type level;
536 default "level-1-2";
537 description
538 "IS-type of this circuit.";
539 }
540
4affdba7
G
541 container bfd-monitoring {
542 leaf enabled {
543 type boolean;
544 default "false";
545 description
546 "Monitor IS-IS peers on this circuit.";
547 }
548 leaf profile {
549 type string;
550 description
551 "Let BFD use a pre-configured profile.";
552 }
e206450b
RW
553 }
554
555 container csnp-interval {
556 description
557 "Complete Sequence Number PDU (CSNP) generation interval.";
558 leaf level-1 {
559 type uint16 {
560 range "1..600";
561 }
562 units "seconds";
563 default "10";
564 description
565 "CNSP interval for level-1";
566 }
567
568 leaf level-2 {
569 type uint16 {
570 range "1..600";
571 }
572 units "seconds";
573 default "10";
574 description
575 "CNSP interval for level-2";
576 }
577 }
578
579 container psnp-interval {
580 description
581 "Partial Sequence Number PDU (PSNP) generation interval.";
582 leaf level-1 {
583 type uint16 {
584 range "1..120";
585 }
586 units "seconds";
587 default "2";
588 description
589 "PNSP interval for level-1";
590 }
591
592 leaf level-2 {
593 type uint16 {
594 range "1..120";
595 }
596 units "seconds";
597 default "2";
598 description
599 "PCNSP interval for level-2";
600 }
601 }
602
603 container hello {
604 description
605 "Parameters related to IS-IS hello PDUs.";
606 leaf padding {
607 type boolean;
608 default "true";
609 description
610 "Add padding to IS-IS hello PDUs.";
611 }
612
613 container interval {
614 description
615 "Interval between consecutive hello messages.";
616 leaf level-1 {
617 type uint32 {
618 range "1..600";
619 }
620 units "seconds";
621 default "3";
622 description
623 "Holding time for level-1; interval will depend on multiplier.";
624 }
625
626 leaf level-2 {
627 type uint32 {
628 range "1..600";
629 }
630 units "seconds";
631 default "3";
632 description
633 "Holding time for level-2; interval will depend on multiplier.";
634 }
635 }
636
637 container multiplier {
638 description
639 "Multiplier for the hello messages holding time.";
640 leaf level-1 {
641 type uint16 {
642 range "2..100";
643 }
644 default "10";
645 description
646 "Multiplier for the hello holding time.";
647 }
648
649 leaf level-2 {
650 type uint16 {
651 range "2..100";
652 }
653 default "10";
654 description
655 "Multiplier for the hello holding time.";
656 }
657 }
658 }
659
660 container metric {
661 description
662 "Default metric for this IS-IS circuit.";
663 leaf level-1 {
664 type uint32 {
665 range "0..16777215";
666 }
667 must ". < 64 or /frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style = 'wide'";
668 default "10";
669 description
670 "Default level-1 metric for this IS-IS circuit.";
671 }
672
673 leaf level-2 {
674 type uint32 {
675 range "0..16777215";
676 }
677 must ". < 64 or /frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style = 'wide'";
678 default "10";
679 description
680 "Default level-2 metric for this IS-IS circuit.";
681 }
682 }
683
684 container priority {
685 description
686 "Priority for Designated Router election.";
687 leaf level-1 {
688 type uint8 {
689 range "0..127";
690 }
691 default "64";
692 description
693 "Level-1 priority for this IS-IS circuit.";
694 }
695
696 leaf level-2 {
697 type uint8 {
698 range "0..127";
699 }
700 default "64";
701 description
702 "Level-2 priority for this IS-IS circuit.";
703 }
704 }
705
706 leaf network-type {
707 type network-type;
e206450b 708 must "(. = \"point-to-point\") or (. = \"broadcast\")";
d2c970ff 709 default "broadcast";
e206450b
RW
710 description
711 "Explicitly configured type of IS-IS circuit (broadcast or point-to-point).";
712 }
713
714 leaf passive {
715 type boolean;
716 default "false";
717 description
718 "Interface is in passive mode.";
719 }
720
721 container password {
722 presence "Present if a password is set for this IS interface.";
723 uses isis-password;
724 }
725
726 leaf disable-three-way-handshake {
727 type boolean;
728 default "false";
729 description
730 "Disables three-way handshake when creating new adjacencies.";
731 }
732
733 container multi-topology {
734 description
735 "IS-IS topologies configured on this circuit.";
a15014f3 736 leaf standard {
e206450b
RW
737 type boolean;
738 default "true";
739 description
a15014f3 740 "Standard (IPV4 unicast) topology.";
e206450b
RW
741 }
742
743 leaf ipv4-multicast {
744 type boolean;
745 default "true";
746 description
747 "IPv4 multicast topology.";
748 }
749
750 leaf ipv4-management {
751 type boolean;
752 default "true";
753 description
754 "IPv4 management topology.";
755 }
756
757 leaf ipv6-unicast {
758 type boolean;
759 default "true";
760 description
761 "IPv6 unicast topology.";
762 }
763
764 leaf ipv6-multicast {
765 type boolean;
766 default "true";
767 description
768 "IPv6 multicast topology.";
769 }
770
771 leaf ipv6-management {
772 type boolean;
773 default "true";
774 description
775 "IPv6 management topology.";
776 }
777
778 leaf ipv6-dstsrc {
779 type boolean;
780 default "true";
781 description
782 "IPv6 destination-source topology.";
783 }
784 }
1cbf96a8 785
786 container mpls {
787 description
788 "Configuration of MPLS parameters";
789 leaf ldp-sync {
790 type boolean;
791 default "true";
792 description
793 "Enable MPLS LDP-Sync functionality on this circuit.";
794 }
795 leaf holddown {
796 type uint16 {
797 range "0..10000";
ec62fbaa
IR
798 }
799 units "seconds";
800 description
801 "Time to wait for LDP-Sync to occur before restoring interface metric.";
1cbf96a8 802 }
803 }
804
ed5d7032
RW
805 container fast-reroute {
806 description
807 "Interface IP Fast-reroute configuration.";
808 container level-1 {
809 description
810 "Level-1 IP Fast-reroute configuration.";
d20b14bc 811 uses interface-config-lfa;
381200be 812 uses interface-config-remote-lfa;
ed5d7032
RW
813 uses interface-config-ti-lfa;
814 }
815 container level-2 {
816 description
817 "Level-2 IP Fast-reroute configuration.";
d20b14bc 818 uses interface-config-lfa;
381200be 819 uses interface-config-remote-lfa;
ed5d7032
RW
820 uses interface-config-ti-lfa;
821 }
822 }
e206450b
RW
823 }
824
aec5ef49 825 grouping adjacency-state {
d2c970ff
EDP
826 description
827 "Adjacency state";
aec5ef49
RW
828 container adjacencies {
829 config false;
d2c970ff
EDP
830 description
831 "This container lists the adjacencies of
832 the local node.";
aec5ef49 833 list adjacency {
d2c970ff
EDP
834 description
835 "List of operational adjacencies.";
aec5ef49
RW
836 leaf neighbor-sys-type {
837 type level;
838 description
839 "Level capability of neighboring system";
840 }
d2c970ff 841
aec5ef49
RW
842 leaf neighbor-sysid {
843 type system-id;
844 description
845 "The system-id of the neighbor";
846 }
d2c970ff 847
aec5ef49
RW
848 leaf neighbor-extended-circuit-id {
849 type extended-circuit-id;
850 description
851 "Circuit ID of the neighbor";
852 }
d2c970ff 853
aec5ef49
RW
854 leaf neighbor-snpa {
855 type snpa;
856 description
857 "SNPA of the neighbor";
858 }
d2c970ff 859
aec5ef49
RW
860 leaf hold-timer {
861 type uint16;
d2c970ff 862 units "seconds";
aec5ef49
RW
863 description
864 "The holding time in seconds for this
865 adjacency. This value is based on
866 received hello PDUs and the elapsed
867 time since receipt.";
868 }
d2c970ff 869
aec5ef49
RW
870 leaf neighbor-priority {
871 type uint8 {
872 range "0 .. 127";
873 }
874 description
875 "Priority of the neighboring IS for becoming
876 the DIS.";
877 }
d2c970ff 878
aec5ef49
RW
879 leaf state {
880 type adj-state-type;
881 description
882 "This leaf describes the state of the interface.";
883 }
09873729 884
885 uses adjacency-sids;
aec5ef49 886 }
aec5ef49 887 }
aec5ef49
RW
888 }
889
c32496ee 890 grouping event-counters {
d2c970ff
EDP
891 description
892 "Grouping for IS-IS interface event counters";
c32496ee
RW
893 container event-counters {
894 config false;
d2c970ff
EDP
895 description
896 "IS-IS interface event counters.";
c32496ee
RW
897 leaf adjacency-changes {
898 type uint32;
899 description
900 "The number of times an adjacency state change has
901 occurred on this interface.";
902 }
d2c970ff 903
c32496ee
RW
904 leaf adjacency-number {
905 type uint32;
906 description
907 "The number of adjacencies on this interface.";
908 }
d2c970ff 909
c32496ee
RW
910 leaf init-fails {
911 type uint32;
912 description
913 "The number of times initialization of this
914 interface has failed. This counts events such
915 as PPP NCP failures. Failures to form an
916 adjacency are counted by adjacency-rejects.";
917 }
d2c970ff 918
c32496ee
RW
919 leaf adjacency-rejects {
920 type uint32;
921 description
922 "The number of times an adjacency has been
923 rejected on this interface.";
924 }
d2c970ff 925
c32496ee
RW
926 leaf id-len-mismatch {
927 type uint32;
928 description
929 "The number of times an IS-IS PDU with an ID
930 field length different from that for this
931 system has been received on this interface.";
932 }
d2c970ff 933
c32496ee
RW
934 leaf max-area-addresses-mismatch {
935 type uint32;
936 description
937 "The number of times an IS-IS PDU has been
938 received on this interface with the
939 max area address field differing from that of
940 this system.";
941 }
d2c970ff 942
c32496ee
RW
943 leaf authentication-type-fails {
944 type uint32;
945 description
946 "Number of authentication type mismatches.";
947 }
d2c970ff 948
c32496ee
RW
949 leaf authentication-fails {
950 type uint32;
951 description
952 "Number of authentication key failures.";
953 }
c32496ee 954 }
c32496ee
RW
955 }
956
aec5ef49
RW
957 grouping interface-state {
958 description
959 "IS-IS interface operational state.";
960 uses adjacency-state;
d2c970ff 961
c32496ee 962 uses event-counters;
aec5ef49
RW
963 }
964
20bd27e2
EDP
965 grouping notification-instance-hdr {
966 description
967 "Instance specific IS-IS notification data grouping";
968 leaf routing-instance {
969 type string;
970 description
971 "Name of the routing-instance instance.";
972 }
973
974 leaf routing-protocol-name {
975 type string;
976 description
977 "Name of the IS-IS instance.";
978 }
979
980 leaf isis-level {
981 type level;
982 description
983 "IS-IS level of the instance.";
984 }
985 }
986
987 grouping notification-interface-hdr {
988 description
989 "Interface specific IS-IS notification data grouping";
990 leaf interface-name {
f22b9250 991 type frr-interface:interface-ref;
20bd27e2
EDP
992 description
993 "IS-IS interface name";
994 }
995
996 leaf interface-level {
997 type level;
998 description
999 "IS-IS level of the interface.";
1000 }
1001
1002 leaf extended-circuit-id {
aec5ef49 1003 type extended-circuit-id;
20bd27e2
EDP
1004 description
1005 "Eextended circuit-id of the interface.";
1006 }
1007 }
1008
09873729 1009 grouping adjacency-sids {
1010 description
1011 "IS-IS segment routing adjacency SID grouping.";
1012 container adjacency-sids {
1013 description
1014 "This container lists the information of adjacency SID.";
1015 list adjacency-sid {
1016 leaf af {
1017 type uint8;
1018 description
1019 "This leaf describes the protocol-family associated with the
1020 adjacency SID.";
1021 }
1022
1023 leaf value {
1024 type uint32;
1025 description
1026 "This leaf describes the value of adjacency SID.";
1027 }
1028
1029 leaf weight {
1030 type uint8;
1031 description
1032 "This leaf describes the weight of the adjacency SID.";
1033 }
1034
1035 leaf protection-requested {
1036 type boolean;
1037 description
1038 "This leaf describes if the adjacency SID must be protected.";
1039 }
1040 }
1041 }
1042 }
1043
20bd27e2
EDP
1044 container isis {
1045 description
1046 "Configuration of the IS-IS routing daemon.";
1047 list instance {
65251ce8 1048 key "area-tag vrf";
20bd27e2
EDP
1049 description
1050 "IS-IS routing instance.";
1051 leaf area-tag {
1052 type string;
1053 description
1054 "Area-tag associated to this routing instance.";
1055 }
1056
65251ce8 1057 leaf vrf {
806defc8 1058 type frr-vrf:vrf-ref;
65251ce8 1059 description
1060 "VRF NAME.";
1061 }
1062
20bd27e2
EDP
1063 leaf is-type {
1064 type level;
26eb18e2 1065 default "level-1-2";
20bd27e2
EDP
1066 description
1067 "Level of the IS-IS routing instance (OSI only).";
1068 }
1069
1070 leaf-list area-address {
1071 type net-address;
1072 max-elements 3;
1073 description
1074 "List of OSI NET addresses for this protocol instance.";
1075 }
1076
1077 leaf dynamic-hostname {
1078 type boolean;
1079 default "true";
1080 description
1081 "Dynamic hostname support for IS-IS.";
1082 }
1083
f3abc412 1084 leaf attach-send {
1085 type boolean;
1086 default "true";
1087 description
1088 "If true, attached bits are sent in LSP if L1/L2 router for inter-area traffic.";
1089 }
1090
1091 leaf attach-receive-ignore {
1092 type boolean;
1093 default "false";
1094 description
1095 "If false, attached bits received in LSP, cause default route add, if L1 router for inter-area traffic.";
1096 }
1097
20bd27e2 1098 leaf attached {
5f1e5e3f
EDP
1099 type boolean;
1100 default "false";
f3abc412 1101 status deprecated;
20bd27e2 1102 description
5f1e5e3f 1103 "If true, identify as L1/L2 router for inter-area traffic.";
20bd27e2
EDP
1104 }
1105
01ea9b03 1106 container overload {
20bd27e2 1107 description
01ea9b03
IL
1108 "Overload bit configuration.";
1109 leaf enabled {
1110 type boolean;
1111 default "false";
1112 description
1113 "If true, avoid any transit traffic.";
1114 }
1115
1116 leaf on-startup {
1117 type uint32 {
1118 range "0..86400";
1119 }
1120 units "seconds";
1121 default "0";
1122 description
1123 "The duration the overload bit should be set on startup.";
1124 }
20bd27e2
EDP
1125 }
1126
1127 leaf metric-style {
1128 type metric-style-type;
1129 must ". = 'wide' or count(../multi-topology/*) = 0";
1130 default "wide";
1131 description
1132 "Define the style of TLVs metric supported.";
1133 }
1134
1135 leaf purge-originator {
5f1e5e3f
EDP
1136 type boolean;
1137 default "false";
20bd27e2
EDP
1138 description
1139 "Use the RFC 6232 purge-originator.";
1140 reference
1141 "RFC6232";
1142 }
1143
1144 container lsp {
1145 description
1146 "Configuration of Link-State Packets (LSP) parameters";
1147 leaf mtu {
1148 type uint16 {
1149 range "128..4352";
1150 }
1151 default "1497";
1152 description
1153 "MTU of an LSP.";
1154 }
1155
d2c970ff 1156 container timers {
20bd27e2 1157 description
d2c970ff
EDP
1158 "LSP-related timers";
1159 container level-1 {
20bd27e2 1160 description
d2c970ff
EDP
1161 "Level-1 LSP-related timers";
1162 leaf refresh-interval {
1163 type uint16;
1164 units "seconds";
1165 default "900";
1166 description
1167 "LSP refresh interval for level-1.";
1168 }
20bd27e2 1169
d2c970ff
EDP
1170 leaf maximum-lifetime {
1171 type uint16 {
1172 range "350..65535";
1173 }
1174 units "seconds";
1175 must ". >= ../refresh-interval + 300";
1176 default "1200";
1177 description
1178 "Maximum LSP lifetime for level-1.";
1179 }
20bd27e2 1180
d2c970ff
EDP
1181 leaf generation-interval {
1182 type uint16 {
1183 range "1..120";
1184 }
1185 units "seconds";
1186 must ". < ../refresh-interval";
1187 default "30";
1188 description
1189 "Minimum time allowed before level-1 LSP retransmissions.";
20bd27e2 1190 }
20bd27e2
EDP
1191 }
1192
d2c970ff 1193 container level-2 {
20bd27e2 1194 description
d2c970ff
EDP
1195 "Level-2 LSP-related timers";
1196 leaf refresh-interval {
1197 type uint16;
1198 units "seconds";
1199 default "900";
1200 description
1201 "LSP refresh interval for level-2.";
1202 }
20bd27e2 1203
d2c970ff
EDP
1204 leaf maximum-lifetime {
1205 type uint16 {
1206 range "350..65535";
1207 }
1208 units "seconds";
1209 must ". >= ../refresh-interval + 300";
1210 default "1200";
1211 description
1212 "Maximum LSP lifetime for level-2.";
20bd27e2 1213 }
20bd27e2 1214
d2c970ff
EDP
1215 leaf generation-interval {
1216 type uint16 {
1217 range "1..120";
1218 }
1219 units "seconds";
1220 must ". < ../refresh-interval";
1221 default "30";
1222 description
1223 "Minimum time allowed before level-2 LSP retransmissions.";
20bd27e2 1224 }
20bd27e2
EDP
1225 }
1226 }
1227 }
1228
1229 container spf {
1230 description
1231 "Parameters related to the Shortest Path First algorithm.";
1232 container ietf-backoff-delay {
1233 presence "Present if IETF SPF back-off delay is enabled.";
1234 description
1235 "SPF back-off delay algorithm parameters (see RFC 8405).";
1236 leaf init-delay {
1237 type uint16 {
1238 range "0..60000";
1239 }
1240 units "msec";
1241 mandatory true;
1242 description
1243 "Delay used while in QUIET state";
1244 }
1245
1246 leaf short-delay {
1247 type uint16 {
1248 range "0..60000";
1249 }
1250 units "msec";
1251 mandatory true;
1252 description
1253 "Delay used while in SHORT_WAIT state";
1254 }
1255
1256 leaf long-delay {
1257 type uint16 {
1258 range "0..60000";
1259 }
1260 units "msec";
1261 mandatory true;
1262 description
1263 "Delay used while in LONG_WAIT state";
1264 }
1265
1266 leaf hold-down {
1267 type uint16 {
1268 range "0..60000";
1269 }
1270 units "msec";
1271 mandatory true;
1272 description
1273 "Time with no received IGP events before considering IGP stable";
1274 }
1275
1276 leaf time-to-learn {
1277 type uint16 {
1278 range "0..60000";
1279 }
1280 units "msec";
1281 mandatory true;
1282 description
1283 "Maximum duration needed to learn all the events related to a
1284 single failure";
1285 }
1286 }
1287
1288 container minimum-interval {
1289 description
1290 "Minimum interval between consecutive executions of the
1291 SPF algorithm.";
1292 leaf level-1 {
1293 type uint16 {
1294 range "1..120";
1295 }
1296 units "seconds";
1297 default "1";
1298 description
1299 "Minimum time between consecutive level-1 SPFs.";
1300 }
1301
1302 leaf level-2 {
1303 type uint16 {
1304 range "1..120";
1305 }
1306 units "seconds";
1307 default "1";
1308 description
1309 "Minimum time between consecutive level-2 SPFs.";
1310 }
1311 }
d20b14bc
RW
1312
1313 container prefix-priorities {
1314 description
1315 "SPF Prefix Priority configuration";
1316
1317 container critical {
1318 description
1319 "Critical prefix priority";
1320 leaf access-list-name {
1321 type access-list-ref;
1322 description
1323 "Access List to determine prefixes for
1324 this priority";
1325 }
1326 }
1327 container high {
1328 description
1329 "High prefix priority";
1330 leaf access-list-name {
1331 type access-list-ref;
1332 description
1333 "Access List to determine prefixes for
1334 this priority";
1335 }
1336 }
1337 container medium {
1338 description
1339 "Medium prefix priority";
1340 leaf access-list-name {
1341 type access-list-ref;
1342 description
1343 "Access List to determine prefixes for
1344 this priority";
1345 }
1346 }
1347 }
20bd27e2
EDP
1348 }
1349
1350 container area-password {
1351 presence "Present if authentication is required for IS level-1.";
1352 description
1353 "Authentication password for an IS-IS area.";
1354 uses isis-area-password;
1355 }
1356
1357 container domain-password {
1358 presence "Present if authentication is required for IS level-2.";
1359 description
1360 "Authentication password for an IS-IS domain.";
1361 uses isis-area-password;
1362 }
1363
1364 container default-information-originate {
1365 description
1366 "Distribution of default information.";
1367 list ipv4 {
1368 key "level";
1369 description
1370 "Distribute default route for IPv4.";
1371 leaf level {
1372 type level;
1373 must "(. != \"level-1-2\") and ((../../../is-type = \"level-1-2\") or (. = ../../../is-type))";
1374 }
1375
1376 uses redistribute-default;
1377 }
1378
1379 list ipv6 {
1380 key "level";
1381 description
1382 "Distribute default route for IPv6.";
1383 leaf level {
1384 type level;
1385 must "(. != \"level-1-2\") and ((../../../is-type = \"level-1-2\") or (. = ../../../is-type))";
1386 }
1387
1388 uses redistribute-default;
1389 }
1390 }
1391
1392 container redistribute {
1393 description
1394 "Redistributes routes learned from other routing protocols.";
1395 list ipv4 {
1396 key "protocol level";
1397 description
1398 "IPv4 route redistribution.";
1399 leaf protocol {
1400 type frr-route-types:frr-route-types-v4;
1401 must ". != \"isis\"";
1402 description
1403 "Originating routing protocol for the IPv4 routes.";
1404 }
1405
1406 leaf level {
1407 type level;
1408 must "(. != \"level-1-2\") and ((../../../is-type = \"level-1-2\") or (. = ../../../is-type))";
1409 description
1410 "IS-IS level into which the routes should be redistributed.";
1411 }
1412
1413 uses redistribute-attributes;
1414 }
1415
1416 list ipv6 {
1417 key "protocol level";
1418 description
1419 "IPv6 route redistribution.";
1420 leaf protocol {
1421 type frr-route-types:frr-route-types-v6;
1422 must ". != \"isis\"";
1423 description
1424 "Originating routing protocol for the IPv6 routes.";
1425 }
1426
1427 leaf level {
1428 type level;
1429 must "(. != \"level-1-2\") and ((../../../is-type = \"level-1-2\") or (. = ../../../is-type))";
1430 description
1431 "IS-IS level into which the routes should be redistributed.";
1432 }
1433
1434 uses redistribute-attributes;
1435 }
1436 }
1437
1438 container multi-topology {
1439 description
1440 "IS-IS topologies configured for this area.";
1441 container ipv4-multicast {
1442 presence "Present if a separate IPv4-multicast topology is configured for this area.";
1443 description
1444 "IPv4 multicast topology.";
1445 leaf overload {
5f1e5e3f
EDP
1446 type boolean;
1447 default "false";
20bd27e2
EDP
1448 }
1449 }
1450
1451 container ipv4-management {
1452 presence "Present if a separate IPv4-management topology is configured for this area.";
1453 description
1454 "IPv4 management topology.";
1455 leaf overload {
5f1e5e3f
EDP
1456 type boolean;
1457 default "false";
20bd27e2
EDP
1458 }
1459 }
1460
1461 container ipv6-unicast {
1462 presence "Present if a separate IPv6-unicast topology is configured for this area.";
1463 description
1464 "IPv6 unicast topology.";
1465 leaf overload {
5f1e5e3f
EDP
1466 type boolean;
1467 default "false";
20bd27e2
EDP
1468 }
1469 }
1470
1471 container ipv6-multicast {
1472 presence "Present if a separate IPv6-multicast topology is configured for this area.";
1473 description
1474 "IPv6 multicast topology.";
1475 leaf overload {
5f1e5e3f
EDP
1476 type boolean;
1477 default "false";
20bd27e2
EDP
1478 }
1479 }
1480
1481 container ipv6-management {
1482 presence "Present if a separate IPv6-management topology is configured for this area.";
1483 description
1484 "IPv6 management topology.";
1485 leaf overload {
5f1e5e3f
EDP
1486 type boolean;
1487 default "false";
20bd27e2
EDP
1488 }
1489 }
1490
1491 container ipv6-dstsrc {
1492 presence "Present if a separate IPv6 destination-source topology is configured for this area.";
1493 description
1494 "IPv6 destination-source topology.";
1495 leaf overload {
5f1e5e3f
EDP
1496 type boolean;
1497 default "false";
20bd27e2
EDP
1498 }
1499 }
1500 }
1501
d20b14bc
RW
1502 container fast-reroute {
1503 description
1504 "IP Fast-reroute configuration.";
1505 container level-1 {
1506 description
1507 "Level-1 IP Fast-reroute configuration.";
1508 uses global-config-lfa;
381200be 1509 uses global-config-remote-lfa;
d20b14bc
RW
1510 }
1511 container level-2 {
1512 description
1513 "Level-2 IP Fast-reroute configuration.";
1514 uses global-config-lfa;
381200be 1515 uses global-config-remote-lfa;
d20b14bc
RW
1516 }
1517 }
1518
20bd27e2 1519 leaf log-adjacency-changes {
5f1e5e3f
EDP
1520 type boolean;
1521 default "false";
20bd27e2
EDP
1522 description
1523 "Log changes to the IS-IS adjacencies in this area.";
1524 }
20bd27e2 1525
2e2a8b91
OD
1526 container mpls-te {
1527 presence "Present if MPLS-TE is enabled.";
20bd27e2 1528 description
2e2a8b91
OD
1529 "Enable MPLS-TE functionality.";
1530 leaf router-address {
1531 type inet:ipv4-address;
1532 description
1533 "Stable IP address of the advertising router.";
1534 }
173f8887
OD
1535 leaf router-address-v6 {
1536 type inet:ipv6-address;
1537 description
1538 "Stable IPv6 address of the advertising router.";
1539 }
ed6189a9
OD
1540 leaf export {
1541 type boolean;
1542 default "false";
1543 description
1544 "Export Link State informatin.";
1545 }
20bd27e2 1546 }
7e405d3b
RW
1547
1548 container segment-routing {
1549 description
1550 "Segment Routing global configuration.";
1551 leaf enabled {
1552 type boolean;
1553 default "false";
1554 description
1555 "Enables segment-routing protocol extensions.";
1556 }
01d43141 1557 container label-blocks {
d8391312 1558 description
01d43141
EDP
1559 "Local and global label blocks.";
1560 container srgb {
1561 description
1562 "Global blocks to be advertised.";
01d43141 1563 leaf lower-bound {
3bb513c3 1564 must "../upper-bound > .";
01d43141
EDP
1565 type uint32;
1566 default "16000";
1567 description
1568 "Lower value in the label range.";
1569 }
1570 leaf upper-bound {
3bb513c3 1571 must ". > ../lower-bound";
01d43141
EDP
1572 type uint32;
1573 default "23999";
1574 description
1575 "Upper value in the label range.";
1576 }
d8391312 1577 }
01d43141
EDP
1578 container srlb {
1579 description
1580 "Local blocks to be advertised.";
01d43141 1581 leaf lower-bound {
3bb513c3 1582 must "../upper-bound > .";
01d43141
EDP
1583 type uint32;
1584 default "15000";
1585 description
1586 "Lower value in the label range.";
1587 }
1588 leaf upper-bound {
3bb513c3 1589 must ". > ../lower-bound";
01d43141
EDP
1590 type uint32;
1591 default "15999";
1592 description
1593 "Upper value in the label range.";
1594 }
d8391312
OD
1595 }
1596 }
7e405d3b
RW
1597 container msd {
1598 description
1599 "MSD configuration.";
1600 leaf node-msd {
1601 type uint8;
1602 description
1603 "Node MSD is the lowest MSD supported by the node.";
1604 }
1605 }
1606 container prefix-sid-map {
1607 description
1608 "Prefix SID configuration.";
1609 list prefix-sid {
1610 key "prefix";
1611 unique "sid-value-type sid-value";
1612 description
1613 "List of prefix SID mapped to IPv4/IPv6
1614 local prefixes.";
1615 leaf prefix {
1616 type inet:ip-prefix;
1617 description
1618 "Connected prefix sid.";
1619 }
1620 leaf sid-value-type {
1621 type enumeration {
1622 enum "index" {
1623 value 0;
1624 description
1625 "The value will be interpreted as an index.";
1626 }
1627 enum "absolute" {
1628 value 1;
1629 description
1630 "The value will become interpreted as an absolute
1631 value.";
1632 }
1633 }
1634 default "index";
1635 description
1636 "This leaf defines how value must be interpreted.";
1637 }
1638 leaf sid-value {
1639 type uint32;
1640 mandatory true;
1641 description
1642 "Value associated with prefix. The value must be
1643 interpreted in the context of sid-value-type.";
1644 }
1645 leaf last-hop-behavior {
1646 type enumeration {
1647 enum "explicit-null" {
1648 value 0;
1649 description
1650 "Use explicit-null for the SID.";
1651 }
1652 enum "no-php" {
1653 value 1;
1654 description
1655 "Do not use Penultimate Hop Popping (PHP)
1656 for the SID.";
1657 }
1658 enum "php" {
1659 value 2;
1660 description
1661 "Use PHP for the SID.";
1662 }
1663 }
1664 default "php";
1665 description
1666 "Configure last hop behavior.";
1667 }
01983712
RW
1668 leaf n-flag-clear {
1669 type boolean;
1670 default "false";
1671 description
1672 "Not a node SID";
1673 }
7e405d3b
RW
1674 }
1675 }
1676 }
1cbf96a8 1677
1678 container mpls {
1679 description
1680 "Configuration of MPLS parameters";
1681 container ldp-sync {
1682 presence "Present if MPLS LDP-Sync is enabled.";
1683 description
1684 "Enable MPLS LDP-Sync functionality.";
1685 leaf holddown {
1686 type uint16 {
1687 range "0..10000";
1688 }
1689 units "seconds";
1690 default "0";
1691 description
1692 "Time to wait for LDP-Sync to occur before restoring interface metric.";
1693 }
1694 }
1695 }
1696
20bd27e2
EDP
1697 }
1698 }
1699
1700 augment "/frr-interface:lib/frr-interface:interface" {
1701 description
1702 "Extends interface model with IS-IS related parameters.";
1703 container isis {
1704 presence "Present if an IS-IS circuit is defined for this interface.";
1705 description
1706 "IS-IS interface parameters.";
e206450b 1707 uses interface-config;
27171928
RW
1708 }
1709 }
1710
1711 augment "/frr-interface:lib/frr-interface:interface/frr-interface:state" {
1712 description
1713 "Extends interface model with IS-IS operational data.";
1714 container isis {
1715 presence "Present if an IS-IS circuit is defined for this interface.";
1716 description
1717 "IS-IS interface operational data.";
d2c970ff 1718
aec5ef49 1719 uses interface-state;
20bd27e2
EDP
1720 }
1721 }
1722
1723 notification database-overload {
1724 description
1725 "This notification is sent when an IS-IS instance
1726 overload state changes.";
1727 uses notification-instance-hdr;
1728
1729 leaf overload {
1730 type enumeration {
1731 enum "off" {
1732 value 0;
1733 description
1734 "Indicates IS-IS instance has left overload state";
1735 }
1736 enum "on" {
1737 value 1;
1738 description
1739 "Indicates IS-IS instance has entered overload state";
1740 }
1741 }
1742 description
1743 "New overload state of the IS-IS instance";
1744 }
1745 }
1746
1747 notification lsp-too-large {
1748 description
1749 "This notification is sent when we attempt to propagate
1750 an LSP that is larger than the dataLinkBlockSize for the
1751 circuit. The notification generation must be throttled
f79f7a7b 1752 with at least 5 seconds between successive
20bd27e2
EDP
1753 notifications.";
1754 uses notification-instance-hdr;
1755
1756 uses notification-interface-hdr;
1757
1758 leaf pdu-size {
1759 type uint32;
1760 description
1761 "Size of the LSP PDU";
1762 }
1763
1764 leaf lsp-id {
1765 type lsp-id;
1766 description
1767 "LSP ID";
1768 }
1769 }
1770
1771 notification if-state-change {
1772 description
1773 "This notification is sent when an interface
1774 state change is detected.";
1775 uses notification-instance-hdr;
1776
1777 uses notification-interface-hdr;
1778
1779 leaf state {
1780 type if-state-type;
1781 description
1782 "Interface state.";
1783 }
1784 }
1785
1786 notification corrupted-lsp-detected {
1787 description
1788 "This notification is sent when we find that
1789 an LSP that was stored in memory has become
1790 corrupted.";
1791 uses notification-instance-hdr;
1792
1793 leaf lsp-id {
1794 type lsp-id;
1795 description
1796 "LSP ID";
1797 }
1798 }
1799
1800 notification attempt-to-exceed-max-sequence {
1801 description
1802 "This notification is sent when the system
1803 wraps the 32-bit sequence counter of an LSP.";
1804 uses notification-instance-hdr;
1805
1806 leaf lsp-id {
1807 type lsp-id;
1808 description
1809 "LSP ID";
1810 }
1811 }
1812
1813 notification id-len-mismatch {
1814 description
1815 "This notification is sent when we receive a PDU
1816 with a different value for the System ID length.
1817 The notification generation must be throttled
f79f7a7b 1818 with at least 5 seconds between successive
20bd27e2
EDP
1819 notifications.";
1820 uses notification-instance-hdr;
1821
1822 uses notification-interface-hdr;
1823
1824 leaf pdu-field-len {
1825 type uint8;
1826 description
1827 "Size of the ID length in the received PDU";
1828 }
1829
1830 leaf raw-pdu {
1831 type binary;
1832 description
1833 "Received raw PDU.";
1834 }
1835 }
1836
1837 notification max-area-addresses-mismatch {
1838 description
1839 "This notification is sent when we receive a PDU
1840 with a different value for the Maximum Area Addresses.
1841 The notification generation must be throttled
f79f7a7b 1842 with at least 5 seconds between successive
20bd27e2
EDP
1843 notifications.";
1844 uses notification-instance-hdr;
1845
1846 uses notification-interface-hdr;
1847
1848 leaf max-area-addresses {
1849 type uint8;
1850 description
1851 "Received number of supported areas";
1852 }
1853
1854 leaf raw-pdu {
1855 type binary;
1856 description
1857 "Received raw PDU.";
1858 }
1859 }
1860
1861 notification own-lsp-purge {
1862 description
1863 "This notification is sent when the system receives
1864 a PDU with its own system ID and zero age.";
1865 uses notification-instance-hdr;
1866
1867 uses notification-interface-hdr;
1868
1869 leaf lsp-id {
1870 type lsp-id;
1871 description
1872 "LSP ID";
1873 }
1874 }
1875
1876 notification sequence-number-skipped {
1877 description
1878 "This notification is sent when the system receives a
1879 PDU with its own system ID and different contents. The
1880 system has to reoriginate the LSP with a higher sequence
1881 number.";
1882 uses notification-instance-hdr;
1883
1884 uses notification-interface-hdr;
1885
1886 leaf lsp-id {
1887 type lsp-id;
1888 description
1889 "LSP ID";
1890 }
1891 }
1892
1893 notification authentication-type-failure {
1894 description
1895 "This notification is sent when the system receives a
1896 PDU with the wrong authentication type field.
1897 The notification generation must be throttled
f79f7a7b 1898 with at least 5 seconds between successive
20bd27e2
EDP
1899 notifications.";
1900 uses notification-instance-hdr;
1901
1902 uses notification-interface-hdr;
1903
1904 leaf raw-pdu {
1905 type binary;
1906 description
1907 "Received raw PDU.";
1908 }
1909 }
1910
1911 notification authentication-failure {
1912 description
1913 "This notification is sent when the system receives
1914 a PDU with the wrong authentication information.
1915 The notification generation must be throttled with
f79f7a7b 1916 with at least 5 seconds between successive
20bd27e2
EDP
1917 notifications.";
1918 uses notification-instance-hdr;
1919
1920 uses notification-interface-hdr;
1921
1922 leaf raw-pdu {
1923 type binary;
1924 description
1925 "Received raw PDU.";
1926 }
1927 }
1928
1929 notification version-skew {
1930 description
1931 "This notification is sent when the system receives a
1932 PDU with a different protocol version number.
1933 The notification generation must be throttled
f79f7a7b 1934 with at least 5 seconds between successive
20bd27e2
EDP
1935 notifications.";
1936 uses notification-instance-hdr;
1937
1938 uses notification-interface-hdr;
1939
1940 leaf protocol-version {
1941 type uint8;
1942 description
1943 "Protocol version received in the PDU.";
1944 }
1945
1946 leaf raw-pdu {
1947 type binary;
1948 description
1949 "Received raw PDU.";
1950 }
1951 }
1952
1953 notification area-mismatch {
1954 description
1955 "This notification is sent when the system receives a
1956 Hello PDU from an IS that does not share any area
1957 address. The notification generation must be throttled
f79f7a7b 1958 with at least 5 seconds between successive
20bd27e2
EDP
1959 notifications.";
1960 uses notification-instance-hdr;
1961
1962 uses notification-interface-hdr;
1963
1964 leaf raw-pdu {
1965 type binary;
1966 description
1967 "Received raw PDU.";
1968 }
1969 }
1970
1971 notification rejected-adjacency {
1972 description
1973 "This notification is sent when the system receives a
1974 Hello PDU from an IS but does not establish an adjacency
1975 for some reason. The notification generation must be
f79f7a7b 1976 throttled with at least 5 seconds between successive
20bd27e2
EDP
1977 notifications.";
1978 uses notification-instance-hdr;
1979
1980 uses notification-interface-hdr;
1981
1982 leaf raw-pdu {
1983 type binary;
1984 description
1985 "Received raw PDU.";
1986 }
1987
1988 leaf reason {
1989 type string;
1990 description
1991 "The system may provide a reason to reject the
1992 adjacency. If the reason is not available,
1993 an empty string will be returned.";
1994 }
1995 }
1996
1997 notification lsp-error-detected {
1998 description
1999 "This notification is sent when the system receives an
2000 LSP with a parse error. The notification generation must
f79f7a7b 2001 be throttled with at least 5 seconds between successive
20bd27e2
EDP
2002 notifications.";
2003 uses notification-instance-hdr;
2004
2005 uses notification-interface-hdr;
2006
2007 leaf lsp-id {
2008 type lsp-id;
2009 description
2010 "LSP ID.";
2011 }
2012
2013 leaf raw-pdu {
2014 type binary;
2015 description
2016 "Received raw PDU.";
2017 }
2018
2019 leaf error-offset {
2020 type uint32;
2021 description
2022 "If the problem is a malformed TLV, the error-offset
2023 points to the start of the TLV. If the problem is with
2024 the LSP header, the error-offset points to the errant
2025 byte";
2026 }
2027
2028 leaf tlv-type {
2029 type uint8;
2030 description
2031 "If the problem is a malformed TLV, the tlv-type is set
2032 to the type value of the suspicious TLV. Otherwise,
2033 this leaf is not present.";
2034 }
2035 }
2036
2037 notification adjacency-state-change {
2038 description
2039 "This notification is sent when an IS-IS adjacency
2040 moves to Up state or to Down state.";
2041 uses notification-instance-hdr;
2042
2043 uses notification-interface-hdr;
2044
2045 leaf neighbor {
2046 type string;
2047 description
2048 "Name of the neighbor. If the name of the neighbor is
2049 not available, it is not returned.";
2050 }
2051
2052 leaf neighbor-system-id {
2053 type system-id;
2054 description
2055 "Neighbor system-id";
2056 }
2057
2058 leaf state {
2059 type adj-state-type;
2060 description
2061 "New state of the IS-IS adjacency.";
2062 }
2063
2064 leaf reason {
2065 type string;
2066 description
2067 "If the adjacency is going to DOWN, this leaf provides
2068 a reason for the adjacency going down. The reason is
2069 provided as a text. If the adjacency is going to UP, no
2070 reason is provided.";
2071 }
2072 }
2073
2074 notification lsp-received {
2075 description
2076 "This notification is sent when an LSP is received.
2077 The notification generation must be throttled with at
f79f7a7b 2078 least 5 seconds between successive notifications.";
20bd27e2
EDP
2079 uses notification-instance-hdr;
2080
2081 uses notification-interface-hdr;
2082
2083 leaf lsp-id {
2084 type lsp-id;
2085 description
2086 "LSP ID";
2087 }
2088
2089 leaf sequence {
2090 type uint32;
2091 description
2092 "Sequence number of the received LSP.";
2093 }
2094
2095 leaf received-timestamp {
2096 type yang:timestamp;
2097 description
2098 "Timestamp when the LSP was received.";
2099 }
2100
2101 leaf neighbor-system-id {
2102 type system-id;
2103 description
2104 "Neighbor system-id of LSP sender";
2105 }
2106 }
2107
2108 notification lsp-generation {
2109 description
2110 "This notification is sent when an LSP is regenerated.
2111 The notification generation must be throttled with at
f79f7a7b 2112 least 5 seconds between successive notifications.";
20bd27e2
EDP
2113 uses notification-instance-hdr;
2114
2115 leaf lsp-id {
2116 type lsp-id;
2117 description
2118 "LSP ID";
2119 }
2120
2121 leaf sequence {
2122 type uint32;
2123 description
2124 "Sequence number of the received LSP.";
2125 }
2126
2127 leaf send-timestamp {
2128 type yang:timestamp;
2129 description
2130 "Timestamp when our LSP was regenerated.";
2131 }
2132 }
2133}