class IfTreeInterface
|
Fea class for holding physical interface state. More... |
|
|
Public Types
- typedef map<const string, IfTreeVif> VifMap
Public Methods
Protected Methods
- inline IfTreeInterface::VifMap::iterator
get_vif (const string& vifname)
- inline
IfTreeInterface::VifMap::const_iterator
get_vif (const string& vifname) const
Protected Members
Fea class for holding physical interface state.
typedef map<const string, IfTreeVif> VifMap | VifMap |
IfTreeInterface (const string& ifname)
| IfTreeInterface |
inline const string& name ()
| name |
[const]
inline const string& ifname ()
| ifname |
[const]
inline bool enabled ()
| enabled |
[const]
inline void set_enabled (bool en)
| set_enabled |
inline uint32_t mtu ()
| mtu |
[const]
inline void set_mtu (uint32_t mtu)
| set_mtu |
inline const Mac& mac ()
| mac |
[const]
inline void set_mac (const Mac& mac)
| set_mac |
inline const VifMap& vifs ()
| vifs |
[const]
inline VifMap& vifs ()
| vifs |
bool add_vif (const string& vifname)
| add_vif |
bool remove_vif (const string& vifname)
| remove_vif |
inline VifMap::iterator get_vif (const string& vifname)
| get_vif |
inline VifMap::const_iterator get_vif (const string& vifname)
| get_vif |
[const]
Copy state of internal variables from another IfTreeInterface.
Test if the interface-specific internal state is same.
Parameters:
o | the IfTreeInterface to compare against.
|
Returns: true if the interface-specific internal state is same.
void finalize_state ()
| finalize_state |
Reimplemented from IfTreeItem.
[const]
Reimplemented from IfTreeItem.
const string _ifname
| _ifname |
[protected]
[protected]
[protected]
[protected]
[protected]
inline IfTreeInterface::VifMap::iterator
get_vif (const string& vifname)
| get_vif |
[protected]
inline
IfTreeInterface::VifMap::const_iterator
get_vif (const string& vifname)
| get_vif |
[protected const]
Generated by: pavlin on possum.icir.org on Thu Aug 28 12:52:10 2003, using kdoc 2.0a54+XORP. |