\hypertarget{classIfConfigVlanSet}{
\section{IfConfigVlanSet Class Reference}
\label{classIfConfigVlanSet}\index{IfConfigVlanSet@{IfConfigVlanSet}}
}
Inheritance diagram for IfConfigVlanSet:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classIfConfigVlanSet}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classIfConfigVlanSet_a736fb69a1a4365b0dd136cfa2e788e2c}{IfConfigVlanSet} (\hyperlink{classFeaDataPlaneManager}{FeaDataPlaneManager} \&fea\_\-data\_\-plane\_\-manager)
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{classIfConfigVlanSet_ac0410dc9b3b88fb27a4683d87f76a5a8}{
virtual \hyperlink{classIfConfigVlanSet_ac0410dc9b3b88fb27a4683d87f76a5a8}{$\sim$IfConfigVlanSet} ()}
\label{classIfConfigVlanSet_ac0410dc9b3b88fb27a4683d87f76a5a8}

\begin{DoxyCompactList}\small\item\em Virtual destructor. \item\end{DoxyCompactList}\item 
\hyperlink{classIfConfig}{IfConfig} \& \hyperlink{classIfConfigVlanSet_a61eeb60fdde27e5d1a22a4ae4e52a3f5}{ifconfig} ()
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} \hyperlink{classIfConfig}{IfConfig} instance. \item\end{DoxyCompactList}\item 
\hyperlink{classFeaDataPlaneManager}{FeaDataPlaneManager} \& \hyperlink{classIfConfigVlanSet_a7a3d86f1ec435611d9786a8658a74d8b}{fea\_\-data\_\-plane\_\-manager} ()
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} \hyperlink{classFeaDataPlaneManager}{FeaDataPlaneManager} instance. \item\end{DoxyCompactList}\item 
virtual bool \hyperlink{classIfConfigVlanSet_af51e1351c5dd34d9ec36c44fa8e4109b}{is\_\-running} () const 
\begin{DoxyCompactList}\small\item\em Test whether this instance is running. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classIfConfigVlanSet_a34a4432bc0d4c0561046a606fb54eb55}{start} (string \&error\_\-msg)=0
\begin{DoxyCompactList}\small\item\em Start operation. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classIfConfigVlanSet_a3700aff1ced6fa7a5e0e910d44e74ab4}{stop} (string \&error\_\-msg)=0
\begin{DoxyCompactList}\small\item\em Stop operation. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classIfConfigVlanSet_ad42d8367da8b68e59a15efc46d3b58b2}{config\_\-add\_\-vlan} (const \hyperlink{classIfTreeInterface}{IfTreeInterface} $\ast$pulled\_\-ifp, const \hyperlink{classIfTreeInterface}{IfTreeInterface} \&config\_\-iface, bool \&created\_\-if, string \&error\_\-msg)=0
\begin{DoxyCompactList}\small\item\em Add a VLAN. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classIfConfigVlanSet_a59800277ee9e6b3e23c59254b2a816a7}{config\_\-delete\_\-vlan} (const \hyperlink{classIfTreeInterface}{IfTreeInterface} \&config\_\-iface, string \&error\_\-msg)=0
\begin{DoxyCompactList}\small\item\em Delete a VLAN. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfConfigVlanSet_a24d9df033cca06d19b033b3bb522cde1}{
bool {\bfseries \_\-is\_\-running}}
\label{classIfConfigVlanSet_a24d9df033cca06d19b033b3bb522cde1}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfConfigVlanSet_ab058b565b7bd38b58e58c66247d18191}{
\hyperlink{classIfConfig}{IfConfig} \& {\bfseries \_\-ifconfig}}
\label{classIfConfigVlanSet_ab058b565b7bd38b58e58c66247d18191}

\item 
\hypertarget{classIfConfigVlanSet_aa5c8fba887997edfdfa29fe3a30967e9}{
\hyperlink{classFeaDataPlaneManager}{FeaDataPlaneManager} \& {\bfseries \_\-fea\_\-data\_\-plane\_\-manager}}
\label{classIfConfigVlanSet_aa5c8fba887997edfdfa29fe3a30967e9}

\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classIfConfigVlanSet_a736fb69a1a4365b0dd136cfa2e788e2c}{
\index{IfConfigVlanSet@{IfConfigVlanSet}!IfConfigVlanSet@{IfConfigVlanSet}}
\index{IfConfigVlanSet@{IfConfigVlanSet}!IfConfigVlanSet@{IfConfigVlanSet}}
\subsubsection[{IfConfigVlanSet}]{\setlength{\rightskip}{0pt plus 5cm}IfConfigVlanSet::IfConfigVlanSet (
\begin{DoxyParamCaption}
\item[{{\bf FeaDataPlaneManager} \&}]{fea\_\-data\_\-plane\_\-manager}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classIfConfigVlanSet_a736fb69a1a4365b0dd136cfa2e788e2c}


Constructor. 


\begin{DoxyParams}{Parameters}
{\em fea\_\-data\_\-plane\_\-manager} & \hyperlink{protocolthe-p}{the} corresponding data plane manager (\hyperlink{classFeaDataPlaneManager}{FeaDataPlaneManager}). \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classIfConfigVlanSet_ad42d8367da8b68e59a15efc46d3b58b2}{
\index{IfConfigVlanSet@{IfConfigVlanSet}!config\_\-add\_\-vlan@{config\_\-add\_\-vlan}}
\index{config\_\-add\_\-vlan@{config\_\-add\_\-vlan}!IfConfigVlanSet@{IfConfigVlanSet}}
\subsubsection[{config\_\-add\_\-vlan}]{\setlength{\rightskip}{0pt plus 5cm}virtual int IfConfigVlanSet::config\_\-add\_\-vlan (
\begin{DoxyParamCaption}
\item[{const {\bf IfTreeInterface} $\ast$}]{pulled\_\-ifp, }
\item[{const {\bf IfTreeInterface} \&}]{config\_\-iface, }
\item[{bool \&}]{created\_\-if, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
\label{classIfConfigVlanSet_ad42d8367da8b68e59a15efc46d3b58b2}


Add a VLAN. 

If an entry for \hyperlink{protocolthe-p}{the} same VLAN already exists, is is overwritten with \hyperlink{protocolthe-p}{the} new information.


\begin{DoxyParams}{Parameters}
{\em pulled\_\-ifp} & pointer to \hyperlink{protocolthe-p}{the} interface information pulled from \hyperlink{protocolthe-p}{the} system. \\
\hline
{\em config\_\-iface} & reference to \hyperlink{protocolthe-p}{the} interface with \hyperlink{protocolthe-p}{the} information to configure. \\
\hline
{\em created\_\-if} & Did we actually create a new interface in \hyperlink{protocolthe-p}{the} OS? \\
\hline
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implemented in \hyperlink{classIfConfigVlanSetLinux_a16a9ca06cb2b57e65903ea93f36cd9ef}{IfConfigVlanSetLinux}.

\hypertarget{classIfConfigVlanSet_a59800277ee9e6b3e23c59254b2a816a7}{
\index{IfConfigVlanSet@{IfConfigVlanSet}!config\_\-delete\_\-vlan@{config\_\-delete\_\-vlan}}
\index{config\_\-delete\_\-vlan@{config\_\-delete\_\-vlan}!IfConfigVlanSet@{IfConfigVlanSet}}
\subsubsection[{config\_\-delete\_\-vlan}]{\setlength{\rightskip}{0pt plus 5cm}virtual int IfConfigVlanSet::config\_\-delete\_\-vlan (
\begin{DoxyParamCaption}
\item[{const {\bf IfTreeInterface} \&}]{config\_\-iface, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
\label{classIfConfigVlanSet_a59800277ee9e6b3e23c59254b2a816a7}


Delete a VLAN. 


\begin{DoxyParams}{Parameters}
{\em config\_\-iface} & reference to \hyperlink{protocolthe-p}{the} interface with \hyperlink{protocolthe-p}{the} information to configure. \\
\hline
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implemented in \hyperlink{classIfConfigVlanSetLinux_a8cae3690853b335ab9e3d718cf2a724e}{IfConfigVlanSetLinux}.

\hypertarget{classIfConfigVlanSet_a7a3d86f1ec435611d9786a8658a74d8b}{
\index{IfConfigVlanSet@{IfConfigVlanSet}!fea\_\-data\_\-plane\_\-manager@{fea\_\-data\_\-plane\_\-manager}}
\index{fea\_\-data\_\-plane\_\-manager@{fea\_\-data\_\-plane\_\-manager}!IfConfigVlanSet@{IfConfigVlanSet}}
\subsubsection[{fea\_\-data\_\-plane\_\-manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf FeaDataPlaneManager}\& IfConfigVlanSet::fea\_\-data\_\-plane\_\-manager (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classIfConfigVlanSet_a7a3d86f1ec435611d9786a8658a74d8b}


Get \hyperlink{protocolthe-p}{the} \hyperlink{classFeaDataPlaneManager}{FeaDataPlaneManager} instance. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} \hyperlink{classFeaDataPlaneManager}{FeaDataPlaneManager} instance. 
\end{DoxyReturn}
\hypertarget{classIfConfigVlanSet_a61eeb60fdde27e5d1a22a4ae4e52a3f5}{
\index{IfConfigVlanSet@{IfConfigVlanSet}!ifconfig@{ifconfig}}
\index{ifconfig@{ifconfig}!IfConfigVlanSet@{IfConfigVlanSet}}
\subsubsection[{ifconfig}]{\setlength{\rightskip}{0pt plus 5cm}{\bf IfConfig}\& IfConfigVlanSet::ifconfig (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classIfConfigVlanSet_a61eeb60fdde27e5d1a22a4ae4e52a3f5}


Get \hyperlink{protocolthe-p}{the} \hyperlink{classIfConfig}{IfConfig} instance. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} \hyperlink{classIfConfig}{IfConfig} instance. 
\end{DoxyReturn}
\hypertarget{classIfConfigVlanSet_af51e1351c5dd34d9ec36c44fa8e4109b}{
\index{IfConfigVlanSet@{IfConfigVlanSet}!is\_\-running@{is\_\-running}}
\index{is\_\-running@{is\_\-running}!IfConfigVlanSet@{IfConfigVlanSet}}
\subsubsection[{is\_\-running}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool IfConfigVlanSet::is\_\-running (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classIfConfigVlanSet_af51e1351c5dd34d9ec36c44fa8e4109b}


Test whether this instance is running. 

\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} instance is running, otherwise false. 
\end{DoxyReturn}
\hypertarget{classIfConfigVlanSet_a34a4432bc0d4c0561046a606fb54eb55}{
\index{IfConfigVlanSet@{IfConfigVlanSet}!start@{start}}
\index{start@{start}!IfConfigVlanSet@{IfConfigVlanSet}}
\subsubsection[{start}]{\setlength{\rightskip}{0pt plus 5cm}virtual int IfConfigVlanSet::start (
\begin{DoxyParamCaption}
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
\label{classIfConfigVlanSet_a34a4432bc0d4c0561046a606fb54eb55}


Start operation. 


\begin{DoxyParams}{Parameters}
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implemented in \hyperlink{classIfConfigVlanSetLinux_a16a28577a0fbd4d5ac3aad2ac6279667}{IfConfigVlanSetLinux}.

\hypertarget{classIfConfigVlanSet_a3700aff1ced6fa7a5e0e910d44e74ab4}{
\index{IfConfigVlanSet@{IfConfigVlanSet}!stop@{stop}}
\index{stop@{stop}!IfConfigVlanSet@{IfConfigVlanSet}}
\subsubsection[{stop}]{\setlength{\rightskip}{0pt plus 5cm}virtual int IfConfigVlanSet::stop (
\begin{DoxyParamCaption}
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
\label{classIfConfigVlanSet_a3700aff1ced6fa7a5e0e910d44e74ab4}


Stop operation. 


\begin{DoxyParams}{Parameters}
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implemented in \hyperlink{classIfConfigVlanSetLinux_aaedea16d2373841e5b9bd45f990765c4}{IfConfigVlanSetLinux}.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/fea/ifconfig\_\-vlan\_\-set.hh\end{DoxyCompactItemize}
