OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RouteParameters Struct Reference

A structure to hold path parameters during the transfer (routes leaking) of data between VRF instances and tables. The structure is designed to use references where it is possible. More...

#include <vxlan_routing_manager.h>

Collaboration diagram for RouteParameters:

Public Member Functions

 RouteParameters (const IpAddress &nh_addr, const MacAddress &mac, const VnListType &vns, const SecurityGroupList &sgs, const CommunityList &comms, const TagList &tags, const PathPreference &ppref, const EcmpLoadBalance &ecmp, uint64_t seq_n)
 Constructs RouteParameters object from components. More...
 
 RouteParameters (const RouteParameters &rp)
 Copy constructor. More...
 

Public Attributes

const std::vector< IpAddressnh_addresses_
 A list of nexthops IP addreses of a composite tunnel. More...
 
const IpAddressnh_addr_
 A nexthop IP address of the tunnel. Contains first IP address of nh_addresses_ in case of a composite tunnel. More...
 
const MacAddressnh_mac_
 A nexthop MAC address (usually it is a MAC of the router). More...
 
const VnListTypevn_list_
 A list of path destination virtual networks used in policy lookups. More...
 
const SecurityGroupListsg_list_
 A list of security groups. More...
 
const CommunityListcommunities_
 A list of communities. More...
 
const TagListtag_list_
 A list of tags. More...
 
const PathPreferencepath_preference_
 A reference to the PathPreference of the path. More...
 
const EcmpLoadBalanceecmp_load_balance_
 A reference to EcmpLoadBalance of the path. More...
 
uint64_t sequence_number_
 An ID of sequence. More...
 

Private Member Functions

 RouteParameters ()
 Disallow default constructor. More...
 

Detailed Description

A structure to hold path parameters during the transfer (routes leaking) of data between VRF instances and tables. The structure is designed to use references where it is possible.

Definition at line 23 of file vxlan_routing_manager.h.

Constructor & Destructor Documentation

RouteParameters::RouteParameters ( const IpAddress nh_addr,
const MacAddress mac,
const VnListType vns,
const SecurityGroupList sgs,
const CommunityList comms,
const TagList tags,
const PathPreference ppref,
const EcmpLoadBalance ecmp,
uint64_t  seq_n 
)
inline

Constructs RouteParameters object from components.

Definition at line 26 of file vxlan_routing_manager.h.

RouteParameters::RouteParameters ( const RouteParameters rp)
inline

Copy constructor.

Definition at line 46 of file vxlan_routing_manager.h.

RouteParameters::RouteParameters ( )
private

Disallow default constructor.

Member Data Documentation

const CommunityList& RouteParameters::communities_

A list of communities.

Definition at line 95 of file vxlan_routing_manager.h.

const EcmpLoadBalance& RouteParameters::ecmp_load_balance_

A reference to EcmpLoadBalance of the path.

Definition at line 104 of file vxlan_routing_manager.h.

const IpAddress& RouteParameters::nh_addr_

A nexthop IP address of the tunnel. Contains first IP address of nh_addresses_ in case of a composite tunnel.

Definition at line 82 of file vxlan_routing_manager.h.

const std::vector<IpAddress> RouteParameters::nh_addresses_

A list of nexthops IP addreses of a composite tunnel.

Definition at line 78 of file vxlan_routing_manager.h.

const MacAddress& RouteParameters::nh_mac_

A nexthop MAC address (usually it is a MAC of the router).

Definition at line 85 of file vxlan_routing_manager.h.

const PathPreference& RouteParameters::path_preference_

A reference to the PathPreference of the path.

Definition at line 101 of file vxlan_routing_manager.h.

uint64_t RouteParameters::sequence_number_

An ID of sequence.

Definition at line 107 of file vxlan_routing_manager.h.

const SecurityGroupList& RouteParameters::sg_list_

A list of security groups.

Definition at line 92 of file vxlan_routing_manager.h.

const TagList& RouteParameters::tag_list_

A list of tags.

Definition at line 98 of file vxlan_routing_manager.h.

const VnListType& RouteParameters::vn_list_

A list of path destination virtual networks used in policy lookups.

Definition at line 89 of file vxlan_routing_manager.h.


The documentation for this struct was generated from the following file: