All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 140ff457 authored by Kirk Webb's avatar Kirk Webb

Enforce 'vlan' encapsulation for links/lans with remote blockstores.

parent 0f3d6f49
......@@ -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
......
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