\hypertarget{classMfeaNodeCli}{
\section{MfeaNodeCli Class Reference}
\label{classMfeaNodeCli}\index{MfeaNodeCli@{MfeaNodeCli}}
}


The class for \hyperlink{classMfeaNode}{MfeaNode} CLI access.  




{\ttfamily \#include $<$mfea\_\-node\_\-cli.hh$>$}

Inheritance diagram for MfeaNodeCli:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=7.000000cm]{classMfeaNodeCli}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classMfeaNodeCli_a37cc56c241619b6d22c4ed7c1e3b132b}{MfeaNodeCli} (\hyperlink{classMfeaNode}{MfeaNode} \&mfea\_\-node)
\begin{DoxyCompactList}\small\item\em Constructor for a given MFEA node. \item\end{DoxyCompactList}\item 
\hypertarget{classMfeaNodeCli_ac8f2b2f4d3fe8df306d2b8daef425337}{
virtual \hyperlink{classMfeaNodeCli_ac8f2b2f4d3fe8df306d2b8daef425337}{$\sim$MfeaNodeCli} ()}
\label{classMfeaNodeCli_ac8f2b2f4d3fe8df306d2b8daef425337}

\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
int \hyperlink{classMfeaNodeCli_a556e91e5d24309fe5d8abfc3c27a0eb6}{start} ()
\begin{DoxyCompactList}\small\item\em Start \hyperlink{protocolthe-p}{the} CLI operation. \item\end{DoxyCompactList}\item 
int \hyperlink{classMfeaNodeCli_aa7d5d9ebc84b251f7cd95be661cc810b}{stop} ()
\begin{DoxyCompactList}\small\item\em Stop \hyperlink{protocolthe-p}{the} CLI operation. \item\end{DoxyCompactList}\item 
void \hyperlink{classMfeaNodeCli_ad9f02683370c5290202448a54000482a}{enable} ()
\begin{DoxyCompactList}\small\item\em Enable node operation. \item\end{DoxyCompactList}\item 
void \hyperlink{classMfeaNodeCli_a848165668815ff0e3998cccc4596399d}{disable} ()
\begin{DoxyCompactList}\small\item\em Disable node operation. \item\end{DoxyCompactList}\item 
int \hyperlink{classMfeaNodeCli_a349df857cfa254b6dfac55ccc5ecd761}{add\_\-all\_\-cli\_\-commands} ()
\begin{DoxyCompactList}\small\item\em Install all MFEA-\/related CLI commands to \hyperlink{protocolthe-p}{the} CLI. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMfeaNodeCli_ae29fcb13f2d7374d3b4fd66546434b68}{
\hyperlink{classMfeaNode}{MfeaNode} \& {\bfseries mfea\_\-node} () const }
\label{classMfeaNodeCli_ae29fcb13f2d7374d3b4fd66546434b68}

\item 
\hypertarget{classMfeaNodeCli_a11145b3e9a715db6df5abeac996e7c16}{
int {\bfseries cli\_\-show\_\-mfea\_\-dataflow} (const vector$<$ string $>$ \&argv)}
\label{classMfeaNodeCli_a11145b3e9a715db6df5abeac996e7c16}

\item 
\hypertarget{classMfeaNodeCli_a862e29f347398f1f7d402f32b16c4999}{
int {\bfseries cli\_\-show\_\-mfea\_\-interface} (const vector$<$ string $>$ \&argv)}
\label{classMfeaNodeCli_a862e29f347398f1f7d402f32b16c4999}

\item 
\hypertarget{classMfeaNodeCli_a75e88a3f6827afa0ac47758f78ac001b}{
int {\bfseries cli\_\-show\_\-mfea\_\-interface\_\-address} (const vector$<$ string $>$ \&argv)}
\label{classMfeaNodeCli_a75e88a3f6827afa0ac47758f78ac001b}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMfeaNodeCli_a2bcdc7513836904aee293b7daf65a8ce}{
\hyperlink{classMfeaNode}{MfeaNode} \& {\bfseries \_\-mfea\_\-node}}
\label{classMfeaNodeCli_a2bcdc7513836904aee293b7daf65a8ce}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
The class for \hyperlink{classMfeaNode}{MfeaNode} CLI access. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classMfeaNodeCli_a37cc56c241619b6d22c4ed7c1e3b132b}{
\index{MfeaNodeCli@{MfeaNodeCli}!MfeaNodeCli@{MfeaNodeCli}}
\index{MfeaNodeCli@{MfeaNodeCli}!MfeaNodeCli@{MfeaNodeCli}}
\subsubsection[{MfeaNodeCli}]{\setlength{\rightskip}{0pt plus 5cm}MfeaNodeCli::MfeaNodeCli (
\begin{DoxyParamCaption}
\item[{{\bf MfeaNode} \&}]{mfea\_\-node}
\end{DoxyParamCaption}
)}}
\label{classMfeaNodeCli_a37cc56c241619b6d22c4ed7c1e3b132b}


Constructor for a given MFEA node. 

\hyperlink{classMfeaNodeCli_a37cc56c241619b6d22c4ed7c1e3b132b}{MfeaNodeCli::MfeaNodeCli}: : The MFEA node to use.


\begin{DoxyParams}{Parameters}
{\em mfea\_\-node} & \hyperlink{protocolthe-p}{the} \hyperlink{classMfeaNode}{MfeaNode} this node belongs to.\\
\hline
\end{DoxyParams}
\hyperlink{classMfeaNodeCli}{MfeaNodeCli} constructor. 

\subsection{Member Function Documentation}
\hypertarget{classMfeaNodeCli_a349df857cfa254b6dfac55ccc5ecd761}{
\index{MfeaNodeCli@{MfeaNodeCli}!add\_\-all\_\-cli\_\-commands@{add\_\-all\_\-cli\_\-commands}}
\index{add\_\-all\_\-cli\_\-commands@{add\_\-all\_\-cli\_\-commands}!MfeaNodeCli@{MfeaNodeCli}}
\subsubsection[{add\_\-all\_\-cli\_\-commands}]{\setlength{\rightskip}{0pt plus 5cm}int MfeaNodeCli::add\_\-all\_\-cli\_\-commands (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classMfeaNodeCli_a349df857cfa254b6dfac55ccc5ecd761}


Install all MFEA-\/related CLI commands to \hyperlink{protocolthe-p}{the} CLI. 

\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}
\hypertarget{classMfeaNodeCli_a848165668815ff0e3998cccc4596399d}{
\index{MfeaNodeCli@{MfeaNodeCli}!disable@{disable}}
\index{disable@{disable}!MfeaNodeCli@{MfeaNodeCli}}
\subsubsection[{disable}]{\setlength{\rightskip}{0pt plus 5cm}void MfeaNodeCli::disable (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classMfeaNodeCli_a848165668815ff0e3998cccc4596399d}


Disable node operation. 

Disable \hyperlink{protocolthe-p}{the} node operation.

If an unit is disabled, it cannot be start or pending-\/start. If \hyperlink{protocolthe-p}{the} unit was runnning, it will be stop first. 

Reimplemented from \hyperlink{classProtoState_a42bbb9a9fa9588ec66f62d99644f3c48}{ProtoState}.

\hypertarget{classMfeaNodeCli_ad9f02683370c5290202448a54000482a}{
\index{MfeaNodeCli@{MfeaNodeCli}!enable@{enable}}
\index{enable@{enable}!MfeaNodeCli@{MfeaNodeCli}}
\subsubsection[{enable}]{\setlength{\rightskip}{0pt plus 5cm}void MfeaNodeCli::enable (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classMfeaNodeCli_ad9f02683370c5290202448a54000482a}


Enable node operation. 

Enable \hyperlink{protocolthe-p}{the} node operation.

If an unit is not enabled, it cannot be start, or pending-\/start. 

Reimplemented from \hyperlink{classProtoState_a9e91d1d442f873cf6bf914db996519e7}{ProtoState}.

\hypertarget{classMfeaNodeCli_a556e91e5d24309fe5d8abfc3c27a0eb6}{
\index{MfeaNodeCli@{MfeaNodeCli}!start@{start}}
\index{start@{start}!MfeaNodeCli@{MfeaNodeCli}}
\subsubsection[{start}]{\setlength{\rightskip}{0pt plus 5cm}int MfeaNodeCli::start (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classMfeaNodeCli_a556e91e5d24309fe5d8abfc3c27a0eb6}


Start \hyperlink{protocolthe-p}{the} CLI operation. 

\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Reimplemented from \hyperlink{classProtoState_a5a0cf7fc68b9db681ce8b8fca9635e07}{ProtoState}.

\hypertarget{classMfeaNodeCli_aa7d5d9ebc84b251f7cd95be661cc810b}{
\index{MfeaNodeCli@{MfeaNodeCli}!stop@{stop}}
\index{stop@{stop}!MfeaNodeCli@{MfeaNodeCli}}
\subsubsection[{stop}]{\setlength{\rightskip}{0pt plus 5cm}int MfeaNodeCli::stop (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classMfeaNodeCli_aa7d5d9ebc84b251f7cd95be661cc810b}


Stop \hyperlink{protocolthe-p}{the} CLI operation. 

\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Reimplemented from \hyperlink{classProtoState_a00a8d35d02b0ce61a6b012326e81878c}{ProtoState}.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/fea/mfea\_\-node\_\-cli.hh\item 
/home/greearb/git/xorp.ct.github/xorp/fea/mfea\_\-node\_\-cli.cc\end{DoxyCompactItemize}
