Commit 3a8006b5 authored by Maciej Lipinski's avatar Maciej Lipinski

testDoc: added functional tests of VLANs

parent f4d4a55d
......@@ -22,7 +22,7 @@ FRAME & size & 64bytes \\
This tests serve the purpose of verifying that basic VLAN-related functions work.
\newpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsubsection{Trival}
\subsubsection{Trival-1}
\paragraph{Description}
......@@ -43,7 +43,7 @@ VLAN & port 0: & VID=\{0, 1\}, & QMODE=trunk\\
\begin{table}[ht!]
\begin{tabular}{ l l l }
FRAME & 802.1Q: & VID=1, PRIO=0 \\
FRAME & 802.1Q: & VID=1, PRIO=1 \\
& & \\
TRAFFIC & send to: & port 0, 1 \\
& receive on: & port 0, 1 \\
......@@ -56,10 +56,60 @@ TRAFFIC & send to: & port 0, 1 \\
\begin{itemize*}
\item All frames sent to port 0 are received only on port 1
\item All frames sent to port 1 are received only on port 0
\item All received frames are tagged with VID 1 and priority 1
\item No frames received on ports other than 0 \& 1
\item Pstats counters indcate proper priority
\end{itemize*}
\newpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsubsection{Trival-2}
\paragraph{Description}
Verifies correct blocknig of Q-tagged frames
\paragraph{Switch Configuration}
\begin{table}[ht!]
\begin{tabular}{ l l l l}
VLAN & port 0: & VID=\{0, 1\}, & QMODE=unqualified\\
& port 1: & VID=0 , & QMODE=unqualified\\
& other ports: & VID=0, , & QMODE=unqualified\\
\end{tabular}
\end{table}
\paragraph{Tester Configuration}
\begin{table}[ht!]
\begin{tabular}{ l l l }
FRAME & 802.1Q: & VID=1, PRIO=0, dstMAC=broadcast \\
& & \\
TRAFFIC & send to: & port 0, 1 \\
& receive on: & port 0, 1 \\
& monitor: & other ports \\
\end{tabular}
\end{table}
\paragraph{Test passed if}
\begin{itemize*}
\item All frames sent to port 0 are dropped
\item All frames sent to port 1 are received only on port 0
\item All received frames are tagged with VID 1 and priority 0
\item No frames received on ports other than 0 \& 1
\end{itemize*}
\newpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsubsection{Trival-3}
\paragraph{Description}
Check whether overriding of priority per VLAN works - don't know yet how, possibly
using HP detection
Need to set EP apprpriately
\newpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsubsection{Tagging}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment