mirror_frr/isisd
Igor Ryzhov 1bfee9368a isisd: fix redistribute CLI
Currently, it is possible to configure IPv6 protocols for IPv4
redistribution and vice versa in CLI. The YANG model doesn't allow this
so the user receives the following error:
```
nfware(config-router)# redistribute ipv4 ospf6 level-1
% Failed to edit configuration.

YANG error(s):
 Invalid enumeration value "ospf6".
 Invalid enumeration value "ospf6".
 Invalid enumeration value "ospf6".
 YANG path: Schema location /frr-isisd:isis/instance/redistribute/ipv4/protocol.
```

Let's make CLI more user-friendly and allow only supported protocols in
redistribution commands.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2021-10-05 17:38:21 +03:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
AUTHORS Add support of Traffic Engineering to IS-IS 2016-09-03 11:05:50 -04:00
fabricd.c isisd: kill isis_memory.h, use MTYPE_STATIC 2021-03-22 18:27:58 +01:00
fabricd.h *: use the current project name (FRRouting) 2020-03-25 17:38:56 -04:00
isis_adjacency.c isisd: per-instance dynamic hostname cache 2021-06-11 18:30:47 +03:00
isis_adjacency.h isisd: rework BFD integration 2021-05-07 12:03:57 +03:00
isis_bfd.c isisd, ospf6d, pimd: set vrf_id when creating bfd sessions 2021-05-31 15:04:13 +03:00
isis_bfd.h isisd: rework BFD integration 2021-05-07 12:03:57 +03:00
isis_bpf.c isisd: Remove #if 0 code 2021-01-28 13:45:44 -05:00
isis_circuit.c *: explicitly print "exit" at the end of every node config 2021-08-23 22:08:20 +03:00
isis_circuit.h isisd: rework BFD integration 2021-05-07 12:03:57 +03:00
isis_cli.c isisd: fix redistribute CLI 2021-10-05 17:38:21 +03:00
isis_common.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
isis_constants.h isisd: Fix Attach-bit processing 2021-01-20 09:24:35 -05:00
isis_csm.c isisd: allow arbitrary order of area/interface configuration 2021-04-29 17:05:21 +03:00
isis_csm.h isisd: Use enum for circuit state 2021-04-22 15:17:20 -04:00
isis_dlpi.c isisd: Remove #if 0 code 2021-01-28 13:45:44 -05:00
isis_dr.c isisd: support for snmp 2021-03-02 10:06:31 -05:00
isis_dr.h isisd: reduce code duplication for levels 2018-12-04 12:49:25 +01:00
isis_dynhn.c isisd: per-instance dynamic hostname cache 2021-06-11 18:30:47 +03:00
isis_dynhn.h isisd: per-instance dynamic hostname cache 2021-06-11 18:30:47 +03:00
isis_errors.c isisd: detect Prefix-SID collisions and handle them appropriately 2020-11-04 17:12:30 -03:00
isis_errors.h isisd: detect Prefix-SID collisions and handle them appropriately 2020-11-04 17:12:30 -03:00
isis_events.c *: unify thread/event cancel macros 2020-10-23 12:16:52 -04:00
isis_events.h isisd: Replace isis_event_adjacency_state_change with a hook 2018-10-05 14:05:28 +02:00
isis_flags.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
isis_flags.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
isis_ldp_sync.c isisd: fix ldp-sync configuration 2021-04-29 17:05:21 +03:00
isis_ldp_sync.h isisd: fix ldp-sync configuration 2021-04-29 17:05:21 +03:00
isis_lfa.c isisd: link protection optional fallback in ti-lfa 2021-05-03 17:27:37 +02:00
isis_lfa.h isisd: kill isis_memory.h, use MTYPE_STATIC 2021-03-22 18:27:58 +01:00
isis_lsp.c isisd: Fix sending of LSP with null seqno 2021-08-26 12:06:29 +02:00
isis_lsp.h isisd: fix processing of the attached bit 2021-07-13 14:49:49 +03:00
isis_main.c *: Drop break after using frr_help_exit() in switch/case 2021-08-25 10:49:05 +03:00
isis_misc.c isisd: per-instance dynamic hostname cache 2021-06-11 18:30:47 +03:00
isis_misc.h isisd: minor cleanup 2020-08-26 20:16:19 -03:00
isis_mt.c isisd: kill isis_memory.h, use MTYPE_STATIC 2021-03-22 18:27:58 +01:00
isis_mt.h *: use the current project name (FRRouting) 2020-03-25 17:38:56 -04:00
isis_nb_config.c isisd: fix interface ldp-sync configuration 2021-06-23 15:52:37 +03:00
isis_nb_notifications.c isisd: per-instance dynamic hostname cache 2021-06-11 18:30:47 +03:00
isis_nb_state.c isisd, yang: move IS-IS interface state data to the appropriate place 2020-05-15 23:47:43 -03:00
isis_nb.c *: explicitly print "exit" at the end of every node config 2021-08-23 22:08:20 +03:00
isis_nb.h *: explicitly print "exit" at the end of every node config 2021-08-23 22:08:20 +03:00
isis_network.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
isis_pdu_counter.c Minor adjustments to address CI warnings 2018-12-12 00:23:23 +00:00
isis_pdu_counter.h isisd: Provide statistics about sent/received PDU count 2018-12-07 19:45:14 +00:00
isis_pdu.c isisd: support for snmp 2021-03-02 10:06:31 -05:00
isis_pdu.h isisd: Add debug output for tx-queues 2018-12-07 19:45:14 +00:00
isis_pfpacket.c *: un-split strings across lines 2020-07-14 10:37:25 +02:00
isis_redist.c isisd: fix redistribute CLI 2021-10-05 17:38:21 +03:00
isis_redist.h isisd: fix redistribution in vrf 2021-05-14 17:12:35 +03:00
isis_route.c *: Convert numeric 32 into IPV4_MAX_BITLEN for prefixlen 2021-07-01 23:50:39 +03:00
isis_route.h *: require semicolon after DEFINE_HOOK & co. 2021-03-17 06:18:17 +01:00
isis_routemap.c isisd: added support for routemap match tag in redistribution 2021-03-05 22:12:00 +00:00
isis_routemap.h *: reindent 2017-07-17 14:04:07 +02:00
isis_snmp.c isisd: Remove weird wrapper function that downgrades time_t to 32 bit 2021-09-09 09:09:31 -04:00
isis_spf_private.h isisd: kill isis_memory.h, use MTYPE_STATIC 2021-03-22 18:27:58 +01:00
isis_spf.c isisd: fix processing of the attached bit 2021-07-13 14:49:49 +03:00
isis_spf.h isisd: implement Remote LFA 2021-01-08 22:22:11 -03:00
isis_sr.c isisd: simplify node Sid handling 2021-05-18 10:54:54 +02:00
isis_sr.h *: require semicolon after DEFINE_<typesafe...> 2021-03-17 06:18:39 +01:00
isis_te.c isisd: replace inet_ntoa 2020-10-22 16:25:41 -04:00
isis_te.h isisd: Update TLVs processing for TE, RI & SR 2019-09-17 17:35:50 +02:00
isis_tlvs.c *: Convert numeric 32 into IPV4_MAX_BITLEN for prefixlen 2021-07-01 23:50:39 +03:00
isis_tlvs.h *: require semicolon after DEFINE_MTYPE & co 2021-03-17 06:18:17 +01:00
isis_tx_queue.c isisd: kill isis_memory.h, use MTYPE_STATIC 2021-03-22 18:27:58 +01:00
isis_tx_queue.h *: use the current project name (FRRouting) 2020-03-25 17:38:56 -04:00
isis_vty_fabricd.c isisd: using argv as a string name is categorically wrong 2021-06-22 13:03:00 -04:00
isis_zebra.c isisd, ospfd: update interface_link_params callback to check for change 2021-06-28 10:32:52 -04:00
isis_zebra.h isisd: fix redistribution in vrf 2021-05-14 17:12:35 +03:00
isisd.c Merge pull request #9496 from idryzhov/vrf-cmd-init-unused-arg 2021-08-27 10:39:45 +02:00
isisd.h isisd: fix redistribute CLI 2021-10-05 17:38:21 +03:00
iso_checksum.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
iso_checksum.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
Makefile build: non-recursive isisd 2017-08-04 11:09:50 +02:00
README More cleanup in isisd. 2005-01-01 21:12:56 +00:00
subdir.am build: fix AM_LDFLAGS usage (and gcov) 2021-07-21 17:10:08 +02:00

Constraints

  o Maximum number of interfaces 255