Commit c128d392 authored by Jérémie Gaidamour's avatar Jérémie Gaidamour
Browse files

[dev] new api generator: exclude the network_adapters keys from the network ref api

parent 49447b36
......@@ -115,7 +115,7 @@ global_hash["sites"].each do |site_uid, site|
network["linecards"] = linecards_array.map{|l| l || {}}
write_json(network_path.join("#{network_uid}.json"),
network.reject {|k, v| k == "clusters" || k == "networks" || k == "dom0"})
network.reject {|k, v| k == "network_adapters"})
network["linecards"] = linecards_tmp # restore
end
......
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