12#include "ns3/core-module.h"
13#include "ns3/csma-module.h"
14#include "ns3/internet-module.h"
15#include "ns3/network-module.h"
16#include "ns3/point-to-point-module.h"
37 std::string
rate{
"10Gbps"};
60 ns3::Ipv4Address
v4{ns3::Ipv4Address(
"0.0.0.0")};
61 ns3::Ipv6Address
v6{ns3::Ipv6Address::GetAny()};
62 ns3::Ipv6Address
v6ll{ns3::Ipv6Address::GetLoopback()};
64 std::map<std::string, IfaceInfo>
segIf;
66 std::map<std::string, NodeEntry>
nodes;
78 void AddLan(
const Lan& lan);
83 void AttachNode(std::string name, Ptr<Node> node);
86 NetworkHandle
Build();
void SetIpVersion(IpVersion v)
void SetRouting(Routing r)
void SetDefaultDelay(std::string delay)
void AddLan(const Lan &lan)
void BuildLinks(NetworkHandle &handle)
void BuildLans(NetworkHandle &handle)
void InstallStaticShortestPaths(NetworkHandle &handle)
ClassicalNetworkBuilder()
std::map< std::string, Ptr< Node > > m_nodes
std::vector< Link > m_links
void InstallInternetStacks()
std::vector< Lan > m_lans
void AddLink(const Link &link)
void AssignAddresses(NetworkHandle &handle)
void AttachNode(std::string name, Ptr< Node > node)
void InstallStaticEndpointRoutes(const std::vector< std::string > &orderedPath, NetworkHandle &handle, bool forIpv4, bool forIpv6)
void SetDefaultDataRate(std::string rate)
std::vector< std::string > members
std::map< std::string, Ptr< NetDevice > > devBySegment
std::vector< Ptr< NetDevice > > devices
std::vector< Ipv6Address > v6Addrs
std::map< std::string, IfaceInfo > segIf
std::vector< uint32_t > ifaceIndex
std::vector< Ipv4Address > v4Addrs
std::map< std::string, NodeEntry > nodes