Apache Mesos
Namespaces | Functions
routing::link Namespace Reference

Namespaces

 
 

Functions

Result< std::string > eth0 ()
 
Result< std::string > lo ()
 
Try< bool > exists (const std::string &link)
 
Try< bool > remove (const std::string &link)
 
process::Future< Nothingremoved (const std::string &link)
 
Result< int > index (const std::string &link)
 
Result< std::string > name (int index)
 
Result< bool > isUp (const std::string &link)
 
Try< bool > setUp (const std::string &link)
 
Try< bool > setMAC (const std::string &link, const net::MAC &mac)
 
Result< unsigned int > mtu (const std::string &link)
 
Try< bool > setMTU (const std::string &link, unsigned int mtu)
 
Result< hashmap< std::string, uint64_t > > statistics (const std::string &link)
 

Function Documentation

Result<std::string> routing::link::eth0 ( )
Try<bool> routing::link::exists ( const std::string &  link)
inline
Result<int> routing::link::index ( const std::string &  link)
Result<bool> routing::link::isUp ( const std::string &  link)
Result<std::string> routing::link::lo ( )
Result<unsigned int> routing::link::mtu ( const std::string &  link)
Result<std::string> routing::link::name ( int  index)
Try<bool> routing::link::remove ( const std::string &  link)
process::Future<Nothing> routing::link::removed ( const std::string &  link)
Try<bool> routing::link::setMAC ( const std::string &  link,
const net::MAC mac 
)
Try<bool> routing::link::setMTU ( const std::string &  link,
unsigned int  mtu 
)
Try<bool> routing::link::setUp ( const std::string &  link)
Result<hashmap<std::string, uint64_t> > routing::link::statistics ( const std::string &  link)