Each VIP is configured with a set of application server.
More...
Each VIP is configured with a set of application server.
Definition at line 108 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 120 of file lb.h.
◆ dpo
The next DPO in the graph to follow.
Definition at line 161 of file lb.h.
◆ fib_node
Registration to FIB event.
Definition at line 112 of file lb.h.
◆ flags
Some per-AS flags.
For now only LB_AS_FLAGS_USED is defined.
Definition at line 133 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 146 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 156 of file lb.h.
◆ next_hop_fib_entry_index
The FIB entry index for the next-hop.
Definition at line 151 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 127 of file lb.h.
The documentation for this struct was generated from the following file: