% include ../partials/head %> <% include ../partials/header %>
SDN-C AdminPortal
VM Profile
<% if ( typeof result != 'undefined' ) { if (result.code.length > 0) { if ( result.code == 'success' ) { %>
<% for ( x in result.msg ){ %>
<%= result.msg[x] %>
<% } %>
<% } else { %>
<% for ( x in result.msg ){ %>
<%= result.msg[x] %>
<% } %>
<% } %> <% } %> <% } %> <% if( typeof privilege != 'undefined'){ var priv = privilege.privilege; } else { var priv = 'A'; } %>
<% if (priv == 'A'){ %>
Add VM Profile
<% } %>
*VNF_TYPE
*VM_TYPE
VM_COUNT
<% if(priv == 'A'){ %>
Action
<% } %>
<% rows.forEach( function(row) { %>
<%= row.vnf_type %>
<%= row.vm_type %>
<%= row.vm_count %>
<% if(priv == 'A' ) { %>
Delete
<% } %>
<% }); %>
<% if(priv == 'A'){ %>
File input
Choose a file to upload.
Upload File
<% } %>
<% include ../partials/vm_profile %>