Skip to content

Commit

Permalink
Merge pull request #732 from manfrednde/rac-5746
Browse files Browse the repository at this point in the history
RAC-5746 Network protocol conformance
  • Loading branch information
jimturnquist committed Aug 11, 2017
2 parents ade0d64 + 960750b commit bf0a493
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions data/views/redfish-1.0/redfish.1.0.0.manager.1.0.0.json
Expand Up @@ -39,18 +39,7 @@
}
<% if( typeof networkProtocol !== 'undefined') { %>
, "NetworkProtocol" : {
"@odata.id": "<%= url %>",
<% if (typeof networkProtocol.hostname !== 'undefined') { %>
"HostName": "<%= networkProtocol.hostname %>",
"FQDN": "<%= networkProtocol.fqdn %>",
<% } %>
<% networkProtocol.services.forEach(function(service, i, arr) { %>
"<%= service.name %>" : {
"ProtocolEnabled" : <%= service.enabled %>,
"Port": <%= service.port %>
}
<%= ( arr.length > 0 && i < arr.length-1 ) ? ',': '' %>
<% }); %>
"@odata.id": "<%= url %>/NetworkProtocol"
}
<% } %>
}

0 comments on commit bf0a493

Please sign in to comment.