This helper extends the base class and can be instantiated to create and configure an OpenFlow 1.3 network domain composed of one or more OpenFlow switches connected to a single or multiple internal simulated OpenFlow controllers.
More...
|
| OFSwitch13InternalHelper () |
| Default constructor. More...
|
|
| ~OFSwitch13InternalHelper () override |
| Dummy destructor, see DoDispose. More...
|
|
void | CreateOpenFlowChannels () override |
| This virtual method must interconnect all switches to all controllers installed by this helper and starts the individual OpenFlow channel connections. More...
|
|
Ptr< OFSwitch13Controller > | InstallController (Ptr< Node > cNode, Ptr< OFSwitch13Controller > controller=CreateObject< OFSwitch13LearningController >()) |
| This method installs the given controller application into the given controller node. More...
|
|
| OFSwitch13Helper () |
| Default constructor. More...
|
|
| ~OFSwitch13Helper () override |
| Dummy destructor, see DoDispose. More...
|
|
void | EnableDatapathStats (std::string prefix="datapath", bool useNodeNames=false) |
| Enable OpenFlow datapath statistics at OpenFlow switch devices configured by this helper. More...
|
|
void | EnableOpenFlowAscii (std::string prefix="ofchannel") |
| Enable ASCII traces at OpenFlow channel between controller and switches. More...
|
|
void | EnableOpenFlowPcap (std::string prefix="ofchannel", bool promiscuous=true) |
| Enable pacp traces at OpenFlow channel between controller and switches. More...
|
|
OFSwitch13DeviceContainer | InstallSwitch (NodeContainer &swNodes) |
| This method creates and aggregates an OpenFlow device to each switch node in the container. More...
|
|
Ptr< OFSwitch13Device > | InstallSwitch (Ptr< Node > swNode) |
| This method creates an OpenFlow device and aggregates it to the switch node. More...
|
|
Ptr< OFSwitch13Device > | InstallSwitch (Ptr< Node > swNode, NetDeviceContainer &swPorts) |
| This method creates an OpenFlow device and aggregates it to the switch node. More...
|
|
virtual void | SetChannelDataRate (DataRate rate) |
| Set the OpenFlow channel data rate used to create the connections between switches and controllers. More...
|
|
virtual void | SetChannelType (ChannelType type) |
| Set the OpenFlow channel type used to create the connections between switches and controllers. More...
|
|
void | SetDeviceAttribute (std::string n1, const AttributeValue &v1) |
| Set an attribute on each OpenFlow device created by this helper. More...
|
|
| Object () |
| Constructor. More...
|
|
| ~Object () override |
| Destructor. More...
|
|
void | AggregateObject (Ptr< Object > other) |
| Aggregate two Objects together. More...
|
|
void | Dispose () |
| Dispose of this Object. More...
|
|
AggregateIterator | GetAggregateIterator () const |
| Get an iterator to the Objects aggregated to this one. More...
|
|
TypeId | GetInstanceTypeId () const override |
| Get the most derived TypeId for this Object. More...
|
|
template<typename T > |
Ptr< T > | GetObject () const |
| Get a pointer to the requested aggregated Object. More...
|
|
template<> |
Ptr< Object > | GetObject () const |
| Specialization of () for objects of type ns3::Object. More...
|
|
template<typename T > |
Ptr< T > | GetObject (TypeId tid) const |
| Get a pointer to the requested aggregated Object by TypeId. More...
|
|
template<> |
Ptr< Object > | GetObject (TypeId tid) const |
| Specialization of (TypeId tid) for objects of type ns3::Object. More...
|
|
void | Initialize () |
| Invoke DoInitialize on all Objects aggregated to this one. More...
|
|
bool | IsInitialized () const |
| Check if the object has been initialized. More...
|
|
| SimpleRefCount () |
| Default constructor. More...
|
|
| SimpleRefCount (const SimpleRefCount &o[[maybe_unused]]) |
| Copy constructor. More...
|
|
uint32_t | GetReferenceCount () const |
| Get the reference count of the object. More...
|
|
SimpleRefCount & | operator= (const SimpleRefCount &o[[maybe_unused]]) |
| Assignment operator. More...
|
|
void | Ref () const |
| Increment the reference count. More...
|
|
void | Unref () const |
| Decrement the reference count. More...
|
|
virtual | ~ObjectBase () |
| Virtual destructor. More...
|
|
void | GetAttribute (std::string name, AttributeValue &value) const |
| Get the value of an attribute, raising fatal errors if unsuccessful. More...
|
|
bool | GetAttributeFailSafe (std::string name, AttributeValue &value) const |
| Get the value of an attribute without raising errors. More...
|
|
void | SetAttribute (std::string name, const AttributeValue &value) |
| Set a single attribute, raising fatal errors if unsuccessful. More...
|
|
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
| Set a single attribute without raising errors. More...
|
|
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
| Connect a TraceSource to a Callback with a context. More...
|
|
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
| Connect a TraceSource to a Callback without a context. More...
|
|
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
| Disconnect from a TraceSource a Callback previously connected with a context. More...
|
|
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
| Disconnect from a TraceSource a Callback previously connected without a context. More...
|
|
This helper extends the base class and can be instantiated to create and configure an OpenFlow 1.3 network domain composed of one or more OpenFlow switches connected to a single or multiple internal simulated OpenFlow controllers.
Introspection did not find any typical Config paths.
It brings methods for installing the controller and creating the OpenFlow channels.
No Attributes are defined for this type.
-
ChannelDataRate: The data rate to be used for the OpenFlow channel.
-
ChannelType: The configuration used to create the OpenFlow channel
-
Set with class: ns3::EnumValue
-
Underlying type:
SingleCsma|DedicatedCsma|DedicatedP2p
-
Initial value: SingleCsma
-
Flags: construct
No TraceSources are defined for this type.
Size of this type is 528 bytes (on a 64-bit architecture).
Definition at line 42 of file ofswitch13-internal-helper.h.