21 #ifndef POINT_TO_POINT_DUMBBELL_HELPER_H 22 #define POINT_TO_POINT_DUMBBELL_HELPER_H 167 void BoundingBox (
double ulx,
double uly,
double lrx,
double lry);
NetDeviceContainer m_leftRouterDevices
Left router NetDevices.
Ipv4Address GetRightIpv4Address(uint32_t i) const
Keep track of a set of IPv6 interfaces.
holds a vector of std::pair of Ptr<Ipv4> and interface index.
Ipv4InterfaceContainer m_leftLeafInterfaces
Left Leaf interfaces (IPv4)
Ipv6Address GetRightIpv6Address(uint32_t i) const
void BoundingBox(double ulx, double uly, double lrx, double lry)
Sets up the node canvas locations for every node in the dumbbell.
NodeContainer m_routers
Routers.
aggregate IP/TCP/UDP functionality to existing Nodes.
Build a set of PointToPointNetDevice objects.
NetDeviceContainer m_rightRouterDevices
Right router NetDevices.
Ipv4InterfaceContainer m_rightLeafInterfaces
Right Leaf interfaces (IPv4)
Ipv6InterfaceContainer m_leftLeafInterfaces6
Left Leaf interfaces (IPv6)
NetDeviceContainer m_leftLeafDevices
Left Leaf NetDevices.
uint32_t RightCount() const
Ipv4InterfaceContainer m_routerInterfaces
Router interfaces (IPv4)
~PointToPointDumbbellHelper()
Ipv6InterfaceContainer m_rightLeafInterfaces6
Right Leaf interfaces (IPv6)
Ipv6InterfaceContainer m_rightRouterInterfaces6
Right router interfaces (IPv6)
holds a vector of ns3::NetDevice pointers
NodeContainer m_leftLeaf
Left Leaf nodes.
Ptr< Node > GetRight() const
Ipv4InterfaceContainer m_leftRouterInterfaces
Left router interfaces (IPv4)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
keep track of a set of node pointers.
Ptr< Node > GetLeft() const
void AssignIpv4Addresses(Ipv4AddressHelper leftIp, Ipv4AddressHelper rightIp, Ipv4AddressHelper routerIp)
Ipv4Address GetLeftIpv4Address(uint32_t i) const
Ipv6Address GetLeftIpv6Address(uint32_t i) const
uint32_t LeftCount() const
Describes an IPv6 address.
Ipv4 addresses are stored in host order in this class.
NetDeviceContainer m_routerDevices
Routers NetDevices.
Ipv6InterfaceContainer m_leftRouterInterfaces6
Left router interfaces (IPv6)
void InstallStack(InternetStackHelper stack)
Ipv4InterfaceContainer m_rightRouterInterfaces
Right router interfaces (IPv4)
Describes an IPv6 prefix.
A helper to make it easier to create a dumbbell topology with p2p links.
A helper class to make life easier while doing simple IPv4 address assignment in scripts.
void AssignIpv6Addresses(Ipv6Address network, Ipv6Prefix prefix)
NodeContainer m_rightLeaf
Right Leaf nodes.
PointToPointDumbbellHelper(uint32_t nLeftLeaf, PointToPointHelper leftHelper, uint32_t nRightLeaf, PointToPointHelper rightHelper, PointToPointHelper bottleneckHelper)
Create a PointToPointDumbbellHelper in order to easily create dumbbell topologies using p2p links...
NetDeviceContainer m_rightLeafDevices
Right Leaf NetDevices.
Ipv6InterfaceContainer m_routerInterfaces6
Router interfaces (IPv6)