vom: Add getter for interface admin state
Type: feature Change-Id: I3409bedb45f033210202c151a2267b036b8b97d6 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
This commit is contained in:

committed by
Neale Ranns

parent
aaba610077
commit
17da0c0d82
@ -160,6 +160,12 @@ interface::l2_address() const
|
||||
return (m_l2_address.data());
|
||||
}
|
||||
|
||||
const interface::admin_state_t&
|
||||
interface::admin_state() const
|
||||
{
|
||||
return (m_state.data());
|
||||
}
|
||||
|
||||
interface::const_iterator_t
|
||||
interface::cbegin()
|
||||
{
|
||||
|
@ -264,6 +264,11 @@ public:
|
||||
*/
|
||||
const l2_address_t& l2_address() const;
|
||||
|
||||
/**
|
||||
* Return the admin state
|
||||
*/
|
||||
const admin_state_t& admin_state() const;
|
||||
|
||||
/**
|
||||
* Set the admin state of the interface
|
||||
*
|
||||
|
Reference in New Issue
Block a user