Commit 6b69a578 authored by PARISOT Clement's avatar PARISOT Clement
Browse files

[nancy] grimoire - Remove null switch/port on non connected interfaces

parent 4bc52ab2
...@@ -103,8 +103,6 @@ ...@@ -103,8 +103,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
...@@ -119,8 +117,6 @@ ...@@ -119,8 +117,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
......
...@@ -103,8 +103,6 @@ ...@@ -103,8 +103,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
...@@ -119,8 +117,6 @@ ...@@ -119,8 +117,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
......
...@@ -103,8 +103,6 @@ ...@@ -103,8 +103,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
...@@ -119,8 +117,6 @@ ...@@ -119,8 +117,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
......
...@@ -103,8 +103,6 @@ ...@@ -103,8 +103,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
...@@ -119,8 +117,6 @@ ...@@ -119,8 +117,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
......
...@@ -103,8 +103,6 @@ ...@@ -103,8 +103,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
...@@ -119,8 +117,6 @@ ...@@ -119,8 +117,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
......
...@@ -103,8 +103,6 @@ ...@@ -103,8 +103,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
...@@ -119,8 +117,6 @@ ...@@ -119,8 +117,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
......
...@@ -103,8 +103,6 @@ ...@@ -103,8 +103,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
...@@ -119,8 +117,6 @@ ...@@ -119,8 +117,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
......
...@@ -103,8 +103,6 @@ ...@@ -103,8 +103,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
...@@ -119,8 +117,6 @@ ...@@ -119,8 +117,6 @@
"mountable": false, "mountable": false,
"mounted": false, "mounted": false,
"rate": 1000000000, "rate": 1000000000,
"switch": null,
"switch_port": null,
"vendor": "Intel Corporation" "vendor": "Intel Corporation"
}, },
{ {
......
...@@ -193,8 +193,6 @@ site :nancy do |site_uid| ...@@ -193,8 +193,6 @@ site :nancy do |site_uid|
:model => 'I350 Gigabit Network Connection', :model => 'I350 Gigabit Network Connection',
:driver => lookup(node_uid, node_uid, 'network_interfaces', 'eth4', 'driver'), :driver => lookup(node_uid, node_uid, 'network_interfaces', 'eth4', 'driver'),
:mac => lookup(node_uid, node_uid, 'network_interfaces', 'eth4', 'mac'), :mac => lookup(node_uid, node_uid, 'network_interfaces', 'eth4', 'mac'),
:switch => net_switch_lookup('nancy', 'grimoire', node_uid, 'eth4'),
:switch_port => net_port_lookup('nancy', 'grimoire', node_uid, 'eth4'),
}, },
{ {
:interface => lookup(node_uid, node_uid, 'network_interfaces', 'eth5', 'interface'), :interface => lookup(node_uid, node_uid, 'network_interfaces', 'eth5', 'interface'),
...@@ -209,8 +207,6 @@ site :nancy do |site_uid| ...@@ -209,8 +207,6 @@ site :nancy do |site_uid|
:model => 'I350 Gigabit Network Connection', :model => 'I350 Gigabit Network Connection',
:driver => lookup(node_uid, node_uid, 'network_interfaces', 'eth5', 'driver'), :driver => lookup(node_uid, node_uid, 'network_interfaces', 'eth5', 'driver'),
:mac => lookup(node_uid, node_uid, 'network_interfaces', 'eth5', 'mac'), :mac => lookup(node_uid, node_uid, 'network_interfaces', 'eth5', 'mac'),
:switch => net_switch_lookup('nancy', 'grimoire', node_uid, 'eth5'),
:switch_port => net_port_lookup('nancy', 'grimoire', node_uid, 'eth5'),
}, },
{ {
:interface => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'interface'), :interface => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'interface'),
......
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