Commit e5aecf0d authored by Cyril Rohr's avatar Cyril Rohr Committed by Gaetan SIMO
Browse files

[admin] Preliminary files for network equipments description.

parent 00fda05c
......@@ -12,7 +12,11 @@ We need:
# You can overwrite later on, to add networks, etc.
%w{lille nancy lyon}.each do |site_uid|
site site_uid.to_sym do
<<<<<<< HEAD
lookup("#{site_uid}-network-equipments").each do |equipment_uid, properties|
lookup("#{site_uid}-network-equipments-transformed").each do |equipment_uid, properties|
>>>>>>> [admin] Preliminary files for network equipments description.
network_equipment equipment_uid do |equiment_uid|
model properties['model']
mac properties['mac']
......@@ -188,6 +188,9 @@ module G5K
def environment(uid, *options, &block)
build_context(:environments, uid, *options, &block)
def network_equipment(uid, *options, &block)
build_context(:network_equipments, uid, *options, &block)
def node(uid, *options, &block)
build_context(:nodes, uid, *options, &block)
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