% include ../partials/head %> <% include ../partials/header %>
SDN-C AdminPortal
Router Master
<% 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 Router
<% } %>
*CRS Name
Loopback IP
<% if(priv == 'A'){ %>
Action
<% } %>
<% rows.forEach( function(row) { %>
<%= row.crs_name %>
<%= row.loopback_ip %>
<% if(priv == 'A') { %>
Update
Delete
<% } %>
<% }); %>
<% include ../partials/router_master %>