SetVifEnabled Class Reference

Class for setting the enabled state of a vif. More...

#include <ifconfig_transaction.hh>

Inheritance diagram for SetVifEnabled:
VifModifier InterfaceModifier IfConfigTransactionOperation TransactionOperation

List of all members.

Public Member Functions

 SetVifEnabled (IfConfig &ifconfig, const string &ifname, const string &vifname, bool enabled)
bool dispatch ()
 Dispatch operation.
string str () const

Private Attributes

bool _enabled

Detailed Description

Class for setting the enabled state of a vif.

Member Function Documentation

bool SetVifEnabled::dispatch ( ) [inline, virtual]

Dispatch operation.

true on success, false on error.

Implements TransactionOperation.

string SetVifEnabled::str ( ) const [inline, virtual]
string representation of operation.

Implements TransactionOperation.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations