Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Testing
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Testing
Commits
b7a62c59
Commit
b7a62c59
authored
Nov 06, 2015
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrs release tests: fix some bugs
parent
064b3afb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
49 deletions
+49
-49
forwarding-functional.tex
doc/spec/switch-release-tests/src/forwarding-functional.tex
+15
-15
forwarding-performance.tex
doc/spec/switch-release-tests/src/forwarding-performance.tex
+34
-34
No files found.
doc/spec/switch-release-tests/src/forwarding-functional.tex
View file @
b7a62c59
...
...
@@ -78,8 +78,8 @@ STREAMS & bi-directional & port 0 $<->$ port 1 \\
\paragraph
{
Test passed if
}
\begin{itemize*}
\item
All frames sent to port 0 are received on
ly on
port 1
\item
All frames sent to port 1 are received on
ly on
port 0
\item
All frames sent to port 0 are received on port 1
\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
broadcast before learnt by RTUd)
\end{itemize*}
...
...
@@ -111,10 +111,10 @@ FRAME & 802.1D: & no VLAN tag, dstMAC=unicast \\
&
&
\\
TRAFFIC
&
send to:
&
port 0, 1,16,17
\\
&
receive on:
&
port 0, 1,16,17
\\
STREAMS
&
uni-directional
&
port 0
$
<
-
>
$
port 1, 16, 17
\\
&
uni-directional
&
port 1
$
<
-
>
$
port 0, 16, 17
\\
&
uni-directional
&
port 16
$
<
-
>
$
port 0, 1, 17
\\
&
uni-directional
&
port 17
$
<
-
>
$
port 0, 1, 16
\\
STREAMS
&
uni-directional
&
port 0
$
-
>
$
port 1, 16, 17
\\
&
uni-directional
&
port 1
$
-
>
$
port 0, 16, 17
\\
&
uni-directional
&
port 16
$
-
>
$
port 0, 1, 17
\\
&
uni-directional
&
port 17
$
-
>
$
port 0, 1, 16
\\
\end{tabular}
\end{table}
...
...
@@ -122,10 +122,10 @@ STREAMS & uni-directional & port 0 $<->$ port 1, 16, 17 \\
\paragraph
{
Test passed if
}
\begin{itemize*}
\item
All frames sent to port 0 are received on
ly on port
17
\item
All frames sent to port 17 are received on
ly on port 0
\item
All frames sent to port 1 are received on
ly on port 16
\item
All frames sent to port 16 are received on
ly on port 1
\item
All frames sent to port 0 are received on
ports 1, 16,
17
\item
All frames sent to port 17 are received on
ports 0, 1, 16
\item
All frames sent to port 1 are received on
ports 0, 16, 17
\item
All frames sent to port 16 are received on
ports 0, 1, 17
\end{itemize*}
\newpage
...
...
@@ -156,7 +156,7 @@ VLAN & port 0: & VID=\{0, 1\}, & QMODE=trunk\\
\begin{table}
[ht!]
\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
\\
&
receive on:
&
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 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
\item
No frames received on ports other than 0
\end{itemize*}
\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
...
...
@@ -250,7 +250,7 @@ VLAN & port 0: & VID=\{0, 1\}, & QMODE=access, FIX\_PRIO=1, PRIO\_VAL=3,
\begin{table}
[ht!]
\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
\\
&
receive on:
&
port 0, 1
\\
...
...
@@ -342,7 +342,7 @@ VLAN & port 0: & VID=\{0, 1\}, & QMODE=access, FIX\_PRIO=0, PVID=1, VID-un
\begin{table}
[ht!]
\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
\\
&
receive on:
&
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 16 are received only on port 1
\item
All received frames are untagged (i.e. 802.1 with no VLAN tag)
\end{itemize*}
\ No newline at end of file
\end{itemize*}
doc/spec/switch-release-tests/src/forwarding-performance.tex
View file @
b7a62c59
...
...
@@ -122,10 +122,10 @@ STREAMS & bi-directional & port 0 $<->$ port 1 \\
\paragraph
{
Test passed if
}
\begin{itemize*}
\item
All frames sent to port 0 are received only on port 1
7
\item
All frames sent to port 1
7
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
6 are received only on port 1
\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 frames sent to port 1
6 are received only on port 17
\item
All frames sent to port 1
7 are received only on port 16
\end{itemize*}
\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
...
...
@@ -197,10 +197,10 @@ FRAME & 802.1D: & no VLAN tag, dstMAC=unicast \\
&
&
\\
TRAFFIC
&
send to:
&
port 0, 1,16,17
\\
&
receive on:
&
port 0, 1,16,17
\\
STREAMS
&
uni-directional
&
port 0
$
<
-
>
$
port 1, 16, 17
\\
&
uni-directional
&
port 1
$
<
-
>
$
port 0, 16, 17
\\
&
uni-directional
&
port 16
$
<
-
>
$
port 0, 1, 17
\\
&
uni-directional
&
port 17
$
<
-
>
$
port 0, 1, 16
\\
STREAMS
&
uni-directional
&
port 0
$
-
>
$
port 1, 16, 17
\\
&
uni-directional
&
port 1
$
-
>
$
port 0, 16, 17
\\
&
uni-directional
&
port 16
$
-
>
$
port 0, 1, 17
\\
&
uni-directional
&
port 17
$
-
>
$
port 0, 1, 16
\\
\end{tabular}
\end{table}
...
...
@@ -208,10 +208,10 @@ STREAMS & uni-directional & port 0 $<->$ port 1, 16, 17 \\
\paragraph
{
Test passed if
}
\begin{itemize*}
\item
All frames sent to port 0 are received on
ly on port
17
\item
All frames sent to port 17 are received on
ly on port 0
\item
All frames sent to port 1 are received on
ly on port 16
\item
All frames sent to port 16 are received on
ly on port 1
\item
All frames sent to port 0 are received on
ports 1, 16,
17
\item
All frames sent to port 17 are received on
ports 0, 1, 16
\item
All frames sent to port 1 are received on
ports 0, 16, 17
\item
All frames sent to port 16 are received on
ports 0, 1, 17
\end{itemize*}
...
...
@@ -238,23 +238,23 @@ VLAN & port 0: & VID=\{0, 1\}, & QMODE=trunk\\
\begin{table}
[ht!]
\begin{tabular}
{
l l l
}
FRAME
&
802.1Q:
&
port 0
\&
1 : VID=1, PRIO=0,
VID-untagged=1,
dstMAC=broadcast
\\
&
&
port 16
\&
17: VID=2, PRIO=0,
VID-untagged=2,
dstMAC=broadcast
\\
FRAME
&
802.1Q:
&
port 0
\&
1 : VID=1, PRIO=0, dstMAC=broadcast
\\
&
&
port 16
\&
17: VID=2, PRIO=0, dstMAC=broadcast
\\
&
&
\\
TRAFFIC
&
send to:
&
port 0, 1,16,17
\\
&
receive on:
&
port 0, 1,16,17
\\
STREAMS
&
bi-directional
&
port 0
$
<
-
>
$
port 1
7
\\
&
bi-directional
&
port 1
$
<
-
>
$
port 16
\\
STREAMS
&
bi-directional
&
port 0
$
<
-
>
$
port 1
\\
&
bi-directional
&
port 1
6
$
<
-
>
$
port 17
\\
\end{tabular}
\end{table}
\paragraph
{
Test passed if
}
\begin{itemize*}
\item
All frames sent to port 0 are received only on port 1
7
\item
All frames sent to port 1
7
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
6 are received only on port 1
\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 frames sent to port 1
6 are received only on port 17
\item
All frames sent to port 1
7 are received only on port 16
\end{itemize*}
...
...
@@ -285,18 +285,18 @@ FRAME & 802.1D: & no VLAN tag dstMAC=broadcast \\
&
&
\\
TRAFFIC
&
send to:
&
port 0, 1,16,17
\\
&
receive on:
&
port 0, 1,16,17
\\
STREAMS
&
bi-directional
&
port 0
$
<
-
>
$
port 1
7
\\
&
bi-directional
&
port 1
$
<
-
>
$
port 16
\\
STREAMS
&
bi-directional
&
port 0
$
<
-
>
$
port 1
\\
&
bi-directional
&
port 1
6
$
<
-
>
$
port 17
\\
\end{tabular}
\end{table}
\paragraph
{
Test passed if
}
\begin{itemize*}
\item
All frames sent to port 0 are received only on port 1
7
\item
All frames sent to port 1
7
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
6 are received only on port 1
\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 frames sent to port 1
6 are received only on port 17
\item
All frames sent to port 1
7 are received only on port 16
\end{itemize*}
\newpage
...
...
@@ -464,10 +464,10 @@ Time of burst: 1min (override default test config).
\paragraph
{
Test passed if
}
\begin{itemize*}
\item
All frames sent to port 0 are received on
ly on
port 17
\item
All frames sent to port 17 are received on
ly on
port 0
\item
All frames sent to port 1 are received on
ly on
port 16
\item
All frames sent to port 16 are received on
ly on
port 1
\item
All frames sent to port 0 are received on port 17
\item
All frames sent to port 17 are received on port 0
\item
All frames sent to port 1 are received on port 16
\item
All frames sent to port 16 are received on port 1
\end{itemize*}
...
...
@@ -483,9 +483,9 @@ Broadcast forwarding of a storm of unrecognized frames.
\begin{table}
[ht!]
\begin{tabular}
{
l l l l
}
VLAN
&
port 0:
&
VID=
\{
0, 1
\}
,
&
QMODE=access, VID-untagged=1
\\
&
port 1:
&
VID=
\{
0,
1
\}
,
&
QMODE=access, VID-untagged=1
\\
&
port 16:
&
VID=
\{
0, 2
\}
,
&
QMODE=access, VID-untagged=2
\\
\
&
port 17:
&
VID=
\{
0,
2
\}
,
&
QMODE=access, VID-untagged=2
\\
&
port 1:
&
VID=
\{
0,
2
\}
,
&
QMODE=access, VID-untagged=2
\\
&
port 16:
&
VID=
\{
0, 2
\}
,
&
QMODE=access, VID-untagged=2
\\
&
port 17:
&
VID=
\{
0,
1
\}
,
&
QMODE=access, VID-untagged=1
\\
&
other ports:
&
VID=0,
&
QMODE=trunk
\\
\end{tabular}
\end{table}
...
...
@@ -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 1 are received only on port 16
\item
All frames sent to port 16 are received only on port 1
\end{itemize*}
\ No newline at end of file
\end{itemize*}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment