]> git.proxmox.com Git - mirror_frr.git/blob - yang/frr-isisd.yang
Merge pull request #12126 from cscarpitta/fix/add-missing-debug-guard-bgpd-srv6
[mirror_frr.git] / yang / frr-isisd.yang
1 module 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
18 import frr-vrf {
19 prefix frr-vrf;
20 }
21
22 import frr-route-map {
23 prefix frr-route-map;
24 }
25
26 import frr-route-types {
27 prefix frr-route-types;
28 }
29
30 organization
31 "FRRouting";
32 contact
33 "FRR Users List: <mailto:frog@lists.frrouting.org> FRR Development
34 List: <mailto:dev@lists.frrouting.org>";
35 description
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.";
62
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 }
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 }
73 revision 2019-12-17 {
74 description
75 "Changed default area is-type to level-1-2";
76 }
77 revision 2019-09-09 {
78 description
79 "Changed interface references to use
80 frr-interface:interface-ref typedef";
81 }
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
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
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
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
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
252 typedef access-list-ref {
253 type string;
254 }
255
256 typedef prefix-list-ref {
257 type string;
258 }
259
260 grouping redistribute-attributes {
261 description
262 "Common optional attributes of any redistribute entry.";
263 leaf route-map {
264 type frr-route-map:route-map-ref;
265 description
266 "Applies the conditions of the specified route-map to routes that
267 are redistributed into this routing instance.";
268 }
269
270 leaf metric {
271 type uint32 {
272 range "0..16777215";
273 }
274 default "0";
275 description
276 "Metric used for the redistributed route. If 0,
277 the default-metric attribute is used instead.";
278 }
279 }
280
281 grouping redistribute-default {
282 description
283 "Redistribution of default route within a level.";
284 leaf always {
285 type boolean;
286 default "false";
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
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
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
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
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
479 grouping interface-config-ti-lfa {
480 container ti-lfa {
481 description
482 "TI-LFA configuration.";
483 leaf enable {
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 }
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 }
500 leaf link-fallback {
501 type boolean;
502 must ". = 'false' or ../enable = 'true'";
503 default false;
504 description
505 "Fallback to link protection.";
506 }
507 }
508 }
509
510 grouping interface-config {
511 description
512 "Interface configuration grouping";
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
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 }
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;
708 must "(. = \"point-to-point\") or (. = \"broadcast\")";
709 default "broadcast";
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.";
736 leaf standard {
737 type boolean;
738 default "true";
739 description
740 "Standard (IPV4 unicast) topology.";
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 }
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";
798 }
799 units "seconds";
800 description
801 "Time to wait for LDP-Sync to occur before restoring interface metric.";
802 }
803 }
804
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.";
811 uses interface-config-lfa;
812 uses interface-config-remote-lfa;
813 uses interface-config-ti-lfa;
814 }
815 container level-2 {
816 description
817 "Level-2 IP Fast-reroute configuration.";
818 uses interface-config-lfa;
819 uses interface-config-remote-lfa;
820 uses interface-config-ti-lfa;
821 }
822 }
823 }
824
825 grouping adjacency-state {
826 description
827 "Adjacency state";
828 container adjacencies {
829 config false;
830 description
831 "This container lists the adjacencies of
832 the local node.";
833 list adjacency {
834 description
835 "List of operational adjacencies.";
836 leaf neighbor-sys-type {
837 type level;
838 description
839 "Level capability of neighboring system";
840 }
841
842 leaf neighbor-sysid {
843 type system-id;
844 description
845 "The system-id of the neighbor";
846 }
847
848 leaf neighbor-extended-circuit-id {
849 type extended-circuit-id;
850 description
851 "Circuit ID of the neighbor";
852 }
853
854 leaf neighbor-snpa {
855 type snpa;
856 description
857 "SNPA of the neighbor";
858 }
859
860 leaf hold-timer {
861 type uint16;
862 units "seconds";
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 }
869
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 }
878
879 leaf state {
880 type adj-state-type;
881 description
882 "This leaf describes the state of the interface.";
883 }
884 }
885 }
886 }
887
888 grouping event-counters {
889 description
890 "Grouping for IS-IS interface event counters";
891 container event-counters {
892 config false;
893 description
894 "IS-IS interface event counters.";
895 leaf adjacency-changes {
896 type uint32;
897 description
898 "The number of times an adjacency state change has
899 occurred on this interface.";
900 }
901
902 leaf adjacency-number {
903 type uint32;
904 description
905 "The number of adjacencies on this interface.";
906 }
907
908 leaf init-fails {
909 type uint32;
910 description
911 "The number of times initialization of this
912 interface has failed. This counts events such
913 as PPP NCP failures. Failures to form an
914 adjacency are counted by adjacency-rejects.";
915 }
916
917 leaf adjacency-rejects {
918 type uint32;
919 description
920 "The number of times an adjacency has been
921 rejected on this interface.";
922 }
923
924 leaf id-len-mismatch {
925 type uint32;
926 description
927 "The number of times an IS-IS PDU with an ID
928 field length different from that for this
929 system has been received on this interface.";
930 }
931
932 leaf max-area-addresses-mismatch {
933 type uint32;
934 description
935 "The number of times an IS-IS PDU has been
936 received on this interface with the
937 max area address field differing from that of
938 this system.";
939 }
940
941 leaf authentication-type-fails {
942 type uint32;
943 description
944 "Number of authentication type mismatches.";
945 }
946
947 leaf authentication-fails {
948 type uint32;
949 description
950 "Number of authentication key failures.";
951 }
952 }
953 }
954
955 grouping interface-state {
956 description
957 "IS-IS interface operational state.";
958 uses adjacency-state;
959
960 uses event-counters;
961 }
962
963 grouping notification-instance-hdr {
964 description
965 "Instance specific IS-IS notification data grouping";
966 leaf routing-instance {
967 type string;
968 description
969 "Name of the routing-instance instance.";
970 }
971
972 leaf routing-protocol-name {
973 type string;
974 description
975 "Name of the IS-IS instance.";
976 }
977
978 leaf isis-level {
979 type level;
980 description
981 "IS-IS level of the instance.";
982 }
983 }
984
985 grouping notification-interface-hdr {
986 description
987 "Interface specific IS-IS notification data grouping";
988 leaf interface-name {
989 type frr-interface:interface-ref;
990 description
991 "IS-IS interface name";
992 }
993
994 leaf interface-level {
995 type level;
996 description
997 "IS-IS level of the interface.";
998 }
999
1000 leaf extended-circuit-id {
1001 type extended-circuit-id;
1002 description
1003 "Eextended circuit-id of the interface.";
1004 }
1005 }
1006
1007 container isis {
1008 description
1009 "Configuration of the IS-IS routing daemon.";
1010 list instance {
1011 key "area-tag vrf";
1012 description
1013 "IS-IS routing instance.";
1014 leaf area-tag {
1015 type string;
1016 description
1017 "Area-tag associated to this routing instance.";
1018 }
1019
1020 leaf vrf {
1021 type frr-vrf:vrf-ref;
1022 description
1023 "VRF NAME.";
1024 }
1025
1026 leaf is-type {
1027 type level;
1028 default "level-1-2";
1029 description
1030 "Level of the IS-IS routing instance (OSI only).";
1031 }
1032
1033 leaf-list area-address {
1034 type net-address;
1035 max-elements 3;
1036 description
1037 "List of OSI NET addresses for this protocol instance.";
1038 }
1039
1040 leaf dynamic-hostname {
1041 type boolean;
1042 default "true";
1043 description
1044 "Dynamic hostname support for IS-IS.";
1045 }
1046
1047 leaf attach-send {
1048 type boolean;
1049 default "true";
1050 description
1051 "If true, attached bits are sent in LSP if L1/L2 router for inter-area traffic.";
1052 }
1053
1054 leaf attach-receive-ignore {
1055 type boolean;
1056 default "false";
1057 description
1058 "If false, attached bits received in LSP, cause default route add, if L1 router for inter-area traffic.";
1059 }
1060
1061 leaf attached {
1062 type boolean;
1063 default "false";
1064 status deprecated;
1065 description
1066 "If true, identify as L1/L2 router for inter-area traffic.";
1067 }
1068
1069 container overload {
1070 description
1071 "Overload bit configuration.";
1072 leaf enabled {
1073 type boolean;
1074 default "false";
1075 description
1076 "If true, avoid any transit traffic.";
1077 }
1078
1079 leaf on-startup {
1080 type uint32 {
1081 range "0..86400";
1082 }
1083 units "seconds";
1084 default "0";
1085 description
1086 "The duration the overload bit should be set on startup.";
1087 }
1088 }
1089
1090 leaf metric-style {
1091 type metric-style-type;
1092 must ". = 'wide' or count(../multi-topology/*) = 0";
1093 default "wide";
1094 description
1095 "Define the style of TLVs metric supported.";
1096 }
1097
1098 leaf purge-originator {
1099 type boolean;
1100 default "false";
1101 description
1102 "Use the RFC 6232 purge-originator.";
1103 reference
1104 "RFC6232";
1105 }
1106
1107 container lsp {
1108 description
1109 "Configuration of Link-State Packets (LSP) parameters";
1110 leaf mtu {
1111 type uint16 {
1112 range "128..4352";
1113 }
1114 default "1497";
1115 description
1116 "MTU of an LSP.";
1117 }
1118
1119 container timers {
1120 description
1121 "LSP-related timers";
1122 container level-1 {
1123 description
1124 "Level-1 LSP-related timers";
1125 leaf refresh-interval {
1126 type uint16;
1127 units "seconds";
1128 default "900";
1129 description
1130 "LSP refresh interval for level-1.";
1131 }
1132
1133 leaf maximum-lifetime {
1134 type uint16 {
1135 range "350..65535";
1136 }
1137 units "seconds";
1138 must ". >= ../refresh-interval + 300";
1139 default "1200";
1140 description
1141 "Maximum LSP lifetime for level-1.";
1142 }
1143
1144 leaf generation-interval {
1145 type uint16 {
1146 range "1..120";
1147 }
1148 units "seconds";
1149 must ". < ../refresh-interval";
1150 default "30";
1151 description
1152 "Minimum time allowed before level-1 LSP retransmissions.";
1153 }
1154 }
1155
1156 container level-2 {
1157 description
1158 "Level-2 LSP-related timers";
1159 leaf refresh-interval {
1160 type uint16;
1161 units "seconds";
1162 default "900";
1163 description
1164 "LSP refresh interval for level-2.";
1165 }
1166
1167 leaf maximum-lifetime {
1168 type uint16 {
1169 range "350..65535";
1170 }
1171 units "seconds";
1172 must ". >= ../refresh-interval + 300";
1173 default "1200";
1174 description
1175 "Maximum LSP lifetime for level-2.";
1176 }
1177
1178 leaf generation-interval {
1179 type uint16 {
1180 range "1..120";
1181 }
1182 units "seconds";
1183 must ". < ../refresh-interval";
1184 default "30";
1185 description
1186 "Minimum time allowed before level-2 LSP retransmissions.";
1187 }
1188 }
1189 }
1190 }
1191
1192 container spf {
1193 description
1194 "Parameters related to the Shortest Path First algorithm.";
1195 container ietf-backoff-delay {
1196 presence "Present if IETF SPF back-off delay is enabled.";
1197 description
1198 "SPF back-off delay algorithm parameters (see RFC 8405).";
1199 leaf init-delay {
1200 type uint16 {
1201 range "0..60000";
1202 }
1203 units "msec";
1204 mandatory true;
1205 description
1206 "Delay used while in QUIET state";
1207 }
1208
1209 leaf short-delay {
1210 type uint16 {
1211 range "0..60000";
1212 }
1213 units "msec";
1214 mandatory true;
1215 description
1216 "Delay used while in SHORT_WAIT state";
1217 }
1218
1219 leaf long-delay {
1220 type uint16 {
1221 range "0..60000";
1222 }
1223 units "msec";
1224 mandatory true;
1225 description
1226 "Delay used while in LONG_WAIT state";
1227 }
1228
1229 leaf hold-down {
1230 type uint16 {
1231 range "0..60000";
1232 }
1233 units "msec";
1234 mandatory true;
1235 description
1236 "Time with no received IGP events before considering IGP stable";
1237 }
1238
1239 leaf time-to-learn {
1240 type uint16 {
1241 range "0..60000";
1242 }
1243 units "msec";
1244 mandatory true;
1245 description
1246 "Maximum duration needed to learn all the events related to a
1247 single failure";
1248 }
1249 }
1250
1251 container minimum-interval {
1252 description
1253 "Minimum interval between consecutive executions of the
1254 SPF algorithm.";
1255 leaf level-1 {
1256 type uint16 {
1257 range "1..120";
1258 }
1259 units "seconds";
1260 default "1";
1261 description
1262 "Minimum time between consecutive level-1 SPFs.";
1263 }
1264
1265 leaf level-2 {
1266 type uint16 {
1267 range "1..120";
1268 }
1269 units "seconds";
1270 default "1";
1271 description
1272 "Minimum time between consecutive level-2 SPFs.";
1273 }
1274 }
1275
1276 container prefix-priorities {
1277 description
1278 "SPF Prefix Priority configuration";
1279
1280 container critical {
1281 description
1282 "Critical prefix priority";
1283 leaf access-list-name {
1284 type access-list-ref;
1285 description
1286 "Access List to determine prefixes for
1287 this priority";
1288 }
1289 }
1290 container high {
1291 description
1292 "High prefix priority";
1293 leaf access-list-name {
1294 type access-list-ref;
1295 description
1296 "Access List to determine prefixes for
1297 this priority";
1298 }
1299 }
1300 container medium {
1301 description
1302 "Medium prefix priority";
1303 leaf access-list-name {
1304 type access-list-ref;
1305 description
1306 "Access List to determine prefixes for
1307 this priority";
1308 }
1309 }
1310 }
1311 }
1312
1313 container area-password {
1314 presence "Present if authentication is required for IS level-1.";
1315 description
1316 "Authentication password for an IS-IS area.";
1317 uses isis-area-password;
1318 }
1319
1320 container domain-password {
1321 presence "Present if authentication is required for IS level-2.";
1322 description
1323 "Authentication password for an IS-IS domain.";
1324 uses isis-area-password;
1325 }
1326
1327 container default-information-originate {
1328 description
1329 "Distribution of default information.";
1330 list ipv4 {
1331 key "level";
1332 description
1333 "Distribute default route for IPv4.";
1334 leaf level {
1335 type level;
1336 must "(. != \"level-1-2\") and ((../../../is-type = \"level-1-2\") or (. = ../../../is-type))";
1337 }
1338
1339 uses redistribute-default;
1340 }
1341
1342 list ipv6 {
1343 key "level";
1344 description
1345 "Distribute default route for IPv6.";
1346 leaf level {
1347 type level;
1348 must "(. != \"level-1-2\") and ((../../../is-type = \"level-1-2\") or (. = ../../../is-type))";
1349 }
1350
1351 uses redistribute-default;
1352 }
1353 }
1354
1355 container redistribute {
1356 description
1357 "Redistributes routes learned from other routing protocols.";
1358 list ipv4 {
1359 key "protocol level";
1360 description
1361 "IPv4 route redistribution.";
1362 leaf protocol {
1363 type frr-route-types:frr-route-types-v4;
1364 must ". != \"isis\"";
1365 description
1366 "Originating routing protocol for the IPv4 routes.";
1367 }
1368
1369 leaf level {
1370 type level;
1371 must "(. != \"level-1-2\") and ((../../../is-type = \"level-1-2\") or (. = ../../../is-type))";
1372 description
1373 "IS-IS level into which the routes should be redistributed.";
1374 }
1375
1376 uses redistribute-attributes;
1377 }
1378
1379 list ipv6 {
1380 key "protocol level";
1381 description
1382 "IPv6 route redistribution.";
1383 leaf protocol {
1384 type frr-route-types:frr-route-types-v6;
1385 must ". != \"isis\"";
1386 description
1387 "Originating routing protocol for the IPv6 routes.";
1388 }
1389
1390 leaf level {
1391 type level;
1392 must "(. != \"level-1-2\") and ((../../../is-type = \"level-1-2\") or (. = ../../../is-type))";
1393 description
1394 "IS-IS level into which the routes should be redistributed.";
1395 }
1396
1397 uses redistribute-attributes;
1398 }
1399 }
1400
1401 container multi-topology {
1402 description
1403 "IS-IS topologies configured for this area.";
1404 container ipv4-multicast {
1405 presence "Present if a separate IPv4-multicast topology is configured for this area.";
1406 description
1407 "IPv4 multicast topology.";
1408 leaf overload {
1409 type boolean;
1410 default "false";
1411 }
1412 }
1413
1414 container ipv4-management {
1415 presence "Present if a separate IPv4-management topology is configured for this area.";
1416 description
1417 "IPv4 management topology.";
1418 leaf overload {
1419 type boolean;
1420 default "false";
1421 }
1422 }
1423
1424 container ipv6-unicast {
1425 presence "Present if a separate IPv6-unicast topology is configured for this area.";
1426 description
1427 "IPv6 unicast topology.";
1428 leaf overload {
1429 type boolean;
1430 default "false";
1431 }
1432 }
1433
1434 container ipv6-multicast {
1435 presence "Present if a separate IPv6-multicast topology is configured for this area.";
1436 description
1437 "IPv6 multicast topology.";
1438 leaf overload {
1439 type boolean;
1440 default "false";
1441 }
1442 }
1443
1444 container ipv6-management {
1445 presence "Present if a separate IPv6-management topology is configured for this area.";
1446 description
1447 "IPv6 management topology.";
1448 leaf overload {
1449 type boolean;
1450 default "false";
1451 }
1452 }
1453
1454 container ipv6-dstsrc {
1455 presence "Present if a separate IPv6 destination-source topology is configured for this area.";
1456 description
1457 "IPv6 destination-source topology.";
1458 leaf overload {
1459 type boolean;
1460 default "false";
1461 }
1462 }
1463 }
1464
1465 container fast-reroute {
1466 description
1467 "IP Fast-reroute configuration.";
1468 container level-1 {
1469 description
1470 "Level-1 IP Fast-reroute configuration.";
1471 uses global-config-lfa;
1472 uses global-config-remote-lfa;
1473 }
1474 container level-2 {
1475 description
1476 "Level-2 IP Fast-reroute configuration.";
1477 uses global-config-lfa;
1478 uses global-config-remote-lfa;
1479 }
1480 }
1481
1482 leaf log-adjacency-changes {
1483 type boolean;
1484 default "false";
1485 description
1486 "Log changes to the IS-IS adjacencies in this area.";
1487 }
1488
1489 container mpls-te {
1490 presence "Present if MPLS-TE is enabled.";
1491 description
1492 "Enable MPLS-TE functionality.";
1493 leaf router-address {
1494 type inet:ipv4-address;
1495 description
1496 "Stable IP address of the advertising router.";
1497 }
1498 leaf router-address-v6 {
1499 type inet:ipv6-address;
1500 description
1501 "Stable IPv6 address of the advertising router.";
1502 }
1503 leaf export {
1504 type boolean;
1505 default "false";
1506 description
1507 "Export Link State informatin.";
1508 }
1509 }
1510
1511 container segment-routing {
1512 description
1513 "Segment Routing global configuration.";
1514 leaf enabled {
1515 type boolean;
1516 default "false";
1517 description
1518 "Enables segment-routing protocol extensions.";
1519 }
1520 container label-blocks {
1521 description
1522 "Local and global label blocks.";
1523 container srgb {
1524 description
1525 "Global blocks to be advertised.";
1526 leaf lower-bound {
1527 must "../upper-bound > .";
1528 type uint32;
1529 default "16000";
1530 description
1531 "Lower value in the label range.";
1532 }
1533 leaf upper-bound {
1534 must ". > ../lower-bound";
1535 type uint32;
1536 default "23999";
1537 description
1538 "Upper value in the label range.";
1539 }
1540 }
1541 container srlb {
1542 description
1543 "Local blocks to be advertised.";
1544 leaf lower-bound {
1545 must "../upper-bound > .";
1546 type uint32;
1547 default "15000";
1548 description
1549 "Lower value in the label range.";
1550 }
1551 leaf upper-bound {
1552 must ". > ../lower-bound";
1553 type uint32;
1554 default "15999";
1555 description
1556 "Upper value in the label range.";
1557 }
1558 }
1559 }
1560 container msd {
1561 description
1562 "MSD configuration.";
1563 leaf node-msd {
1564 type uint8;
1565 description
1566 "Node MSD is the lowest MSD supported by the node.";
1567 }
1568 }
1569 container prefix-sid-map {
1570 description
1571 "Prefix SID configuration.";
1572 list prefix-sid {
1573 key "prefix";
1574 unique "sid-value-type sid-value";
1575 description
1576 "List of prefix SID mapped to IPv4/IPv6
1577 local prefixes.";
1578 leaf prefix {
1579 type inet:ip-prefix;
1580 description
1581 "Connected prefix sid.";
1582 }
1583 leaf sid-value-type {
1584 type enumeration {
1585 enum "index" {
1586 value 0;
1587 description
1588 "The value will be interpreted as an index.";
1589 }
1590 enum "absolute" {
1591 value 1;
1592 description
1593 "The value will become interpreted as an absolute
1594 value.";
1595 }
1596 }
1597 default "index";
1598 description
1599 "This leaf defines how value must be interpreted.";
1600 }
1601 leaf sid-value {
1602 type uint32;
1603 mandatory true;
1604 description
1605 "Value associated with prefix. The value must be
1606 interpreted in the context of sid-value-type.";
1607 }
1608 leaf last-hop-behavior {
1609 type enumeration {
1610 enum "explicit-null" {
1611 value 0;
1612 description
1613 "Use explicit-null for the SID.";
1614 }
1615 enum "no-php" {
1616 value 1;
1617 description
1618 "Do not use Penultimate Hop Popping (PHP)
1619 for the SID.";
1620 }
1621 enum "php" {
1622 value 2;
1623 description
1624 "Use PHP for the SID.";
1625 }
1626 }
1627 default "php";
1628 description
1629 "Configure last hop behavior.";
1630 }
1631 leaf n-flag-clear {
1632 type boolean;
1633 default "false";
1634 description
1635 "Not a node SID";
1636 }
1637 }
1638 }
1639 }
1640
1641 container mpls {
1642 description
1643 "Configuration of MPLS parameters";
1644 container ldp-sync {
1645 presence "Present if MPLS LDP-Sync is enabled.";
1646 description
1647 "Enable MPLS LDP-Sync functionality.";
1648 leaf holddown {
1649 type uint16 {
1650 range "0..10000";
1651 }
1652 units "seconds";
1653 default "0";
1654 description
1655 "Time to wait for LDP-Sync to occur before restoring interface metric.";
1656 }
1657 }
1658 }
1659
1660 }
1661 }
1662
1663 augment "/frr-interface:lib/frr-interface:interface" {
1664 description
1665 "Extends interface model with IS-IS related parameters.";
1666 container isis {
1667 presence "Present if an IS-IS circuit is defined for this interface.";
1668 description
1669 "IS-IS interface parameters.";
1670 uses interface-config;
1671 }
1672 }
1673
1674 augment "/frr-interface:lib/frr-interface:interface/frr-interface:state" {
1675 description
1676 "Extends interface model with IS-IS operational data.";
1677 container isis {
1678 presence "Present if an IS-IS circuit is defined for this interface.";
1679 description
1680 "IS-IS interface operational data.";
1681
1682 uses interface-state;
1683 }
1684 }
1685
1686 notification database-overload {
1687 description
1688 "This notification is sent when an IS-IS instance
1689 overload state changes.";
1690 uses notification-instance-hdr;
1691
1692 leaf overload {
1693 type enumeration {
1694 enum "off" {
1695 value 0;
1696 description
1697 "Indicates IS-IS instance has left overload state";
1698 }
1699 enum "on" {
1700 value 1;
1701 description
1702 "Indicates IS-IS instance has entered overload state";
1703 }
1704 }
1705 description
1706 "New overload state of the IS-IS instance";
1707 }
1708 }
1709
1710 notification lsp-too-large {
1711 description
1712 "This notification is sent when we attempt to propagate
1713 an LSP that is larger than the dataLinkBlockSize for the
1714 circuit. The notification generation must be throttled
1715 with at least 5 seconds between successive
1716 notifications.";
1717 uses notification-instance-hdr;
1718
1719 uses notification-interface-hdr;
1720
1721 leaf pdu-size {
1722 type uint32;
1723 description
1724 "Size of the LSP PDU";
1725 }
1726
1727 leaf lsp-id {
1728 type lsp-id;
1729 description
1730 "LSP ID";
1731 }
1732 }
1733
1734 notification if-state-change {
1735 description
1736 "This notification is sent when an interface
1737 state change is detected.";
1738 uses notification-instance-hdr;
1739
1740 uses notification-interface-hdr;
1741
1742 leaf state {
1743 type if-state-type;
1744 description
1745 "Interface state.";
1746 }
1747 }
1748
1749 notification corrupted-lsp-detected {
1750 description
1751 "This notification is sent when we find that
1752 an LSP that was stored in memory has become
1753 corrupted.";
1754 uses notification-instance-hdr;
1755
1756 leaf lsp-id {
1757 type lsp-id;
1758 description
1759 "LSP ID";
1760 }
1761 }
1762
1763 notification attempt-to-exceed-max-sequence {
1764 description
1765 "This notification is sent when the system
1766 wraps the 32-bit sequence counter of an LSP.";
1767 uses notification-instance-hdr;
1768
1769 leaf lsp-id {
1770 type lsp-id;
1771 description
1772 "LSP ID";
1773 }
1774 }
1775
1776 notification id-len-mismatch {
1777 description
1778 "This notification is sent when we receive a PDU
1779 with a different value for the System ID length.
1780 The notification generation must be throttled
1781 with at least 5 seconds between successive
1782 notifications.";
1783 uses notification-instance-hdr;
1784
1785 uses notification-interface-hdr;
1786
1787 leaf pdu-field-len {
1788 type uint8;
1789 description
1790 "Size of the ID length in the received PDU";
1791 }
1792
1793 leaf raw-pdu {
1794 type binary;
1795 description
1796 "Received raw PDU.";
1797 }
1798 }
1799
1800 notification max-area-addresses-mismatch {
1801 description
1802 "This notification is sent when we receive a PDU
1803 with a different value for the Maximum Area Addresses.
1804 The notification generation must be throttled
1805 with at least 5 seconds between successive
1806 notifications.";
1807 uses notification-instance-hdr;
1808
1809 uses notification-interface-hdr;
1810
1811 leaf max-area-addresses {
1812 type uint8;
1813 description
1814 "Received number of supported areas";
1815 }
1816
1817 leaf raw-pdu {
1818 type binary;
1819 description
1820 "Received raw PDU.";
1821 }
1822 }
1823
1824 notification own-lsp-purge {
1825 description
1826 "This notification is sent when the system receives
1827 a PDU with its own system ID and zero age.";
1828 uses notification-instance-hdr;
1829
1830 uses notification-interface-hdr;
1831
1832 leaf lsp-id {
1833 type lsp-id;
1834 description
1835 "LSP ID";
1836 }
1837 }
1838
1839 notification sequence-number-skipped {
1840 description
1841 "This notification is sent when the system receives a
1842 PDU with its own system ID and different contents. The
1843 system has to reoriginate the LSP with a higher sequence
1844 number.";
1845 uses notification-instance-hdr;
1846
1847 uses notification-interface-hdr;
1848
1849 leaf lsp-id {
1850 type lsp-id;
1851 description
1852 "LSP ID";
1853 }
1854 }
1855
1856 notification authentication-type-failure {
1857 description
1858 "This notification is sent when the system receives a
1859 PDU with the wrong authentication type field.
1860 The notification generation must be throttled
1861 with at least 5 seconds between successive
1862 notifications.";
1863 uses notification-instance-hdr;
1864
1865 uses notification-interface-hdr;
1866
1867 leaf raw-pdu {
1868 type binary;
1869 description
1870 "Received raw PDU.";
1871 }
1872 }
1873
1874 notification authentication-failure {
1875 description
1876 "This notification is sent when the system receives
1877 a PDU with the wrong authentication information.
1878 The notification generation must be throttled with
1879 with at least 5 seconds between successive
1880 notifications.";
1881 uses notification-instance-hdr;
1882
1883 uses notification-interface-hdr;
1884
1885 leaf raw-pdu {
1886 type binary;
1887 description
1888 "Received raw PDU.";
1889 }
1890 }
1891
1892 notification version-skew {
1893 description
1894 "This notification is sent when the system receives a
1895 PDU with a different protocol version number.
1896 The notification generation must be throttled
1897 with at least 5 seconds between successive
1898 notifications.";
1899 uses notification-instance-hdr;
1900
1901 uses notification-interface-hdr;
1902
1903 leaf protocol-version {
1904 type uint8;
1905 description
1906 "Protocol version received in the PDU.";
1907 }
1908
1909 leaf raw-pdu {
1910 type binary;
1911 description
1912 "Received raw PDU.";
1913 }
1914 }
1915
1916 notification area-mismatch {
1917 description
1918 "This notification is sent when the system receives a
1919 Hello PDU from an IS that does not share any area
1920 address. The notification generation must be throttled
1921 with at least 5 seconds between successive
1922 notifications.";
1923 uses notification-instance-hdr;
1924
1925 uses notification-interface-hdr;
1926
1927 leaf raw-pdu {
1928 type binary;
1929 description
1930 "Received raw PDU.";
1931 }
1932 }
1933
1934 notification rejected-adjacency {
1935 description
1936 "This notification is sent when the system receives a
1937 Hello PDU from an IS but does not establish an adjacency
1938 for some reason. The notification generation must be
1939 throttled with at least 5 seconds between successive
1940 notifications.";
1941 uses notification-instance-hdr;
1942
1943 uses notification-interface-hdr;
1944
1945 leaf raw-pdu {
1946 type binary;
1947 description
1948 "Received raw PDU.";
1949 }
1950
1951 leaf reason {
1952 type string;
1953 description
1954 "The system may provide a reason to reject the
1955 adjacency. If the reason is not available,
1956 an empty string will be returned.";
1957 }
1958 }
1959
1960 notification lsp-error-detected {
1961 description
1962 "This notification is sent when the system receives an
1963 LSP with a parse error. The notification generation must
1964 be throttled with at least 5 seconds between successive
1965 notifications.";
1966 uses notification-instance-hdr;
1967
1968 uses notification-interface-hdr;
1969
1970 leaf lsp-id {
1971 type lsp-id;
1972 description
1973 "LSP ID.";
1974 }
1975
1976 leaf raw-pdu {
1977 type binary;
1978 description
1979 "Received raw PDU.";
1980 }
1981
1982 leaf error-offset {
1983 type uint32;
1984 description
1985 "If the problem is a malformed TLV, the error-offset
1986 points to the start of the TLV. If the problem is with
1987 the LSP header, the error-offset points to the errant
1988 byte";
1989 }
1990
1991 leaf tlv-type {
1992 type uint8;
1993 description
1994 "If the problem is a malformed TLV, the tlv-type is set
1995 to the type value of the suspicious TLV. Otherwise,
1996 this leaf is not present.";
1997 }
1998 }
1999
2000 notification adjacency-state-change {
2001 description
2002 "This notification is sent when an IS-IS adjacency
2003 moves to Up state or to Down state.";
2004 uses notification-instance-hdr;
2005
2006 uses notification-interface-hdr;
2007
2008 leaf neighbor {
2009 type string;
2010 description
2011 "Name of the neighbor. If the name of the neighbor is
2012 not available, it is not returned.";
2013 }
2014
2015 leaf neighbor-system-id {
2016 type system-id;
2017 description
2018 "Neighbor system-id";
2019 }
2020
2021 leaf state {
2022 type adj-state-type;
2023 description
2024 "New state of the IS-IS adjacency.";
2025 }
2026
2027 leaf reason {
2028 type string;
2029 description
2030 "If the adjacency is going to DOWN, this leaf provides
2031 a reason for the adjacency going down. The reason is
2032 provided as a text. If the adjacency is going to UP, no
2033 reason is provided.";
2034 }
2035 }
2036
2037 notification lsp-received {
2038 description
2039 "This notification is sent when an LSP is received.
2040 The notification generation must be throttled with at
2041 least 5 seconds between successive notifications.";
2042 uses notification-instance-hdr;
2043
2044 uses notification-interface-hdr;
2045
2046 leaf lsp-id {
2047 type lsp-id;
2048 description
2049 "LSP ID";
2050 }
2051
2052 leaf sequence {
2053 type uint32;
2054 description
2055 "Sequence number of the received LSP.";
2056 }
2057
2058 leaf received-timestamp {
2059 type yang:timestamp;
2060 description
2061 "Timestamp when the LSP was received.";
2062 }
2063
2064 leaf neighbor-system-id {
2065 type system-id;
2066 description
2067 "Neighbor system-id of LSP sender";
2068 }
2069 }
2070
2071 notification lsp-generation {
2072 description
2073 "This notification is sent when an LSP is regenerated.
2074 The notification generation must be throttled with at
2075 least 5 seconds between successive notifications.";
2076 uses notification-instance-hdr;
2077
2078 leaf lsp-id {
2079 type lsp-id;
2080 description
2081 "LSP ID";
2082 }
2083
2084 leaf sequence {
2085 type uint32;
2086 description
2087 "Sequence number of the received LSP.";
2088 }
2089
2090 leaf send-timestamp {
2091 type yang:timestamp;
2092 description
2093 "Timestamp when our LSP was regenerated.";
2094 }
2095 }
2096 }