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
3a8006b5
Commit
3a8006b5
authored
Mar 18, 2014
by
Maciej Lipinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testDoc: added functional tests of VLANs
parent
f4d4a55d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
2 deletions
+52
-2
forwarding-functional.tex
doc/spec/switch-release-tests/src/forwarding-functional.tex
+52
-2
No files found.
doc/spec/switch-release-tests/src/forwarding-functional.tex
View file @
3a8006b5
...
...
@@ -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
}
...
...
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