mpls_route

namespace eos
class mpls_route_iter_t
#include <mpls_route.h>

An iterator over MPLS routes.

Private Functions

mpls_route_iter_t(mpls_route_iter_impl * const)

Friends

friend class mpls_route_iter_impl
class mpls_route_via_iter_t
#include <mpls_route.h>

An iterator over MPLS route via.

Private Functions

mpls_route_via_iter_t(mpls_route_via_iter_impl * const)

Friends

friend class mpls_route_via_iter_impl
class mpls_route_mgr
#include <mpls_route.h>

The IP static route manager.

Public Functions

virtual ~mpls_route_mgr()
virtual void resync_init() = 0

Begin resync mode.

virtual void resync_complete() = 0

Complete resync mode, ready for regular updates.

virtual mpls_route_iter_t mpls_route_iter() const = 0

Returns an MPLS route iterator.

virtual mpls_route_via_iter_t mpls_route_via_iter(mpls_route_key_t const &) const = 0

Returns an MPLS via iterator for a given route (key).

virtual bool exists(mpls_route_key_t const &) const = 0

Tests for existence of any routes matching the route key in the switch config.

virtual bool exists(mpls_route_via_t const &) const = 0

Tests if the given via exists.

virtual void mpls_route_set(mpls_route_t const &) = 0

MPLS route management functions.

Inserts or updates MPLS static route in the switch configuration

virtual void mpls_route_del(mpls_route_key_t const &) = 0

Removes the MPLS route and all vias matching the route key.

virtual void mpls_route_via_set(mpls_route_via_t const &) = 0

Adds a via to an mpls_route_t.

virtual void mpls_route_via_del(mpls_route_via_t const &) = 0

Removes a via from an mpls_route_t. When all vias are removed, the route still exists with no nexthop information.

Protected Functions

mpls_route_mgr()

Private Members

mpls_route_mgr

Type definitions in mpls_route

Warning

doxygenfile: Found multiple matches for file “eos/types/mpls_route.h

Table Of Contents

Previous topic

mpls

Next topic

neighbor_table