Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
140ff457
Commit
140ff457
authored
Sep 08, 2015
by
Kirk Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enforce 'vlan' encapsulation for links/lans with remote blockstores.
parent
0f3d6f49
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
tbsetup/libvtop_test.pm.in
tbsetup/libvtop_test.pm.in
+9
-2
No files found.
tbsetup/libvtop_test.pm.in
View file @
140ff457
...
...
@@ -2905,8 +2905,9 @@ sub GenVirtLans($)
# The OS on all nodes in a lan containing remote blockstores
# (sanlan) must support the "rem-bstore" OS feature.
if ($sanlan && $nodesdo{"rem-bstore"} != $realnodes) {
tberror("The OS on all nodes in sanlan $vname must support ".
"remote blockstores.\n");
tberror("$vname: All nodes connecting to a link/lan that ".
"includes remote blockstores must support the ".
"'
rem
-
bstore
' OS feature!\n");
return -1;
}
...
...
@@ -3079,6 +3080,12 @@ sub GenVirtLans($)
$
member
->
_emulated
($
emulated
);
}
if
($
sanlan
&&
$
vlan
->
_encapstyle
()
ne
"vlan"
)
{
tberror
(
"$vname: Links/LANs that host remote blockstores must "
.
"use 'vlan' encapsulation!
\n
"
);
return
-
1
;
}
#
#
For
links
involving
virtnodes
,
we
prefer
to
use
virtual
links
.
#
But
we
can
only
do
this
if
all
involved
nodes
support
a
common
...
...
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