From e8a4652f70284c414ceafc086669dfd4b935573d Mon Sep 17 00:00:00 2001 From: Steven Saunders Date: Wed, 12 Aug 2015 08:48:07 -0600 Subject: Add demo-ui folder. This folder contains HTML/CSS/Javascript code for the VCPE Demo UI. The Demo UI allows you to CRUD CoS instances, and EPL instances, and will also display information about EVCs and UNIs that were created as well Change-Id: I32eea1121c21e0b451efc057a0c0f30fe5601cd5 Signed-off-by: Steven Saunders --- demo-ui/app/views/mef-panel.html | 370 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 370 insertions(+) create mode 100644 demo-ui/app/views/mef-panel.html (limited to 'demo-ui/app/views/mef-panel.html') diff --git a/demo-ui/app/views/mef-panel.html b/demo-ui/app/views/mef-panel.html new file mode 100644 index 0000000..df9f60b --- /dev/null +++ b/demo-ui/app/views/mef-panel.html @@ -0,0 +1,370 @@ + + +
MEF EPL Data
+
+ + + + +
+
+
UNI-1 MEF Attributes
+
+ (Source = ODL UNI Mgr DB) +
+
+ +
+
Uni ID:
+
+ + {{ currentEvcUnis[0].uni[0]["id"] }} + +
+
+ +
+
IP Address:
+
+ + {{ currentEvcUnis[0].uni[0]["ip-address"] }} + +
+
+ +
+
MAC Address:
+
+ + {{ currentEvcUnis[0].uni[0]["mac-address"] }} + +
+
+ +
+
Speed:
+
+ + {{ uniToSpeedString(currentEvcUnis[0]) }} + +
+
+ +
+
Mac Layer:
+
+ + {{ currentEvcUnis[0].uni[0]["mac-layer"] }} + +
+
+ +
+
Phys Medium:
+
+ + {{ currentEvcUnis[0].uni[0]["physical-medium"] }} + +
+
+ +
+
MTU Size:
+
+ + {{ currentEvcUnis[0].uni[0]["mtu-size"] }} + +
+
+ +
+
Mode:
+
+ + {{ currentEvcUnis[0].uni[0]["mode"] }} + +
+
+ +
+
Type:
+
+ + {{ currentEvcUnis[0].uni[0]["type"] }} + +
+
+ +
+ + + +
+ +
+
EVC MEF Attributes
+
+ (Source = EVC Mgr DB)
+
+
+
Evc ID:
+
+ + {{ currentEplEvc.id }} + +
+
+ +
+
CoS ID:
+
+ + {{ currentEplEvc.cosId }} + +
+
+ +
+
Uni-1/2 IDs:
+
+ + + {{ "[" + currentEplEvc.uniIdList[0] + "] | [" + currentEplEvc.uniIdList[1] + "]"}} + + +
+
+ +
+
Uni-1/2 IPs:
+
+ + {{ currentEplEvc.uniIpList[0] }} + +
+
+
+
+
+ + {{ currentEplEvc.uniIpList[1] }} + +
+
+ +
+
Uni-1/2 MACs:
+
+ + {{ currentEplEvc.uniMacList[0] }} + +
+
+
+
+
+ + {{ currentEplEvc.uniMacList[1] }} + +
+
+ +
+
1-Way Availability:
+
+ + {{ currentEplEvc.oneWayAvailability }} + + % +
+
+ +
+
1-Way Frame Delay:
+
+ + {{ currentEplEvc.oneWayFrameDelay }} + + ms +
+
+ +
+
1-Way Frame Loss Ratio:
+
+ + {{ currentEplEvc.oneWayFrameLossRatio }} + + % +
+
+ +
+
EVC Type:
+
+ + {{ currentEplEvc.evcType }} + +
+
+ +
+
Unicast Frame Delivery:
+
+ + {{ currentEplEvc.unicastFrameDelivery }} + +
+
+ +
+
Broadcast Frame Delivery:
+
+ + {{ currentEplEvc.broadcastFrameDelivery }} + +
+
+ +
+
Multicast Frame Delivery:
+
+ + {{ currentEplEvc.multicastFrameDelivery }} + +
+
+ +
+
CE VLAN ID Preservation:
+
+ + {{ currentEplEvc.ceVLanIdPreservation }} + +
+
+ +
+
CE VLAN CoS Preservation:
+
+ + {{ currentEplEvc.ceVlanCosPreservation }} + +
+
+ +
+
Max Service Frame Size:
+
+ + {{ currentEplEvc.evcMaxSvcFrameSize }} + + bytes +
+
+
+ + + +
+
+
UNI-2 MEF Attributes
+
+ (Source = ODL UNI Mgr DB) +
+
+ +
+
Uni ID:
+
+ + {{ currentEvcUnis[1].uni[0]["id"] }} + +
+
+ +
+
IP Address:
+
+ + {{ currentEvcUnis[1].uni[0]["ip-address"] }} + +
+
+ +
+
MAC Address:
+
+ + {{ currentEvcUnis[1].uni[0]["mac-address"] }} + +
+
+ +
+
Speed:
+
+ + {{ uniToSpeedString(currentEvcUnis[1]) }} + +
+
+ +
+
Mac Layer:
+
+ + {{ currentEvcUnis[1].uni[0]["mac-layer"] }} + +
+
+ +
+
Phys Medium:
+
+ + {{ currentEvcUnis[1].uni[0]["physical-medium"] }} + +
+
+ +
+
MTU Size:
+
+ + {{ currentEvcUnis[0].uni[0]["mtu-size"] }} + +
+
+ +
+
Mode:
+
+ + {{ currentEvcUnis[1].uni[0]["mode"] }} + +
+
+ +
+
Type:
+
+ + {{ currentEvcUnis[1].uni[0]["type"] }} + +
+
+ +
+
\ No newline at end of file -- cgit 1.2.3-korg