ZeroSDN Controller  1.0
A modular distributed Software-Defined Network Controller
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros
Switch Class Reference

A class, that contains data for a Switch. More...

#include <Switch.h>

Public Member Functions

 Switch ()
 
 Switch (uint64_t switchID, const of_version_t &of_version)
 
uint64_t getSwitchID ()
 

Public Attributes

bool active = false
 
of_version_t of_version
 
bool switch_info_available = false
 
uint32_t n_buffers
 
uint8_t n_tables
 
uint8_t auxiliary_id
 
uint32_t capabilities
 
uint32_t reserved
 
bool got_ports = false
 
std::vector< Portports
 

Detailed Description

A class, that contains data for a Switch.

This Class only Purpose is to contain the information for a Switch.

Author
Sebastian Vogel

Constructor & Destructor Documentation

Switch::Switch ( )
inline
Switch::Switch ( uint64_t  switchID,
const of_version_t &  of_version 
)

Member Function Documentation

uint64_t Switch::getSwitchID ( )

getter-Method to access the private Switch-ID, which should not change

Member Data Documentation

bool Switch::active = false
uint8_t Switch::auxiliary_id
uint32_t Switch::capabilities
bool Switch::got_ports = false
uint32_t Switch::n_buffers
uint8_t Switch::n_tables
of_version_t Switch::of_version
std::vector<Port> Switch::ports
uint32_t Switch::reserved
bool Switch::switch_info_available = false

The documentation for this class was generated from the following files: