MCPcopy Create free account
hub / github.com/SNAS/openbmp / obj_ls_link

Class obj_ls_link

Server/src/MsgBusInterface.hpp:329–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327 * BGP-LS Link table schema
328 */
329 struct obj_ls_link {
330 u_char hash_id[16]; ///< hash id for the entry
331 uint64_t id; ///< Routing universe identifier
332 uint32_t mt_id; ///< Multi-Topology ID
333
334 uint32_t bgp_ls_id; ///< BGP-LS Identifier
335 uint8_t igp_router_id[8]; ///< IGP router ID (local)
336 uint8_t remote_igp_router_id[8]; ///< IGP router ID (remote)
337 uint8_t ospf_area_Id[4]; ///< OSPF area ID
338 uint8_t router_id[16]; ///< IPv4 or IPv6 router ID (local)
339 uint8_t remote_router_id[16]; ///< IPv4 or IPv6 router ID (remote)
340
341 uint32_t local_node_asn; ///< Local node asn
342 uint32_t remote_node_asn; ///< Remote node asn
343 uint32_t local_bgp_router_id; ///< Local BGP router id (draft-ietf-idr-bgpls-segment-routing-epe)
344 uint32_t remote_bgp_router_id; ///< Remote BGP router id (draft-ietf-idr-bgpls-segment-routing-epe)
345
346 uint8_t isis_area_id[9]; ///< IS-IS area ID
347
348 char protocol[32]; ///< String representation of the protocol name
349 uint8_t intf_addr[16]; ///< Interface binary address
350 uint8_t nei_addr[16]; ///< Neighbor binary address
351 uint32_t local_link_id; ///< Local Link ID (IS-IS)
352 uint32_t remote_link_id; ///< Remote Link ID (IS-IS)
353 bool isIPv4; ///< True if interface/neighbor is IPv4, false otherwise
354 u_char local_node_hash_id[16]; ///< Local node hash ID
355 u_char remote_node_hash_id[16]; ///< Remove node hash ID
356 uint32_t admin_group; ///< Admin group
357 uint32_t max_link_bw; ///< Maximum link bandwidth
358 uint32_t max_resv_bw; ///< Maximum reserved bandwidth
359 char unreserved_bw[100]; ///< string for unreserved bandwidth, a set of 8 uint32_t values
360
361 uint32_t te_def_metric; ///< Default TE metric
362 char protection_type[60]; ///< String representation for the protection types
363 char mpls_proto_mask[32]; ///< Either LDP or RSVP-TE
364 uint32_t igp_metric; ///< IGP metric
365 char srlg[128]; ///< String representation of the shared risk link group values
366 char name[255]; ///< Name of router
367 char peer_node_sid[128]; ///< Peer node side (draft-ietf-idr-bgpls-segment-routing-epe)
368 char peer_adj_sid[128]; ///< Peer Adjency Segment Identifier
369 };
370
371 /**
372 * OBJECT: ls_prefix

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected