Commit b7a62c59 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

wrs release tests: fix some bugs

parent 064b3afb
...@@ -78,8 +78,8 @@ STREAMS & bi-directional & port 0 $<->$ port 1 \\ ...@@ -78,8 +78,8 @@ STREAMS & bi-directional & port 0 $<->$ port 1 \\
\paragraph{Test passed if} \paragraph{Test passed if}
\begin{itemize*} \begin{itemize*}
\item All frames sent to port 0 are received only on port 1 \item All frames sent to port 0 are received on port 1
\item All frames sent to port 1 are received only on port 0 \item All frames sent to port 1 are received on port 0
\item A limited number of frames from ports 0 and 1 received on ports 16 and 17 (unrecognized \item A limited number of frames from ports 0 and 1 received on ports 16 and 17 (unrecognized
broadcast before learnt by RTUd) broadcast before learnt by RTUd)
\end{itemize*} \end{itemize*}
...@@ -111,10 +111,10 @@ FRAME & 802.1D: & no VLAN tag, dstMAC=unicast \\ ...@@ -111,10 +111,10 @@ FRAME & 802.1D: & no VLAN tag, dstMAC=unicast \\
& & \\ & & \\
TRAFFIC & send to: & port 0, 1,16,17 \\ TRAFFIC & send to: & port 0, 1,16,17 \\
& receive on: & port 0, 1,16,17 \\ & receive on: & port 0, 1,16,17 \\
STREAMS & uni-directional & port 0 $<->$ port 1, 16, 17 \\ STREAMS & uni-directional & port 0 $->$ port 1, 16, 17 \\
& uni-directional & port 1 $<->$ port 0, 16, 17 \\ & uni-directional & port 1 $->$ port 0, 16, 17 \\
& uni-directional & port 16 $<->$ port 0, 1, 17 \\ & uni-directional & port 16 $->$ port 0, 1, 17 \\
& uni-directional & port 17 $<->$ port 0, 1, 16 \\ & uni-directional & port 17 $->$ port 0, 1, 16 \\
\end{tabular} \end{tabular}
\end{table} \end{table}
...@@ -122,10 +122,10 @@ STREAMS & uni-directional & port 0 $<->$ port 1, 16, 17 \\ ...@@ -122,10 +122,10 @@ STREAMS & uni-directional & port 0 $<->$ port 1, 16, 17 \\
\paragraph{Test passed if} \paragraph{Test passed if}
\begin{itemize*} \begin{itemize*}
\item All frames sent to port 0 are received only on port 17 \item All frames sent to port 0 are received on ports 1, 16, 17
\item All frames sent to port 17 are received only on port 0 \item All frames sent to port 17 are received on ports 0, 1, 16
\item All frames sent to port 1 are received only on port 16 \item All frames sent to port 1 are received on ports 0, 16, 17
\item All frames sent to port 16 are received only on port 1 \item All frames sent to port 16 are received on ports 0, 1, 17
\end{itemize*} \end{itemize*}
\newpage \newpage
...@@ -156,7 +156,7 @@ VLAN & port 0: & VID=\{0, 1\}, & QMODE=trunk\\ ...@@ -156,7 +156,7 @@ VLAN & port 0: & VID=\{0, 1\}, & QMODE=trunk\\
\begin{table}[ht!] \begin{table}[ht!]
\begin{tabular}{ l l l } \begin{tabular}{ l l l }
FRAME & 802.1Q: & VID=1, PRIO=1 \\ FRAME & 802.1Q: & VID=1, PRIO=1, dstMAC=unicast \\
& & \\ & & \\
TRAFFIC & send to: & port 0, 1 \\ TRAFFIC & send to: & port 0, 1 \\
& receive on: & port 0, 1 \\ & receive on: & port 0, 1 \\
...@@ -209,7 +209,7 @@ TRAFFIC & send to: & port 0, 1 \\ ...@@ -209,7 +209,7 @@ TRAFFIC & send to: & port 0, 1 \\
\item All frames sent to port 0 are dropped \item All frames sent to port 0 are dropped
\item All frames sent to port 1 are received only on port 0 \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 All received frames are tagged with VID 1 and priority 0
\item No frames received on ports other than 0 \& 1 \item No frames received on ports other than 0
\end{itemize*} \end{itemize*}
\newpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
...@@ -250,7 +250,7 @@ VLAN & port 0: & VID=\{0, 1\}, & QMODE=access, FIX\_PRIO=1, PRIO\_VAL=3, ...@@ -250,7 +250,7 @@ VLAN & port 0: & VID=\{0, 1\}, & QMODE=access, FIX\_PRIO=1, PRIO\_VAL=3,
\begin{table}[ht!] \begin{table}[ht!]
\begin{tabular}{ l l l } \begin{tabular}{ l l l }
FRAME & 802.1D: & no VLAN tag \\ FRAME & 802.1D: & no VLAN tag, dstMAC=unicast \\
& & \\ & & \\
TRAFFIC & send to: & port 0, 1 \\ TRAFFIC & send to: & port 0, 1 \\
& receive on: & port 0, 1 \\ & receive on: & port 0, 1 \\
...@@ -342,7 +342,7 @@ VLAN & port 0: & VID=\{0, 1\}, & QMODE=access, FIX\_PRIO=0, PVID=1, VID-un ...@@ -342,7 +342,7 @@ VLAN & port 0: & VID=\{0, 1\}, & QMODE=access, FIX\_PRIO=0, PVID=1, VID-un
\begin{table}[ht!] \begin{table}[ht!]
\begin{tabular}{ l l l } \begin{tabular}{ l l l }
FRAME & 802.1D: & no VLAN tag \\ FRAME & 802.1D: & no VLAN tag, dstMAC=broadcast \\
& & \\ & & \\
TRAFFIC & send to: & port 0,1,2,3 \\ TRAFFIC & send to: & port 0,1,2,3 \\
& receive on: & port 0,1,2,3 \\ & receive on: & port 0,1,2,3 \\
...@@ -357,4 +357,4 @@ TRAFFIC & send to: & port 0,1,2,3 \\ ...@@ -357,4 +357,4 @@ TRAFFIC & send to: & port 0,1,2,3 \\
\item All frames sent to port 1 are received only on port 16 \item All frames sent to port 1 are received only on port 16
\item All frames sent to port 16 are received only on port 1 \item All frames sent to port 16 are received only on port 1
\item All received frames are untagged (i.e. 802.1 with no VLAN tag) \item All received frames are untagged (i.e. 802.1 with no VLAN tag)
\end{itemize*} \end{itemize*}
\ No newline at end of file
...@@ -122,10 +122,10 @@ STREAMS & bi-directional & port 0 $<->$ port 1 \\ ...@@ -122,10 +122,10 @@ STREAMS & bi-directional & port 0 $<->$ port 1 \\
\paragraph{Test passed if} \paragraph{Test passed if}
\begin{itemize*} \begin{itemize*}
\item All frames sent to port 0 are received only on port 17 \item All frames sent to port 0 are received only on port 1
\item All frames sent to port 17 are received only on port 0 \item All frames sent to port 1 are received only on port 0
\item All frames sent to port 1 are received only on port 16 \item All frames sent to port 16 are received only on port 17
\item All frames sent to port 16 are received only on port 1 \item All frames sent to port 17 are received only on port 16
\end{itemize*} \end{itemize*}
\newpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
...@@ -197,10 +197,10 @@ FRAME & 802.1D: & no VLAN tag, dstMAC=unicast \\ ...@@ -197,10 +197,10 @@ FRAME & 802.1D: & no VLAN tag, dstMAC=unicast \\
& & \\ & & \\
TRAFFIC & send to: & port 0, 1,16,17 \\ TRAFFIC & send to: & port 0, 1,16,17 \\
& receive on: & port 0, 1,16,17 \\ & receive on: & port 0, 1,16,17 \\
STREAMS & uni-directional & port 0 $<->$ port 1, 16, 17 \\ STREAMS & uni-directional & port 0 $->$ port 1, 16, 17 \\
& uni-directional & port 1 $<->$ port 0, 16, 17 \\ & uni-directional & port 1 $->$ port 0, 16, 17 \\
& uni-directional & port 16 $<->$ port 0, 1, 17 \\ & uni-directional & port 16 $->$ port 0, 1, 17 \\
& uni-directional & port 17 $<->$ port 0, 1, 16 \\ & uni-directional & port 17 $->$ port 0, 1, 16 \\
\end{tabular} \end{tabular}
\end{table} \end{table}
...@@ -208,10 +208,10 @@ STREAMS & uni-directional & port 0 $<->$ port 1, 16, 17 \\ ...@@ -208,10 +208,10 @@ STREAMS & uni-directional & port 0 $<->$ port 1, 16, 17 \\
\paragraph{Test passed if} \paragraph{Test passed if}
\begin{itemize*} \begin{itemize*}
\item All frames sent to port 0 are received only on port 17 \item All frames sent to port 0 are received on ports 1, 16, 17
\item All frames sent to port 17 are received only on port 0 \item All frames sent to port 17 are received on ports 0, 1, 16
\item All frames sent to port 1 are received only on port 16 \item All frames sent to port 1 are received on ports 0, 16, 17
\item All frames sent to port 16 are received only on port 1 \item All frames sent to port 16 are received on ports 0, 1, 17
\end{itemize*} \end{itemize*}
...@@ -238,23 +238,23 @@ VLAN & port 0: & VID=\{0, 1\}, & QMODE=trunk\\ ...@@ -238,23 +238,23 @@ VLAN & port 0: & VID=\{0, 1\}, & QMODE=trunk\\
\begin{table}[ht!] \begin{table}[ht!]
\begin{tabular}{ l l l } \begin{tabular}{ l l l }
FRAME & 802.1Q: & port 0 \& 1 : VID=1, PRIO=0,VID-untagged=1, dstMAC=broadcast \\ FRAME & 802.1Q: & port 0 \& 1 : VID=1, PRIO=0, dstMAC=broadcast \\
& & port 16 \& 17: VID=2, PRIO=0,VID-untagged=2, dstMAC=broadcast \\ & & port 16 \& 17: VID=2, PRIO=0, dstMAC=broadcast \\
& & \\ & & \\
TRAFFIC & send to: & port 0, 1,16,17 \\ TRAFFIC & send to: & port 0, 1,16,17 \\
& receive on: & port 0, 1,16,17 \\ & receive on: & port 0, 1,16,17 \\
STREAMS & bi-directional & port 0 $<->$ port 17 \\ STREAMS & bi-directional & port 0 $<->$ port 1 \\
& bi-directional & port 1 $<->$ port 16 \\ & bi-directional & port 16 $<->$ port 17 \\
\end{tabular} \end{tabular}
\end{table} \end{table}
\paragraph{Test passed if} \paragraph{Test passed if}
\begin{itemize*} \begin{itemize*}
\item All frames sent to port 0 are received only on port 17 \item All frames sent to port 0 are received only on port 1
\item All frames sent to port 17 are received only on port 0 \item All frames sent to port 1 are received only on port 0
\item All frames sent to port 1 are received only on port 16 \item All frames sent to port 16 are received only on port 17
\item All frames sent to port 16 are received only on port 1 \item All frames sent to port 17 are received only on port 16
\end{itemize*} \end{itemize*}
...@@ -285,18 +285,18 @@ FRAME & 802.1D: & no VLAN tag dstMAC=broadcast \\ ...@@ -285,18 +285,18 @@ FRAME & 802.1D: & no VLAN tag dstMAC=broadcast \\
& & \\ & & \\
TRAFFIC & send to: & port 0, 1,16,17 \\ TRAFFIC & send to: & port 0, 1,16,17 \\
& receive on: & port 0, 1,16,17 \\ & receive on: & port 0, 1,16,17 \\
STREAMS & bi-directional & port 0 $<->$ port 17 \\ STREAMS & bi-directional & port 0 $<->$ port 1 \\
& bi-directional & port 1 $<->$ port 16 \\ & bi-directional & port 16 $<->$ port 17 \\
\end{tabular} \end{tabular}
\end{table} \end{table}
\paragraph{Test passed if} \paragraph{Test passed if}
\begin{itemize*} \begin{itemize*}
\item All frames sent to port 0 are received only on port 17 \item All frames sent to port 0 are received only on port 1
\item All frames sent to port 17 are received only on port 0 \item All frames sent to port 1 are received only on port 0
\item All frames sent to port 1 are received only on port 16 \item All frames sent to port 16 are received only on port 17
\item All frames sent to port 16 are received only on port 1 \item All frames sent to port 17 are received only on port 16
\end{itemize*} \end{itemize*}
\newpage \newpage
...@@ -464,10 +464,10 @@ Time of burst: 1min (override default test config). ...@@ -464,10 +464,10 @@ Time of burst: 1min (override default test config).
\paragraph{Test passed if} \paragraph{Test passed if}
\begin{itemize*} \begin{itemize*}
\item All frames sent to port 0 are received only on port 17 \item All frames sent to port 0 are received on port 17
\item All frames sent to port 17 are received only on port 0 \item All frames sent to port 17 are received on port 0
\item All frames sent to port 1 are received only on port 16 \item All frames sent to port 1 are received on port 16
\item All frames sent to port 16 are received only on port 1 \item All frames sent to port 16 are received on port 1
\end{itemize*} \end{itemize*}
...@@ -483,9 +483,9 @@ Broadcast forwarding of a storm of unrecognized frames. ...@@ -483,9 +483,9 @@ Broadcast forwarding of a storm of unrecognized frames.
\begin{table}[ht!] \begin{table}[ht!]
\begin{tabular}{ l l l l} \begin{tabular}{ l l l l}
VLAN & port 0: & VID=\{0, 1\}, & QMODE=access, VID-untagged=1\\ VLAN & port 0: & VID=\{0, 1\}, & QMODE=access, VID-untagged=1\\
& port 1: & VID=\{0, 1\}, & QMODE=access, VID-untagged=1\\ & port 1: & VID=\{0, 2\}, & QMODE=access, VID-untagged=2\\
& port 16: & VID=\{0, 2\}, & QMODE=access, VID-untagged=2\\\ & port 16: & VID=\{0, 2\}, & QMODE=access, VID-untagged=2\\
& port 17: & VID=\{0, 2\}, & QMODE=access, VID-untagged=2\\ & port 17: & VID=\{0, 1\}, & QMODE=access, VID-untagged=1\\
& other ports: & VID=0, & QMODE=trunk\\ & other ports: & VID=0, & QMODE=trunk\\
\end{tabular} \end{tabular}
\end{table} \end{table}
...@@ -512,4 +512,4 @@ Time of burst: 1min (override default test config). ...@@ -512,4 +512,4 @@ Time of burst: 1min (override default test config).
\item All frames sent to port 17 are received only on port 0 \item All frames sent to port 17 are received only on port 0
\item All frames sent to port 1 are received only on port 16 \item All frames sent to port 1 are received only on port 16
\item All frames sent to port 16 are received only on port 1 \item All frames sent to port 16 are received only on port 1
\end{itemize*} \end{itemize*}
\ No newline at end of file
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