diff options
author | Olivier Dugeon <olivier.dugeon@orange.com> | 2019-07-26 16:07:39 +0200 |
---|---|---|
committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2019-09-17 17:35:50 +0200 |
commit | 1b3f47d04cd48eea3de2d859da8541896519dfa4 (patch) | |
tree | 5b5e8256a2ebf59c1e8d2cf392ef1328d58144ac /isisd/isis_pdu.c | |
parent | Merge pull request #4992 from opensourcerouting/isisd-assorted-changes (diff) | |
download | frr-1b3f47d04cd48eea3de2d859da8541896519dfa4.tar.xz frr-1b3f47d04cd48eea3de2d859da8541896519dfa4.zip |
isisd: Update TLVs processing for TE, RI & SR
In preparation to Segment Routing:
- Update the management of Traffic Engineering subTLVs to the new tlvs parser
- Add Router Capability TLV 242 as per RFC 4971 & 7981
- Add Segment Routing subTLVs as per draft-isis-segment-routing-extension-25
Modified files:
- isis_tlvs.h: add new structure to manage TE subTLVs, TLV 242 & SR subTLVs
- isis_tlvs.c: add new functions (pack, copy, free, unpack & print) to process
TE subTLVs, Router Capability TLV and SR subTLVs
- isis_circuit.[c,h] & isis_lsp.[c,h]: update to new subTLVs & TLV processing
- isis_te.[c,h]: remove all old TE structures and managment functions,
and add hook call to set local and remote IP addresses as wellas update TE
parameters
- isis_zebra.[c,h]: add hook call when new interface is up
- isis_mt.[c,h], isis_pdu.c & isis_northbound.c: adjust to new TE subTLVs
- tests/isisd/test_fuzz_isis_tlv_tests.h.gz: adapte fuuz tests to new parser
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'isisd/isis_pdu.c')
-rw-r--r-- | isisd/isis_pdu.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c index 3d16d5601..ecfce392f 100644 --- a/isisd/isis_pdu.c +++ b/isisd/isis_pdu.c @@ -199,13 +199,6 @@ static int process_p2p_hello(struct iih_info *iih) changed |= tlvs_to_adj_mt_set(iih->tlvs, iih->v4_usable, iih->v6_usable, adj); - /* Update MPLS TE Remote IP address parameter if possible */ - if (IS_MPLS_TE(iih->circuit->area->mta) - && IS_MPLS_TE(iih->circuit->mtc) - && adj->ipv4_address_count) - set_circuitparams_rmt_ipaddr(iih->circuit->mtc, - adj->ipv4_addresses[0]); - /* lets take care of the expiry */ THREAD_TIMER_OFF(adj->t_expire); thread_add_timer(master, isis_adj_expire, adj, (long)adj->hold_time, |