summaryrefslogtreecommitdiffstats
path: root/src/vnet/mfib
AgeCommit message (Expand)AuthorFilesLines
2019-07-02fib: Coverity fix to remove dead codeNeale Ranns1-2/+0
2019-06-18fib: fib api updatesNeale Ranns8-142/+414
2019-06-05In ip6_mfib_forward_rpf_node,is_v4 should be 0.mu.duojiao1-1/+1
2019-05-30FIB: correctly report IPv6 FIB Unicast and Multicast memory usage (VPP-1578)"Neale Ranns2-3/+8
2019-04-08fixing typosJim Thompson1-1/+1
2019-03-11mfib: migrate old MULTIARCH macros to VLIB_NODE_FNFilip Tehlar1-29/+9
2019-01-07VOM: mroutesNeale Ranns1-0/+13
2018-12-21MFIB: coverity fixesNeale Ranns2-7/+16
2018-12-20FIB: encode the label stack in the FIB path during table dumpNeale Ranns3-3/+30
2018-12-18MFIB: recurse resolution through an MFIB entryNeale Ranns17-157/+1492
2018-12-16IP6-MFIB: replace the radix tree with bihash (VPP-1526)Neale Ranns4-123/+146
2018-12-06MFIB; CLI improvementsNeale Ranns1-1/+5
2018-12-03move [m]fib and BIER tests to unittest pluginNeale Ranns1-1535/+0
2018-10-25Trivial: Cleanup missing va_ends.Paul Vinciguerra1-2/+2
2018-10-23c11 safe string handling supportDave Barach4-10/+10
2018-10-19vppinfra: add atomic macros for __sync builtinsSirshak Das2-6/+6
2018-10-16FIB: use vlib-log for debuggingNeale Ranns1-20/+12
2018-10-01mroute routers in the stats segmentNeale Ranns2-0/+11
2018-09-19GRE: fix 4o6 and 6o4 adj stackingNeale Ranns1-17/+0
2018-09-10vxlan-gbp: Add support for vxlan gbpMohsin Kazmi1-0/+2
2018-08-22IPIP and SIXRD tunnels create API needs table-IDs not fib-indexesNeale Ranns1-0/+2
2018-07-09IGMP improvementsNeale Ranns1-0/+2
2018-05-04Harmonize vec/pool_get_aligned object sizes and alignment requestsDave Barach2-0/+10
2018-04-17IP mcast: allow unicast address as a next-hopNeale Ranns4-38/+279
2018-03-20FIB Interpose SourceNeale Ranns1-203/+214
2018-03-09MPLS Unifom modeNeale Ranns1-2/+4
2018-01-24Improve the error reporting for a IP multicast RPF miss.Neale Ranns1-2/+12
2018-01-11api: fix handlers that explicitly depend on svm queueFlorin Coras2-5/+5
2018-01-09api: refactor vlibmemoryFlorin Coras2-4/+4
2017-12-13Separate heap for IPv4 mtriesNeale Ranns1-3/+3
2017-12-12Stats for Multicast FIBNeale Ranns2-0/+13
2017-11-29Include allocated table memory in 'sh fib mem' outputNeale Ranns6-16/+113
2017-11-26FIB: store the node type not the function pointer.Neale Ranns1-2/+0
2017-11-09BIERNeale Ranns1-1/+2
2017-10-26fib test - fix undefined behavior warning found by clangGabriel Ganne1-1/+1
2017-10-15Revert "Enforce FIB table creation before use"Florin Coras1-0/+1
2017-10-13Enforce FIB table creation before useNeale Ranns1-1/+0
2017-10-06Initial GENEVE TUNNEL implementation and tests.Marco Varlese1-0/+2
2017-10-04[aarch64] Fixes CLI crashes on dpaa2 platform.Christophe Fontaine3-8/+8
2017-09-13Add a name to the creation of an IP and MPLS tableNeale Ranns3-8/+63
2017-09-11FIB table add/delete APINeale Ranns10-34/+149
2017-08-29Fix for bootstrap crash when VPP compiled with gcc-7Marco Varlese1-1/+1
2017-08-08L2 over MPLSNeale Ranns3-16/+14
2017-06-06Rework vxlan-gpe to support FIB 2.0 and bypass modeHongjun Ni1-0/+2
2017-06-01IP Mcast - recalculate on interface up/dowmNeale Ranns2-56/+87
2017-05-23ARP/ND entries for the same address on different interfaces (VPP-848)Neale Ranns1-4/+4
2017-05-19mfib CLI bugs (VPP-852)Neale Ranns2-8/+14
2017-05-15Add GTP-U plugin. VPP-694Hongjun Ni1-0/+2
2017-05-02Allow local/for-us replications for IP multicast routes on the CLINeale Ranns1-4/+2
2017-04-07MPLS McastNeale Ranns8-165/+417
ger) def remove_vpp_config(self): self._test.vapi.sw_interface_set_l2_bridge( rx_sw_if_index=self.itf.sw_if_index, bd_id=self.bd.bd_id, port_type=self.port_type, enable=0) def query_vpp_config(self): return find_bridge_domain_port(self._test, self.bd.bd_id, self.itf.sw_if_index) def object_id(self): return "BD-Port-%s-%s" % (self.bd, self.itf) class VppBridgeDomainArpEntry(VppObject): def __init__(self, test, bd, mac, ip): self._test = test self.bd = bd self.mac = mac self.ip = ip def add_vpp_config(self): self._test.vapi.bd_ip_mac_add_del(is_add=1, entry={ 'bd_id': self.bd.bd_id, 'ip': self.ip, 'mac': self.mac}) self._test.registry.register(self, self._test.logger) def remove_vpp_config(self): self._test.vapi.bd_ip_mac_add_del(is_add=0, entry={ 'bd_id': self.bd.bd_id, 'ip': self.ip, 'mac': self.mac}) def query_vpp_config(self): return find_bridge_domain_arp_entry(self._test, self.bd.bd_id, self.mac, self.ip) def object_id(self): return "BD-Arp-Entry-%s-%s-%s" % (self.bd, self.mac, self.ip) class VppL2FibEntry(VppObject): def __init__(self, test, bd, mac, itf, static_mac=0, filter_mac=0, bvi_mac=-1): self._test = test self.bd = bd self.mac = MACAddress(mac) self.itf = itf self.static_mac = static_mac self.filter_mac = filter_mac if bvi_mac == -1: self.bvi_mac = isinstance(self.itf, VppLoInterface) else: self.bvi_mac = bvi_mac def add_vpp_config(self): self._test.vapi.l2fib_add_del( self.mac.packed, self.bd.bd_id, self.itf.sw_if_index, is_add=1, static_mac=self.static_mac, filter_mac=self.filter_mac, bvi_mac=self.bvi_mac) self._test.registry.register(self, self._test.logger) def remove_vpp_config(self): self._test.vapi.l2fib_add_del( self.mac.packed, self.bd.bd_id, self.itf.sw_if_index, is_add=0) def query_vpp_config(self): return find_l2_fib_entry(self._test, self.bd.bd_id, self.mac.packed, self.itf.sw_if_index) def object_id(self): return "L2-Fib-Entry-%s-%s-%s" % (self.bd, self.mac, self.itf) class VppL2Vtr(VppObject): def __init__(self, test, itf, op): self._test = test self.itf = itf self.op = op def add_vpp_config(self): self.itf.set_vtr(self.op) self._test.registry.register(self, self._test.logger) def remove_vpp_config(self): self.itf.set_vtr(L2_VTR_OP.L2_DISABLED) def query_vpp_config(self): ds = self._test.vapi.sw_interface_dump() d = self.itf.get_interface_config_from_dump(ds) if d is not None: return (d.vtr_op == self.op) return False def object_id(self): return "L2-vtr-%s-%d" % (str(self.itf), self.op)