\hypertarget{classIfMgrVifSetPifIndex}{
\section{IfMgrVifSetPifIndex Class Reference}
\label{classIfMgrVifSetPifIndex}\index{IfMgrVifSetPifIndex@{IfMgrVifSetPifIndex}}
}


\hyperlink{classCommand}{Command} to associate a physical interface id with a virtual interface.  




{\ttfamily \#include $<$ifmgr\_\-cmds.hh$>$}

Inheritance diagram for IfMgrVifSetPifIndex:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.000000cm]{classIfMgrVifSetPifIndex}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrVifSetPifIndex_abee4c32539ecff85f29ce3287eb00b38}{
{\bfseries IfMgrVifSetPifIndex} (const string \&ifname, const string \&vifname, uint32\_\-t pif\_\-index)}
\label{classIfMgrVifSetPifIndex_abee4c32539ecff85f29ce3287eb00b38}

\item 
\hypertarget{classIfMgrVifSetPifIndex_a5e90d96e52870bc6b2ffac1cd07663da}{
uint32\_\-t {\bfseries pif\_\-index} () const }
\label{classIfMgrVifSetPifIndex_a5e90d96e52870bc6b2ffac1cd07663da}

\item 
bool \hyperlink{classIfMgrVifSetPifIndex_aa0334fe0b9dfd3c7d100d65fd48cbf4d}{execute} (\hyperlink{classIfMgrIfTree}{IfMgrIfTree} \&tree) const 
\begin{DoxyCompactList}\small\item\em Execute \hyperlink{classCommand}{Command} to interface tree. \item\end{DoxyCompactList}\item 
bool \hyperlink{classIfMgrVifSetPifIndex_a7359c224f0422c9cec77e6776ff7856b}{forward} (\hyperlink{classXrlSender}{XrlSender} \&sender, const string \&xrl\_\-target, const IfMgrXrlSendCB \&xscb) const 
\begin{DoxyCompactList}\small\item\em Forward \hyperlink{classCommand}{Command} as an \hyperlink{classXrl}{Xrl} call to a remote target. \item\end{DoxyCompactList}\item 
\hypertarget{classIfMgrVifSetPifIndex_af13386322cb6be8438705085e81a3901}{
string \hyperlink{classIfMgrVifSetPifIndex_af13386322cb6be8438705085e81a3901}{str} () const }
\label{classIfMgrVifSetPifIndex_af13386322cb6be8438705085e81a3901}

\begin{DoxyCompactList}\small\item\em Render command as string. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrVifSetPifIndex_aed93f679cd231641c44569442f4fa7b2}{
uint32\_\-t {\bfseries \_\-pif\_\-index}}
\label{classIfMgrVifSetPifIndex_aed93f679cd231641c44569442f4fa7b2}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classCommand}{Command} to associate a physical interface id with a virtual interface. 

\subsection{Member Function Documentation}
\hypertarget{classIfMgrVifSetPifIndex_aa0334fe0b9dfd3c7d100d65fd48cbf4d}{
\index{IfMgrVifSetPifIndex@{IfMgrVifSetPifIndex}!execute@{execute}}
\index{execute@{execute}!IfMgrVifSetPifIndex@{IfMgrVifSetPifIndex}}
\subsubsection[{execute}]{\setlength{\rightskip}{0pt plus 5cm}bool IfMgrVifSetPifIndex::execute (
\begin{DoxyParamCaption}
\item[{{\bf IfMgrIfTree} \&}]{tree}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classIfMgrVifSetPifIndex_aa0334fe0b9dfd3c7d100d65fd48cbf4d}


Execute \hyperlink{classCommand}{Command} to interface tree. 

\begin{DoxyReturn}{Returns}
true on success, false on failure. 
\end{DoxyReturn}


Implements \hyperlink{classIfMgrCommandBase_a46a666d7c10bdc6f057c883464024fb3}{IfMgrCommandBase}.

\hypertarget{classIfMgrVifSetPifIndex_a7359c224f0422c9cec77e6776ff7856b}{
\index{IfMgrVifSetPifIndex@{IfMgrVifSetPifIndex}!forward@{forward}}
\index{forward@{forward}!IfMgrVifSetPifIndex@{IfMgrVifSetPifIndex}}
\subsubsection[{forward}]{\setlength{\rightskip}{0pt plus 5cm}bool IfMgrVifSetPifIndex::forward (
\begin{DoxyParamCaption}
\item[{{\bf XrlSender} \&}]{sender, }
\item[{const string \&}]{xrl\_\-target, }
\item[{const IfMgrXrlSendCB \&}]{xscb}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classIfMgrVifSetPifIndex_a7359c224f0422c9cec77e6776ff7856b}


Forward \hyperlink{classCommand}{Command} as an \hyperlink{classXrl}{Xrl} call to a remote target. 


\begin{DoxyParams}{Parameters}
{\em sender} & xrl router to use as \hyperlink{protocolthe-p}{the} command sender. \\
\hline
{\em xrl\_\-target} & \hyperlink{protocolthe-p}{the} target to direct \hyperlink{protocolthe-p}{the} command to. \\
\hline
{\em xscb} & callback to invoke with \hyperlink{classXrl}{Xrl} result.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true on success, false on failure. 
\end{DoxyReturn}


Implements \hyperlink{classIfMgrCommandBase_a3a4578efe6bdc5ec5b92c60eee8e55c3}{IfMgrCommandBase}.



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