Each VIP is configured with a set of application server.
More...
Each VIP is configured with a set of application server.
Definition at line 107 of file lb.h.
◆ address
ip46_address_t lb_as_t::address |
Destination address used to tunnel traffic towards that application server.
The address is also used as ID and pseudo-random seed for the load-balancing process.
Definition at line 119 of file lb.h.
◆ dpo
The next DPO in the graph to follow.
Definition at line 160 of file lb.h.
◆ fib_node
Registration to FIB event.
Definition at line 111 of file lb.h.
◆ flags
Some per-AS flags.
For now only LB_AS_FLAGS_USED is defined.
Definition at line 132 of file lb.h.
◆ last_used
Rotating timestamp of when LB_AS_FLAGS_USED flag was last set.
AS removal is based on garbage collection and reference counting. When an AS is removed, there is a race between configuration core and worker cores which may still add a reference while it should not be used. This timestamp is used to not remove the AS while a race condition may happen.
Definition at line 145 of file lb.h.
◆ next_hop_child_index
u32 lb_as_t::next_hop_child_index |
The child index on the FIB entry.
Definition at line 155 of file lb.h.
◆ next_hop_fib_entry_index
The FIB entry index for the next-hop.
Definition at line 150 of file lb.h.
◆ vip_index
ASs are indexed by address and VIP Index.
Which means there will be duplicated if the same server address is used for multiple VIPs.
Definition at line 126 of file lb.h.
The documentation for this struct was generated from the following file: