summaryrefslogtreecommitdiffstats
path: root/isisd/isis_nb.h
blob: 29a2ded0de97d32c55be4fc061cd92fe33880f12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
/*
 * Copyright (C) 2018        Volta Networks
 *                           Emanuele Di Pascale
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 2 of the License, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; see the file COPYING; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 */

#ifndef ISISD_ISIS_NB_H_
#define ISISD_ISIS_NB_H_

extern const struct frr_yang_module_info frr_isisd_info;

/* Forward declaration(s). */
struct isis_area;
struct isis_circuit;
struct isis_adjacency;

/* Mandatory callbacks. */
int isis_instance_create(enum nb_event event, const struct lyd_node *dnode,
			 union nb_resource *resource);
int isis_instance_destroy(enum nb_event event, const struct lyd_node *dnode);
int isis_instance_is_type_modify(enum nb_event event,
				 const struct lyd_node *dnode,
				 union nb_resource *resource);
int isis_instance_area_address_create(enum nb_event event,
				      const struct lyd_node *dnode,
				      union nb_resource *resource);
int isis_instance_area_address_destroy(enum nb_event event,
				       const struct lyd_node *dnode);
int isis_instance_dynamic_hostname_modify(enum nb_event event,
					  const struct lyd_node *dnode,
					  union nb_resource *resource);
int isis_instance_attached_modify(enum nb_event event,
				  const struct lyd_node *dnode,
				  union nb_resource *resource);
int isis_instance_overload_modify(enum nb_event event,
				  const struct lyd_node *dnode,
				  union nb_resource *resource);
int isis_instance_metric_style_modify(enum nb_event event,
				      const struct lyd_node *dnode,
				      union nb_resource *resource);
int isis_instance_purge_originator_modify(enum nb_event event,
					  const struct lyd_node *dnode,
					  union nb_resource *resource);
int isis_instance_lsp_mtu_modify(enum nb_event event,
				 const struct lyd_node *dnode,
				 union nb_resource *resource);
int isis_instance_lsp_refresh_interval_level_1_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_lsp_refresh_interval_level_2_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_lsp_maximum_lifetime_level_1_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_lsp_maximum_lifetime_level_2_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_lsp_generation_interval_level_1_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_lsp_generation_interval_level_2_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_spf_ietf_backoff_delay_create(enum nb_event event,
						const struct lyd_node *dnode,
						union nb_resource *resource);
int isis_instance_spf_ietf_backoff_delay_destroy(enum nb_event event,
						 const struct lyd_node *dnode);
int isis_instance_spf_ietf_backoff_delay_init_delay_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_spf_ietf_backoff_delay_short_delay_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_spf_ietf_backoff_delay_long_delay_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_spf_ietf_backoff_delay_hold_down_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_spf_ietf_backoff_delay_time_to_learn_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_spf_minimum_interval_level_1_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_spf_minimum_interval_level_2_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_area_password_create(enum nb_event event,
				       const struct lyd_node *dnode,
				       union nb_resource *resource);
int isis_instance_area_password_destroy(enum nb_event event,
					const struct lyd_node *dnode);
int isis_instance_area_password_password_modify(enum nb_event event,
						const struct lyd_node *dnode,
						union nb_resource *resource);
int isis_instance_area_password_password_type_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_area_password_authenticate_snp_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_domain_password_create(enum nb_event event,
					 const struct lyd_node *dnode,
					 union nb_resource *resource);
int isis_instance_domain_password_destroy(enum nb_event event,
					  const struct lyd_node *dnode);
int isis_instance_domain_password_password_modify(enum nb_event event,
						  const struct lyd_node *dnode,
						  union nb_resource *resource);
int isis_instance_domain_password_password_type_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_domain_password_authenticate_snp_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_default_information_originate_ipv4_create(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_default_information_originate_ipv4_destroy(
	enum nb_event event, const struct lyd_node *dnode);
int isis_instance_default_information_originate_ipv4_always_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_default_information_originate_ipv4_route_map_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_default_information_originate_ipv4_route_map_destroy(
	enum nb_event event, const struct lyd_node *dnode);
int isis_instance_default_information_originate_ipv4_metric_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_default_information_originate_ipv6_create(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_default_information_originate_ipv6_destroy(
	enum nb_event event, const struct lyd_node *dnode);
int isis_instance_default_information_originate_ipv6_always_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_default_information_originate_ipv6_route_map_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_default_information_originate_ipv6_route_map_destroy(
	enum nb_event event, const struct lyd_node *dnode);
int isis_instance_default_information_originate_ipv6_metric_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_redistribute_ipv4_create(enum nb_event event,
					   const struct lyd_node *dnode,
					   union nb_resource *resource);
int isis_instance_redistribute_ipv4_destroy(enum nb_event event,
					    const struct lyd_node *dnode);
int isis_instance_redistribute_ipv4_route_map_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_redistribute_ipv4_route_map_destroy(
	enum nb_event event, const struct lyd_node *dnode);
int isis_instance_redistribute_ipv4_metric_modify(enum nb_event event,
						  const struct lyd_node *dnode,
						  union nb_resource *resource);
int isis_instance_redistribute_ipv6_create(enum nb_event event,
					   const struct lyd_node *dnode,
					   union nb_resource *resource);
int isis_instance_redistribute_ipv6_destroy(enum nb_event event,
					    const struct lyd_node *dnode);
int isis_instance_redistribute_ipv6_route_map_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_redistribute_ipv6_route_map_destroy(
	enum nb_event event, const struct lyd_node *dnode);
int isis_instance_redistribute_ipv6_metric_modify(enum nb_event event,
						  const struct lyd_node *dnode,
						  union nb_resource *resource);
int isis_instance_multi_topology_ipv4_multicast_create(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_multi_topology_ipv4_multicast_destroy(
	enum nb_event event, const struct lyd_node *dnode);
int isis_instance_multi_topology_ipv4_multicast_overload_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_multi_topology_ipv4_management_create(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_multi_topology_ipv4_management_destroy(
	enum nb_event event, const struct lyd_node *dnode);
int isis_instance_multi_topology_ipv4_management_overload_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_multi_topology_ipv6_unicast_create(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_multi_topology_ipv6_unicast_destroy(
	enum nb_event event, const struct lyd_node *dnode);
int isis_instance_multi_topology_ipv6_unicast_overload_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_multi_topology_ipv6_multicast_create(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_multi_topology_ipv6_multicast_destroy(
	enum nb_event event, const struct lyd_node *dnode);
int isis_instance_multi_topology_ipv6_multicast_overload_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_multi_topology_ipv6_management_create(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_multi_topology_ipv6_management_destroy(
	enum nb_event event, const struct lyd_node *dnode);
int isis_instance_multi_topology_ipv6_management_overload_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_multi_topology_ipv6_dstsrc_create(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_multi_topology_ipv6_dstsrc_destroy(
	enum nb_event event, const struct lyd_node *dnode);
int isis_instance_multi_topology_ipv6_dstsrc_overload_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int isis_instance_log_adjacency_changes_modify(enum nb_event event,
					       const struct lyd_node *dnode,
					       union nb_resource *resource);
int isis_instance_mpls_te_create(enum nb_event event,
				 const struct lyd_node *dnode,
				 union nb_resource *resource);
int isis_instance_mpls_te_destroy(enum nb_event event,
				  const struct lyd_node *dnode);
int isis_instance_mpls_te_router_address_modify(enum nb_event event,
						const struct lyd_node *dnode,
						union nb_resource *resource);
int isis_instance_mpls_te_router_address_destroy(enum nb_event event,
						 const struct lyd_node *dnode);
int lib_interface_isis_create(enum nb_event event, const struct lyd_node *dnode,
			      union nb_resource *resource);
int lib_interface_isis_destroy(enum nb_event event,
			       const struct lyd_node *dnode);
int lib_interface_isis_area_tag_modify(enum nb_event event,
				       const struct lyd_node *dnode,
				       union nb_resource *resource);
int lib_interface_isis_ipv4_routing_modify(enum nb_event event,
					   const struct lyd_node *dnode,
					   union nb_resource *resource);
int lib_interface_isis_ipv6_routing_modify(enum nb_event event,
					   const struct lyd_node *dnode,
					   union nb_resource *resource);
int lib_interface_isis_circuit_type_modify(enum nb_event event,
					   const struct lyd_node *dnode,
					   union nb_resource *resource);
int lib_interface_isis_bfd_monitoring_modify(enum nb_event event,
					     const struct lyd_node *dnode,
					     union nb_resource *resource);
int lib_interface_isis_csnp_interval_level_1_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_csnp_interval_level_2_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_psnp_interval_level_1_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_psnp_interval_level_2_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_hello_padding_modify(enum nb_event event,
					    const struct lyd_node *dnode,
					    union nb_resource *resource);
int lib_interface_isis_hello_interval_level_1_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_hello_interval_level_2_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_hello_multiplier_level_1_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_hello_multiplier_level_2_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_metric_level_1_modify(enum nb_event event,
					     const struct lyd_node *dnode,
					     union nb_resource *resource);
int lib_interface_isis_metric_level_2_modify(enum nb_event event,
					     const struct lyd_node *dnode,
					     union nb_resource *resource);
int lib_interface_isis_priority_level_1_modify(enum nb_event event,
					       const struct lyd_node *dnode,
					       union nb_resource *resource);
int lib_interface_isis_priority_level_2_modify(enum nb_event event,
					       const struct lyd_node *dnode,
					       union nb_resource *resource);
int lib_interface_isis_network_type_modify(enum nb_event event,
					   const struct lyd_node *dnode,
					   union nb_resource *resource);
int lib_interface_isis_passive_modify(enum nb_event event,
				      const struct lyd_node *dnode,
				      union nb_resource *resource);
int lib_interface_isis_password_create(enum nb_event event,
				       const struct lyd_node *dnode,
				       union nb_resource *resource);
int lib_interface_isis_password_destroy(enum nb_event event,
					const struct lyd_node *dnode);
int lib_interface_isis_password_password_modify(enum nb_event event,
						const struct lyd_node *dnode,
						union nb_resource *resource);
int lib_interface_isis_password_password_type_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_disable_three_way_handshake_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_multi_topology_ipv4_unicast_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_multi_topology_ipv4_multicast_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_multi_topology_ipv4_management_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_multi_topology_ipv6_unicast_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_multi_topology_ipv6_multicast_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_multi_topology_ipv6_management_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
int lib_interface_isis_multi_topology_ipv6_dstsrc_modify(
	enum nb_event event, const struct lyd_node *dnode,
	union nb_resource *resource);
const void *
lib_interface_isis_adjacencies_adjacency_get_next(const void *parent_list_entry,
						  const void *list_entry);
struct yang_data *
lib_interface_isis_adjacencies_adjacency_neighbor_sys_type_get_elem(
	const char *xpath, const void *list_entry);
struct yang_data *
lib_interface_isis_adjacencies_adjacency_neighbor_sysid_get_elem(
	const char *xpath, const void *list_entry);
struct yang_data *
lib_interface_isis_adjacencies_adjacency_neighbor_extended_circuit_id_get_elem(
	const char *xpath, const void *list_entry);
struct yang_data *
lib_interface_isis_adjacencies_adjacency_neighbor_snpa_get_elem(
	const char *xpath, const void *list_entry);
struct yang_data *lib_interface_isis_adjacencies_adjacency_hold_timer_get_elem(
	const char *xpath, const void *list_entry);
struct yang_data *
lib_interface_isis_adjacencies_adjacency_neighbor_priority_get_elem(
	const char *xpath, const void *list_entry);
struct yang_data *
lib_interface_isis_adjacencies_adjacency_state_get_elem(const char *xpath,
							const void *list_entry);
struct yang_data *lib_interface_isis_event_counters_adjacency_changes_get_elem(
	const char *xpath, const void *list_entry);
struct yang_data *lib_interface_isis_event_counters_adjacency_number_get_elem(
	const char *xpath, const void *list_entry);
struct yang_data *
lib_interface_isis_event_counters_init_fails_get_elem(const char *xpath,
						      const void *list_entry);
struct yang_data *lib_interface_isis_event_counters_adjacency_rejects_get_elem(
	const char *xpath, const void *list_entry);
struct yang_data *lib_interface_isis_event_counters_id_len_mismatch_get_elem(
	const char *xpath, const void *list_entry);
struct yang_data *
lib_interface_isis_event_counters_max_area_addresses_mismatch_get_elem(
	const char *xpath, const void *list_entry);
struct yang_data *
lib_interface_isis_event_counters_authentication_type_fails_get_elem(
	const char *xpath, const void *list_entry);
struct yang_data *
lib_interface_isis_event_counters_authentication_fails_get_elem(
	const char *xpath, const void *list_entry);

/* Optional 'apply_finish' callbacks. */
void ietf_backoff_delay_apply_finish(const struct lyd_node *dnode);
void area_password_apply_finish(const struct lyd_node *dnode);
void domain_password_apply_finish(const struct lyd_node *dnode);
void default_info_origin_apply_finish(const struct lyd_node *dnode, int family);
void default_info_origin_ipv4_apply_finish(const struct lyd_node *dnode);
void default_info_origin_ipv6_apply_finish(const struct lyd_node *dnode);
void redistribute_apply_finish(const struct lyd_node *dnode, int family);
void redistribute_ipv4_apply_finish(const struct lyd_node *dnode);
void redistribute_ipv6_apply_finish(const struct lyd_node *dnode);

/* Optional 'cli_show' callbacks. */
void cli_show_router_isis(struct vty *vty, struct lyd_node *dnode,
			  bool show_defaults);
void cli_show_ip_isis_ipv4(struct vty *vty, struct lyd_node *dnode,
			   bool show_defaults);
void cli_show_ip_isis_ipv6(struct vty *vty, struct lyd_node *dnode,
			   bool show_defaults);
void cli_show_ip_isis_bfd_monitoring(struct vty *vty, struct lyd_node *dnode,
				     bool show_defaults);
void cli_show_isis_area_address(struct vty *vty, struct lyd_node *dnode,
				bool show_defaults);
void cli_show_isis_is_type(struct vty *vty, struct lyd_node *dnode,
			   bool show_defaults);
void cli_show_isis_dynamic_hostname(struct vty *vty, struct lyd_node *dnode,
				    bool show_defaults);
void cli_show_isis_attached(struct vty *vty, struct lyd_node *dnode,
			    bool show_defaults);
void cli_show_isis_overload(struct vty *vty, struct lyd_node *dnode,
			    bool show_defaults);
void cli_show_isis_metric_style(struct vty *vty, struct lyd_node *dnode,
				bool show_defaults);
void cli_show_isis_area_pwd(struct vty *vty, struct lyd_node *dnode,
			    bool show_defaults);
void cli_show_isis_domain_pwd(struct vty *vty, struct lyd_node *dnode,
			      bool show_defaults);
void cli_show_isis_lsp_gen_interval(struct vty *vty, struct lyd_node *dnode,
				    bool show_defaults);
void cli_show_isis_lsp_ref_interval(struct vty *vty, struct lyd_node *dnode,
				    bool show_defaults);
void cli_show_isis_lsp_max_lifetime(struct vty *vty, struct lyd_node *dnode,
				    bool show_defaults);
void cli_show_isis_lsp_mtu(struct vty *vty, struct lyd_node *dnode,
			   bool show_defaults);
void cli_show_isis_spf_min_interval(struct vty *vty, struct lyd_node *dnode,
				    bool show_defaults);
void cli_show_isis_spf_ietf_backoff(struct vty *vty, struct lyd_node *dnode,
				    bool show_defaults);
void cli_show_isis_purge_origin(struct vty *vty, struct lyd_node *dnode,
				bool show_defaults);
void cli_show_isis_mpls_te(struct vty *vty, struct lyd_node *dnode,
			   bool show_defaults);
void cli_show_isis_mpls_te_router_addr(struct vty *vty, struct lyd_node *dnode,
				       bool show_defaults);
void cli_show_isis_def_origin_ipv4(struct vty *vty, struct lyd_node *dnode,
				   bool show_defaults);
void cli_show_isis_def_origin_ipv6(struct vty *vty, struct lyd_node *dnode,
				   bool show_defaults);
void cli_show_isis_redistribute_ipv4(struct vty *vty, struct lyd_node *dnode,
				     bool show_defaults);
void cli_show_isis_redistribute_ipv6(struct vty *vty, struct lyd_node *dnode,
				     bool show_defaults);
void cli_show_isis_mt_ipv4_multicast(struct vty *vty, struct lyd_node *dnode,
				     bool show_defaults);
void cli_show_isis_mt_ipv4_mgmt(struct vty *vty, struct lyd_node *dnode,
				bool show_defaults);
void cli_show_isis_mt_ipv6_unicast(struct vty *vty, struct lyd_node *dnode,
				   bool show_defaults);
void cli_show_isis_mt_ipv6_multicast(struct vty *vty, struct lyd_node *dnode,
				     bool show_defaults);
void cli_show_isis_mt_ipv6_mgmt(struct vty *vty, struct lyd_node *dnode,
				bool show_defaults);
void cli_show_isis_mt_ipv6_dstsrc(struct vty *vty, struct lyd_node *dnode,
				  bool show_defaults);
void cli_show_ip_isis_passive(struct vty *vty, struct lyd_node *dnode,
			      bool show_defaults);
void cli_show_ip_isis_password(struct vty *vty, struct lyd_node *dnode,
			       bool show_defaults);
void cli_show_ip_isis_metric(struct vty *vty, struct lyd_node *dnode,
			     bool show_defaults);
void cli_show_ip_isis_hello_interval(struct vty *vty, struct lyd_node *dnode,
				     bool show_defaults);
void cli_show_ip_isis_hello_multi(struct vty *vty, struct lyd_node *dnode,
				  bool show_defaults);
void cli_show_ip_isis_threeway_shake(struct vty *vty, struct lyd_node *dnode,
				     bool show_defaults);
void cli_show_ip_isis_hello_padding(struct vty *vty, struct lyd_node *dnode,
				    bool show_defaults);
void cli_show_ip_isis_csnp_interval(struct vty *vty, struct lyd_node *dnode,
				    bool show_defaults);
void cli_show_ip_isis_psnp_interval(struct vty *vty, struct lyd_node *dnode,
				    bool show_defaults);
void cli_show_ip_isis_mt_ipv4_unicast(struct vty *vty, struct lyd_node *dnode,
				      bool show_defaults);
void cli_show_ip_isis_mt_ipv4_multicast(struct vty *vty, struct lyd_node *dnode,
					bool show_defaults);
void cli_show_ip_isis_mt_ipv4_mgmt(struct vty *vty, struct lyd_node *dnode,
				   bool show_defaults);
void cli_show_ip_isis_mt_ipv6_unicast(struct vty *vty, struct lyd_node *dnode,
				      bool show_defaults);
void cli_show_ip_isis_mt_ipv6_multicast(struct vty *vty, struct lyd_node *dnode,
					bool show_defaults);
void cli_show_ip_isis_mt_ipv6_mgmt(struct vty *vty, struct lyd_node *dnode,
				   bool show_defaults);
void cli_show_ip_isis_mt_ipv6_dstsrc(struct vty *vty, struct lyd_node *dnode,
				     bool show_defaults);
void cli_show_ip_isis_circ_type(struct vty *vty, struct lyd_node *dnode,
				bool show_defaults);
void cli_show_ip_isis_network_type(struct vty *vty, struct lyd_node *dnode,
				   bool show_defaults);
void cli_show_ip_isis_priority(struct vty *vty, struct lyd_node *dnode,
			       bool show_defaults);
void cli_show_isis_log_adjacency(struct vty *vty, struct lyd_node *dnode,
				 bool show_defaults);

/* Notifications. */
void isis_notif_db_overload(const struct isis_area *area, bool overload);
void isis_notif_lsp_too_large(const struct isis_circuit *circuit,
			      uint32_t pdu_size, const char *lsp_id);
void isis_notif_if_state_change(const struct isis_circuit *circuit, bool down);
void isis_notif_corrupted_lsp(const struct isis_area *area,
			      const char *lsp_id); /* currently unused */
void isis_notif_lsp_exceed_max(const struct isis_area *area,
			       const char *lsp_id);
void isis_notif_max_area_addr_mismatch(const struct isis_circuit *circuit,
				       uint8_t max_area_addrs,
				       const char *raw_pdu);
void isis_notif_authentication_type_failure(const struct isis_circuit *circuit,
					    const char *raw_pdu);
void isis_notif_authentication_failure(const struct isis_circuit *circuit,
				       const char *raw_pdu);
void isis_notif_adj_state_change(const struct isis_adjacency *adj,
				 int new_state, const char *reason);
void isis_notif_reject_adjacency(const struct isis_circuit *circuit,
				 const char *reason, const char *raw_pdu);
void isis_notif_area_mismatch(const struct isis_circuit *circuit,
			      const char *raw_pdu);
void isis_notif_lsp_received(const struct isis_circuit *circuit,
			     const char *lsp_id, uint32_t seqno,
			     uint32_t timestamp, const char *sys_id);
void isis_notif_lsp_gen(const struct isis_area *area, const char *lsp_id,
			uint32_t seqno, uint32_t timestamp);
void isis_notif_id_len_mismatch(const struct isis_circuit *circuit,
				uint8_t rcv_id_len, const char *raw_pdu);
void isis_notif_version_skew(const struct isis_circuit *circuit,
			     uint8_t version, const char *raw_pdu);
void isis_notif_lsp_error(const struct isis_circuit *circuit,
			  const char *lsp_id, const char *raw_pdu,
			  uint32_t offset, uint8_t tlv_type);
void isis_notif_seqno_skipped(const struct isis_circuit *circuit,
			      const char *lsp_id);
void isis_notif_own_lsp_purge(const struct isis_circuit *circuit,
			      const char *lsp_id);

#endif /* ISISD_ISIS_NB_H_ */