From 324ee36fe31763e507b422ab0a88e4230045e205 Mon Sep 17 00:00:00 2001 From: "Timoney, Daniel (dt5972)" Date: Wed, 15 Feb 2017 10:37:53 -0500 Subject: Initial commit for OpenECOMP SDN-C OA&M Change-Id: I7ab579fd0d206bf356f36d52dcdf4f71f1fa2680 Signed-off-by: Timoney, Daniel (dt5972) Former-commit-id: 2a9f0edd09581f907e62ec4689b5ac94dd5382ba --- admportal/views/odl/cluster_status.ejs | 84 ++ admportal/views/odl/listVRlan.ejs | 1069 +++++++++++++++ admportal/views/odl/listWklst.ejs | 2224 ++++++++++++++++++++++++++++++++ admportal/views/odl/view.ejs | 91 ++ admportal/views/odl/viewvnf.ejs | 62 + 5 files changed, 3530 insertions(+) create mode 100644 admportal/views/odl/cluster_status.ejs create mode 100644 admportal/views/odl/listVRlan.ejs create mode 100644 admportal/views/odl/listWklst.ejs create mode 100644 admportal/views/odl/view.ejs create mode 100644 admportal/views/odl/viewvnf.ejs (limited to 'admportal/views/odl') diff --git a/admportal/views/odl/cluster_status.ejs b/admportal/views/odl/cluster_status.ejs new file mode 100644 index 00000000..e7590dfe --- /dev/null +++ b/admportal/views/odl/cluster_status.ejs @@ -0,0 +1,84 @@ + + + + + + <% include ../partials/head %> + <% include ../partials/header %> + + SDN-C AdminPortal + + + +
+

SDN-C Cluster Status

+
+ + +
+ + + + + + + + + + + + <% var i=0; if (response_obj != 'undefined' ) { + response_obj.forEach(function(request) { %> + + <% if ( request.status == '200' ){ %> + + + + + + + + + <% } else { %> + + + + + + + + + <% } %> + <% i++; }); }; %> + + +
ShardNameStatusLeaderRaftStateView Response
<%= request['value']['ShardName'] %><%= request.status %><%= request['value']['Leader'] %><%= request['value']['RaftState'] %> + +
+
+
<%= JSON.stringify(request,null,4) %>
+
+
+
 <%= request.status %>   + +
+
+
<%= JSON.stringify(request,null,4) %>
+
+
+
+
+ +
+ <% include ../partials/footer %> +
+ + + + diff --git a/admportal/views/odl/listVRlan.ejs b/admportal/views/odl/listVRlan.ejs new file mode 100644 index 00000000..93eedace --- /dev/null +++ b/admportal/views/odl/listVRlan.ejs @@ -0,0 +1,1069 @@ + + + + SDN-C AdminPortal + + + <% include ../partials/head %> + <% include ../partials/header %> + + + +

VR-LAN

+ +<% if ( typeof result != 'undefined' ) { + if (result.code.length > 0) { + if ( result.code == 'success' ) { %> + + <% } else { %> +
+ <% + for ( x in result.msg ){ %> +
<%= result.msg[x] %>
+ <% } %> +
+ <% } %> + <% } %> +<% } %> + +<% if( typeof privilege != 'undefined'){ + var priv = privilege.privilege; +} else { + var priv = 'A'; +} %> + +
+
+ +<% if ( typeof response_obj['vr-lan']['routing-protocol'] != 'undefined' ){ %> +
+ service-instance-id: <%= svc_instance_id %>
+ routing-protocol : <%= response_obj['vr-lan']['routing-protocol'] %> +
+<% } %> + + + +<% var i=1; root_node=1; +if ( typeof response_obj['vr-lan'] != 'undefined' ) +{ + if( typeof response_obj['vr-lan']['vr-lan-interface'] != 'undefined' ) + { + response_obj['vr-lan']['vr-lan-interface'].forEach(function(request) { + var root_node = i %> + + + + + <% i++; %> + + <% if ( request['vr-designation'] != 'undefined') + { + var vr_designation = request['vr-designation']; + } %> + + + + + <% i++; %> + + <% if ( (typeof request['v6-public-lan-prefixes'] != 'undefined') && (typeof request['v6-public-lan-prefixes']['t-provided-v6-lan-public-prefixes'] != 'undefined') ) + { %> + <% request['v6-public-lan-prefixes']['t-provided-v6-lan-public-prefixes'].forEach(function(trequest){ var t_v6_root = i; %> + + + + <% i++; %> + + + + <% i++; %> + <% }); %> + <% } %> + + <% if ( typeof request['dhcp'] != 'undefined' ) + { %> + <% var dhcp_node = i; %> + + + + <% i++; %> + + + + + <% i++; %> + + <% if ( typeof request['dhcp']['v4-dhcp-pools'] != 'undefined' ) + { %> + <% var v4_dhcp_pools_node = i; %> + + + + <% i++; %> + + <% request['dhcp']['v4-dhcp-pools'].forEach(function(v4request) + { %> + + + + <% i++; %> + + <% if ( typeof v4request['excluded-v4-address'] != 'undefined' ) + { %> + <% var excluded_v4_address_node = i; %> + + + + <% i++; %> + + <% v4request['excluded-v4-addresses'].forEach(function(ex_request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% }); %> + <% } %> + + <% if ( typeof request['dhcp']['excluded-v4-dhcp-addresses-from-default-pool'] != 'undefined' ) + { %> + <% var exc_v4_address_node = i; %> + + + + <% i++; %> + + <% request['dhcp']['excluded-v4-dhcp-addresses-from-default-pool'].forEach(function(ex_request) + { %> + + + + + <% i++; %> + <% }); %> + <% } %> + + <% if ( typeof request['dhcp']['v6-dhcp-pools'] != 'undefined' ) + { %> + <% var v6_dhcp_pools_node = i; %> + + + + <% i++; %> + + <% request['dhcp']['v6-dhcp-pools'].forEach(function(v6request) + { %> + + + + <% i++; %> + + <% if ( typeof v4request['excluded-v6-addresses'] != 'undefined' ) + { %> + <% var excluded_v6_address_node = i; %> + + + + <% i++; %> + + <% v6request['excluded-v6-addresses'].forEach(function(ex_request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% }); %> + <% } %> + + <% if ( typeof request['dhcp']['excluded-v6-dhcp-addresses-from-default-pool'] != 'undefined' ) + { %> + <% var exc_v6_address_node = i; %> + + + + <% i++; %> + + <% request['dhcp']['excluded-v6-dhcp-addresses-from-default-pool'].forEach(function(ex_request) + { %> + + + + + <% i++; %> + <% }); %> + <% } %> + <% } %> + + <% if ( typeof request['firewall-lite'] != 'undefined' ) + { %> + <% var firewall_lite_node = i; %> + + + + <% i++; %> + + + + + <% i++; %> + + <% if ( typeof request['firewall-lite']['v6-firewall-packet-filters'] != 'undefined' ) + { + var v6_firewall_packet_filters_node = i; %> + + + + <% i++; %> + + <% request['firewall-lite']['v6-firewall-packet-filters'].forEach(function(v6request) + { %> + + + + <% i++; %> + + <% if ( typeof v6request['udp-port-list'] != 'undefined' ) + { %> + <% v6request['udp-port-list'].forEach(function(udp_request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% if ( typeof v6p_request['tcp-port-list'] != 'undefined' ) + { %> + <% v6request['tcp-port-list'].forEach(function(tcp_request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% }); %> + <% } %> + <% if ( typeof request['firewall-lite']['v4-firewall-packet-filters'] != 'undefined' ) + { + var v4_firewall_packet_filters_node = i; %> + + + + <% i++; %> + + <% request['firewall-lite']['v4-firewall-packet-filters'].forEach(function(v4request) + { %> + + + + <% i++; %> + + <% if ( typeof v4request['udp-port-list'] != 'undefined' ) + { %> + <% v4request['udp-port-list'].forEach(function(udp_request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% if ( typeof v4p_request['tcp-port-list'] != 'undefined' ) + { %> + <% v4request['tcp-port-list'].forEach(function(tcp_request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% }); %> + <% } %> + + <% } %> + + <% if ( typeof request['static-routes'] != 'undefined' ) + { + var static_route_node = i; %> + + + + <% i++; %> + <% if ( typeof request['static-routes']['v6-static-routes'] != 'undefined' ) + { %> + <% v6_static_route = i %> + + + + <% i++; %> + + <% request['static-routes']['v6-static-routes'].forEach(function(strequest){ %> + + + + <% i++; %> + <% }); %> + <% } %> + <% if ( typeof request['static-routes']['v4-static-routes'] != 'undefined' ) + { %> + <% v4_static_route = i %> + + + + <% i++; %> + <% request['static-routes']['v4-static-routes'].forEach(function(v4request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% } %> + <% if ( typeof request['pat'] != 'undefined' ) + { %> + <% var pat_node = i %> + + + + <% i++; %> + + + + + <% i++; %> + + <% if ( typeof request['pat']['v4-pat-pools'] != 'undefined' ) + { + var pat_pools_node = i %> + + + + <% i++; %> + + <% request['pat']['v4-pat-pools'].forEach(function(trequest) + { %> + + + + <% }); %> + <% i++; %> + + <% } %> + <% } %> + <% if ( typeof request['nat'] != 'undefined' ) + { %> + <% var nat_node = i %> + + + + <% i++; %> + + + + + <% i++; %> + + <% if ( typeof request['nat']['v4-nat-mapping-entries'] != 'undefined' ) + { + var nat_mapping_node = i %> + + + + <% i++; %> + + <% request['nat']['v4-nat-mapping-entries'].forEach(function(trequest) + { %> + + + + <% }); %> + <% i++; %> + + <% } %> + <% } %> + + <% if ( (typeof request['v4-public-lan-prefixes'] != 'undefined') && (typeof request['v4-public-lan-prefixes']['t-provided-v4-lan-public-prefixes'] != 'undefined') ) + { %> + <% request['v4-public-lan-prefixes']['t-provided-v4-lan-public-prefixes'].forEach(function(trequest){ + var v4_public_root = i; %> + + + + <% i++; %> + + + + <% i++; %> + <% }); %> + <% } %> + <% }); + } +} else { %> +
no data
+<% } %> +
vr-lan-interface
+ vr-lan-interface +
v6-public-lan-prefixes
+ t-provided-v6-lan-public-prefixes +
dhcp
+ dhcp +
v4-dhcp-pool
+ v4-dhcp-pools +
exluded-v4-address
+ excluded-v4-address +
excluded-v4-dhcp-addresses-from-default-pool
+ excluded-v4-dhcp-addresses-from-default-pool +
v6-dhcp-pool
+ v6-dhcp-pools +
exluded-v6-address
+ excluded-v6-address +
excluded-v6-dhcp-addresses-from-default-pool
+ excluded-v6-dhcp-addresses-from-default-pool +
firewall-lite
+ firewall-lite +
v6-firewall-packet-filters
+ v6-firewall-packet-filters +
+ udp-port-list +
+ tcp-port-list +
v4-firewall-packet-filters
+ v4-firewall-packet-filters +
+ udp-port-list +
+ tcp-port-list +
static-routes
v6-static-routes
+ v6-static-routes +
v4-static-routes
+ v4-static-routes +
pat
+ pat +
v4-pat-pools
+ v4-pat-pools +
nat
+ nat +
v4-nat-mapping-entries
+ v4-nat-mapping-entries +
v4-public-lan-prefixes
+ t-provided-v4-lan-public-prefixes +
+
+
+ + <% include ../partials/vr_lan_interface %> + <% include ../partials/dhcp %> + <% include ../partials/v4_dhcp_pools %> + <% include ../partials/v6_dhcp_pools %> + <% include ../partials/excluded_v4_address %> + <% include ../partials/excluded_v4_address_from_default_pool %> + <% include ../partials/excluded_v6_address_from_default_pool %> + <% include ../partials/t_provided_v6_lan_public_prefixes %> + <% include ../partials/firewall_lite %> + <% include ../partials/v6_static_routes %> + <% include ../partials/v4_static_routes %> + <% include ../partials/pat %> + <% include ../partials/pat_pools %> + <% include ../partials/nat %> + <% include ../partials/v4_nat_mapping_entries %> + <% include ../partials/t_provided_v4_lan_public_prefixes %> + <% include ../partials/v6_firewall_packet_filters %> + <% include ../partials/v4_firewall_packet_filters %> + <% include ../partials/udp_port_list %> + <% include ../partials/tcp_port_list %> +
+ <% include ../partials/footer %> +
+ + + + + + diff --git a/admportal/views/odl/listWklst.ejs b/admportal/views/odl/listWklst.ejs new file mode 100644 index 00000000..432c2071 --- /dev/null +++ b/admportal/views/odl/listWklst.ejs @@ -0,0 +1,2224 @@ + + + + SDN-C AdminPortal + + + <% include ../partials/head %> + <% include ../partials/header %> + + + + + + +
+

L3SDN-API Services

+
+ +<% if ( typeof result != 'undefined' ) { + if (result.code.length > 0) { + if ( result.code == 'success' ) { %> + + <% } else { %> +
<%=result.msg %>
+ <% } %> + <% } %> +<% } %> + +
+
+ + +<% var i=1; root_node=1; +pageInfo.rows.forEach(function(request) +{ + root_node = i; %> + + + + + <% i++; %> + + <% if ( typeof request['service-status'] != 'undefined' ) + { %> + + + + <% i++; %> + <% } %> + <% if ( typeof request['service-data'] != 'undefined' ) + { %> + <% var service_data_node = i; %> + + + + <% i++; %> + + <% if ( typeof request['service-data']['internet-evc-access-information'] != 'undefined' ) + { %> + + + + <% i++; %> + <% } %> + <% if ( typeof request['service-data']['oper-status'] != 'undefined' ) + { %> + + + + <% i = i+1; %> + <% } %> + <% if ( typeof request['service-data']['svc-topology-additional-data'] != 'undefined' ) + { %> + + + + <% i = i+1; %> + <% } %> + <% if ( typeof request['service-data']['request-information'] != 'undefined' ) + { %> + + + + <% i = i+1; %> + <% } %> + <% if ( typeof request['service-data']['sdnc-request-header'] != 'undefined' ) + { %> + + + + <% i = i+1; %> + <% } %> + <% if ( typeof request['service-data']['l2-homing-information'] != 'undefined' ) + { %> + + + + <% i = i+1; %> + <% } %> + <% if ( typeof request['service-data']['service-information'] != 'undefined' ) + { %> + + + + <% i++; %> + <% } %> + <% if ( typeof request['service-data']['feature-list'] != 'undefined' ) + { %> + <% var feature_list_node = i; %> + + + + <% i++; %> + + <% request['service-data']['feature-list'].forEach(function(request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% if ( typeof request['service-data']['svc-config-additional-data'] != 'undefined' ) + { %> + <% var svc_config_additional_data_node = i; %> + + + + <% i++; %> + + + + + <% i++; %> + <% } %> + <% if ( typeof request['service-data']['equipment'] != 'undefined' ) + { %> + <% var equipment_node = i; %> + + + + <% i++; %> + + <% request['service-data']['equipment'].forEach(function(equip) + { %> + + + + <% i++; %> + + <% if ( typeof equip['ipv4-infrastructure-static-route'] != 'undefined' ) + { %> + <% ipv4_infrastructure_static_route_node = i; %> + + + + <% i++; %> + + <% equip['ipv4-infrastructure-static-route'].forEach(function(eroute) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% if ( typeof equip['ipv6-infrastructure-static-route'] != 'undefined' ) + { %> + <% ipv6_infrastructure_static_route_node = i; %> + + + + <% i++; %> + + <% equip['ipv6-infrastructure-static-route'].forEach(function(eroute) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% if ( typeof equip['interface'] != 'undefined' ) + { %> + <% interface_node = i; %> + + + + <% i++; %> + + <% equip['interface'].forEach(function(interface) + { %> + + + + <% i++; %> + + <% if ( typeof interface['vlan'] != 'undefined' ) + { %> + <% vlan_node = i; %> + + + + <% i++; %> + + <% interface['vlan'].forEach(function(vlan) + { %> + + + + <% i++; %> + + <% if ( typeof vlan['l3-interface-ipv4-address-list'] != 'undefined' ) + { %> + <% ipv4_address_list_node = i; %> + + + + <% i++; %> + + <% vlan['l3-interface-ipv4-address-list'].forEach(function(v4) + { %> + + + + <% i++; %> + + <% }); %> + <% }; %> + + <% if ( typeof vlan['l3-interface-ipv6-address-list'] != 'undefined' ) + { %> + <% ipv6_address_list_node = i; %> + + + + <% i++; %> + + <% vlan['l3-interface-ipv6-address-list'].forEach(function(v6) + { %> + + + + <% i++; %> + <% }); %> + <% }; %> + <% }); %> + <% }; %> + <% }); %> + <% } %> + + + + <% }); %> + <% } %> + + <% if ( typeof request['service-data']['l3sdn-vnf-fields'] != 'undefined' ) + { %> + <% l3sdn_vnf_fields_node = i; %> + + + + <% i++; %> + + + + + <% i++; %> + + <% if ( typeof request['service-data']['l3sdn-vnf-fields']['network-connections'] != 'undefined' ) + { %> + <% network_connections_node = i; %> + + + + <% i++; %> + + <% request['service-data']['l3sdn-vnf-fields']['network-connections'].forEach(function(nconn) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + + <% if ( typeof request['service-data']['l3sdn-vnf-fields']['vnf-vm-information'] != 'undefined' ) + { %> + <% vnf_vm_information_node = i; %> + + + + <% i++; %> + + <% request['service-data']['l3sdn-vnf-fields']['vnf-vm-information'].forEach(function(info) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + + + <% } %> + + <% if ( typeof request['service-data']['vr-lan'] != 'undefined' ) + { %> + <% if ( typeof request['service-instance-id'] != 'undefined' ) + { + var svc_instance_id = request['service-instance-id']; + } %> + + <% vr_lan_node = i; %> + + + + <% i++; %> + + + <% if ( request['service-data']['vr-lan']['routing-protocol'] != 'undefined' ) + { %> + + + + <% i++; %> + <% } %> + <% vr_lan_interface_node = i; %> + + + + <% i++; %> + + <% if( typeof request['service-data']['vr-lan']['vr-lan-interface'] != 'undefined' ) + { %> + + <% request['service-data']['vr-lan']['vr-lan-interface'].forEach(function(request) + { %> + + <% if ( request['vr-designation'] != 'undefined') + { + var vr_designation = request['vr-designation']; + } %> + + + + + <% i++; %> + + <% if ( typeof request['dhcp'] != 'undefined' ) + { %> + <% var dhcp_node = i; %> + + + + <% i++; %> + + + + + <% i++; %> + + <% if ( typeof request['dhcp']['v4-dhcp-pools'] != 'undefined' ) + { %> + <% var v4_dhcp_pools_node = i; %> + + + + <% i++; %> + + <% request['dhcp']['v4-dhcp-pools'].forEach(function(v4request) + { %> + + + + <% i++; %> + + <% if ( typeof v4request['excluded-v4-address'] != 'undefined' ) + { %> + <% var excluded_v4_address_node = i; %> + + + + <% i++; %> + + <% v4request['excluded-v4-addresses'].forEach(function(ex_request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% }); %> + <% } %> + + <% if ( typeof request['dhcp']['excluded-v4-dhcp-addresses-from-default-pool'] != 'undefined' ) + { %> + <% var exc_v4_address_node = i; %> + + + + <% i++; %> + + <% request['dhcp']['excluded-v4-dhcp-addresses-from-default-pool'].forEach(function(ex_request) + { %> + + + + + <% i++; %> + <% }); %> + <% } %> + <% if ( typeof request['dhcp']['v6-dhcp-pools'] != 'undefined' ) + { %> + <% var v6_dhcp_pools_node = i; %> + + + + <% i++; %> + + <% request['dhcp']['v6-dhcp-pools'].forEach(function(v6request) + { %> + + + + <% i++; %> + + <% if ( typeof v6request['excluded-v6-addresses'] != 'undefined' ) + { %> + <% var excluded_v6_address_node = i; %> + + + + <% i++; %> + + <% v6request['excluded-v6-addresses'].forEach(function(ex_request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% }); %> + <% } %> + + <% if ( typeof request['dhcp']['excluded-v6-dhcp-addresses-from-default-pool'] != 'undefined' ) + { %> + <% var exc_v6_address_node = i; %> + + + + <% i++; %> + + <% request['dhcp']['excluded-v6-dhcp-addresses-from-default-pool'].forEach(function(ex_request) + { %> + + + + + <% i++; %> + <% }); %> + <% } %> + <% } %> + <% if ( typeof request['firewall-lite'] != 'undefined' ) + { %> + <% var firewall_lite_node = i; %> + + + + <% i++; %> + + + + + <% i++; %> + + <% if ( typeof request['firewall-lite']['v6-firewall-packet-filters'] != 'undefined' ) + { %> + <% var v6_firewall_packet_filters_node = i; %> + + + + <% i++; %> + + <% request['firewall-lite']['v6-firewall-packet-filters'].forEach(function(v6request) + { %> + + + + <% i++; %> + + <% if ( typeof v6request['udp-port-list'] != 'undefined' ) + { %> + <% var udp_port_list_node = i; %> + + + + <% i++; %> + + <% v6request['udp-port-list'].forEach(function(udp_request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% if ( typeof v6request['tcp-port-list'] != 'undefined' ) + { %> + <% var tcp_port_list_node = i; %> + + + + <% i++; %> + <% v6request['tcp-port-list'].forEach(function(tcp_request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% }); %> + + <% } %> + <% if ( typeof request['firewall-lite']['v4-firewall-packet-filters'] != 'undefined' ) + { %> + <% var v4_firewall_packet_filters_node = i; %> + + + + <% i++; %> + + <% request['firewall-lite']['v4-firewall-packet-filters'].forEach(function(v4request) + { %> + + + + <% i++; %> + + <% if ( typeof v4request['udp-port-list'] != 'undefined' ) + { %> + <% var udp_port_list_node = i; %> + + + + <% i++; %> + + <% v4request['udp-port-list'].forEach(function(udp_request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% if ( typeof v4request['tcp-port-list'] != 'undefined' ) + { %> + <% var tcp_port_list_node = i; %> + + + + <% i++; %> + <% v4request['tcp-port-list'].forEach(function(tcp_request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% }); %> + + <% } %> + + <% } %> + + + <% if ( typeof request['v4-public-lan-prefixes'] != 'undefined') + { %> + <% var v4_public_lan_prefixes_node = i; %> + + + + <% i++; %> + + <% if (typeof request['v4-public-lan-prefixes']['t-provided-v4-lan-public-prefixes'] != 'undefined') + { %> + + <% request['v4-public-lan-prefixes']['t-provided-v4-lan-public-prefixes'].forEach(function(trequest) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% } %> + <% if ( typeof request['v6-public-lan-prefixes'] != 'undefined') + { %> + <% var v6_public_lan_prefixes_node = i; %> + + + + <% i++; %> + + <% if (typeof request['v6-public-lan-prefixes']['t-provided-v6-lan-public-prefixes'] != 'undefined') + { %> + + <% request['v6-public-lan-prefixes']['t-provided-v6-lan-public-prefixes'].forEach(function(trequest) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% } %> + + <% if ( typeof request['nat'] != 'undefined' ) + { %> + <% var nat_node = i %> + + + + <% i++; %> + + + + + <% i++; %> + + <% if ( typeof request['nat']['v4-nat-mapping-entries'] != 'undefined' ) + { + var nat_mapping_node = i %> + + + + <% i++; %> + + <% request['nat']['v4-nat-mapping-entries'].forEach(function(trequest) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% } %> + + <% if ( typeof request['static-routes'] != 'undefined' ) + { %> + <% var static_route_node = i; %> + + + + <% i++; %> + <% if ( typeof request['static-routes']['v6-static-routes'] != 'undefined' ) + { %> + <% v6_static_route = i %> + + + + <% i++; %> + + <% request['static-routes']['v6-static-routes'].forEach(function(strequest){ %> + + + + <% i++; %> + <% }); %> + <% } %> + <% if ( typeof request['static-routes']['v4-static-routes'] != 'undefined' ) + { %> + <% v4_static_route = i %> + + + + <% i++; %> + <% request['static-routes']['v4-static-routes'].forEach(function(v4request) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% } %> + + <% if ( typeof request['pat'] != 'undefined' ) + { %> + <% var pat_node = i %> + + + + <% i++; %> + + + + + <% i++; %> + + <% if ( typeof request['pat']['v4-pat-pools'] != 'undefined' ) + { %> + <% var pat_pools_node = i %> + + + + <% i++; %> + + <% request['pat']['v4-pat-pools'].forEach(function(trequest) + { %> + + + + <% i++; %> + <% }); %> + <% } %> + <% } %> + + + + + + + <% }); %> + <% } %> + <% } %> + + <% } %> + <% }); %> +
<%= request['service-instance-id'] %>
+ service-status +
service-data
+ internet-evc-access-information +
+ oper-status +
+ svc-topology-additional-data +
+ request-information +
+ sdnc-request-header +
+ l2-homing-information +
+ service-information +
feature-list
+ feature-list +
svc-config-additional-data
+ management-ip +
equipment
+ equipment +
ipv4-infrastructure-static-route
+ ipv4_infrastructure_static_route +
ipv6-infrastructure-static-route
+ ipv6_infrastructure_static_route +
interface
+ interface +
vlan
+ vlan +
l3-interface-ipv4-address-list
+ l3-interface-ipv4-address-list +
l3-interface-ipv6-address-list
+ l3-interface-ipv6-address-list +
l3sdn-vnf-fields
+ l3sdn-vnf-fields +
network-connections
+ network-connections +
vnf-vm-information
+ vnf-vm-information +
vr-lan
+ routing-protocol +
vr-lan-interface
+ vr-lan-interface +
dhcp
+ dhcp +
v4-dhcp-pool
+ v4-dhcp-pools +
exluded-v4-address
+ excluded-v4-address +
excluded-v4-dhcp-addresses-from-default-pool
+ excluded-v4-dhcp-addresses-from-default-pool +
v6-dhcp-pool
+ v6-dhcp-pools +
exluded-v6-address
+ excluded-v6-address +
excluded-v6-dhcp-addresses-from-default-pool
+ excluded-v6-dhcp-addresses-from-default-pool +
firewall-lite
+ firewall-lite +
v6_firewall_packet_filters
+ v6-firewall-packet-filters +
udp_port_list
+ udp-port-list +
tcp_port_list
+ tcp-port-list +
v4_firewall_packet_filters
+ v4-firewall-packet-filters +
udp_port_list
+ udp-port-list +
tcp_port_list
+ tcp-port-list +
v4-public-lan-prefixes
+ t-provided-v4-lan-public-prefixes +
v6-public-lan-prefixes
+ t-provided-v6-lan-public-prefixes +
nat
+ nat +
v4-nat-mapping-entries
+ v4-nat-mapping-entries +
static-routes
v6-static-routes
+ v6-static-routes +
v4-static-routes
+ v4-static-routes +
pat
+ pat +
v4-pat-pools
+ v4-pat-pools +
+
+
+ +
+
+
+

  Page <%= pageInfo.currentPage %> of <%= pageInfo.pageCount %>

+
+
+ <% if (pageInfo.pageCount > 1) { %> +
    + <% if (pageInfo.currentPage > 1) { %> +
  • «
  • + <% } %> + <% var i = 1; + if (pageInfo.currentPage > 10) { + i = +pageInfo.currentPage - 9; + } %> + <% if (i !== 1) { %> + + <% } %> + <% for (i; i<=pageInfo.pageCount; i++) { %> + <% if (pageInfo.currentPage == i) { %> +
  • <%= i %> (current)
  • + <% } else { %> +
  • <%= i %>
  • + <% } %> + <% if (i == (+pageInfo.currentPage + 9)) { %> + + <% break; } %> + <% } %> + <% if (pageInfo.currentPage != pageInfo.pageCount) { %> +
  • »
  • + <% } %> +
+ <% } %> +
+
+
+ + + +<% include ../partials/vnf_vm_information %> +<% include ../partials/network_connections %> +<% include ../partials/l3sdn_vnf_fields %> +<% include ../partials/l3_interface_ipv4_address_list %> +<% include ../partials/l3_interface_ipv6_address_list %> +<% include ../partials/vlan %> +<% include ../partials/interface %> +<% include ../partials/ipv6_infrastructure_static_route %> +<% include ../partials/ipv4_infrastructure_static_route %> +<% include ../partials/equipment %> +<% include ../partials/svc_config_additional_data %> +<% include ../partials/feature_list %> +<% include ../partials/pat %> +<% include ../partials/pat_pools %> +<% include ../partials/v6_static_routes %> +<% include ../partials/v4_static_routes %> +<% include ../partials/nat %> +<% include ../partials/v4_nat_mapping_entries %> +<% include ../partials/t_provided_v4_lan_public_prefixes %> +<% include ../partials/v4_firewall_packet_filters %> +<% include ../partials/udp_port_list %> +<% include ../partials/tcp_port_list %> +<% include ../partials/v6_firewall_packet_filters %> +<% include ../partials/firewall_lite %> +<% include ../partials/excluded_v6_addresses %> +<% include ../partials/excluded_v6_address_from_default_pool %> +<% include ../partials/v6_dhcp_pools %> +<% include ../partials/excluded_v4_address_from_default_pool %> +<% include ../partials/excluded_v4_address %> +<% include ../partials/v4_dhcp_pools %> +<% include ../partials/dhcp %> +<% include ../partials/routing_protocol %> +<% include ../partials/t_provided_v6_lan_public_prefixes %> +<% include ../partials/vr_lan_interface %> +<% include ../partials/service_information_modal %> +<% include ../partials/l2_homing_information_modal %> +<% include ../partials/sdnc_request_header_modal %> +<% include ../partials/request_information_modal %> +<% include ../partials/svc_topology_additional_data_modal %> +<% include ../partials/service_status_modal %> +<% include ../partials/oper_status_modal %> +<% include ../partials/internet_evc_modal %> + +
+<% include ../partials/footer %> +
+ + + + + + diff --git a/admportal/views/odl/view.ejs b/admportal/views/odl/view.ejs new file mode 100644 index 00000000..34d7d935 --- /dev/null +++ b/admportal/views/odl/view.ejs @@ -0,0 +1,91 @@ + + + + SDN-C AdminPortal + + + <% include ../partials/head %> + <% include ../partials/header %> + + + +
+

Worklist Orders - Request ID:     <%= response_obj.requests[0]['svc-request-id'] %>

+
+ +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance ID<%= response_obj.requests[0]['svc-instance-id'] %>
Action<%= response_obj.requests[0]['svc-action'] %>
VNF Type<%= response_obj.requests[0]['svc-vnf-type'] %>
Notification URL<%= response_obj.requests[0]['svc-notification-url'] %>
VNF Name<%= response_obj.requests[0].vnf['vnf-name'] %>
VNF IPv4 Addr<%= response_obj.requests[0].vnf['vnf-oam-ipv4-addr'] %>
VNF Type<%= response_obj.requests[0].vnf['vnf-type'] %>
VNF Status<%= response_obj.requests[0].vnf['vnf-status'] %>
AIC Site ID<%= response_obj.requests[0].vnf['aic-site-id'] %>
Availability Zone<%= response_obj.requests[0].vnf['availability-zone'] %>
Network Connection(s)
<%= JSON.stringify(response_obj.requests[0].vnf['network-connections'],null,4) %>
+
+ + <% include ../partials/form %> + +
+ <% include ../partials/footer %> +
+ + + + + diff --git a/admportal/views/odl/viewvnf.ejs b/admportal/views/odl/viewvnf.ejs new file mode 100644 index 00000000..dd2e05c9 --- /dev/null +++ b/admportal/views/odl/viewvnf.ejs @@ -0,0 +1,62 @@ + + + + SDN-C AdminPortal + + + <% include ../partials/head %> + <% include ../partials/header %> + + + + +
+

Worklist Orders - VNF - Request ID <%= request_id %>

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VNF OAM IPv4 Addr<%= vnf_obj.vnf['vnf-oam-ipv4-addr'] %>
AIC Site ID<%= vnf_obj.vnf['aic-site-id'] %>
VNF Name<%= vnf_obj.vnf['vnf-name'] %>
VNF Type<%= vnf_obj.vnf['vnf-type'] %>
VNF Status<%= vnf_obj.vnf['vnf-status'] %>
Availability Zone<%= vnf_obj.vnf['availability-zone'] %>
Network Connection(s)
<%= JSON.stringify(vnf_obj.vnf['network-connections'],null,4) %>
+
+ + + + + -- cgit 1.2.3-korg