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 3c29b0b0 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add a role slot to the new_interfaces table to mirror the role slot of

the interfaces table. This will be used to override the defaults that
newnode assigns using the node_types table, since for ElabinElab,
interface roles are actually picked however assign feels like it, not
according to any rules.
parent 2fd0955e
......@@ -839,6 +839,7 @@ CREATE TABLE new_interfaces (
switch_port tinyint(3) default NULL,
cable smallint(6) default NULL,
len tinyint(4) default NULL,
role tinytext default NULL,
PRIMARY KEY (new_node_id,card)
) TYPE=MyISAM;
......
......@@ -2558,3 +2558,12 @@ last_net_act,last_cpu_act,last_ext_act);
alter table users add wikionly tinyint(1) default '0';
1.326: Add "role" to the new_interfaces table, that mirrors the role
slot of the interfaces table. This will be used to override the
default setting in newnode, which is necessary for elabinelab,
where the roles of the interfaces are not going to be node_type
specific, since its assign that is choosing the interfaces.
alter table new_interfaces add role tinytext default NULL;
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