blob: 05d0a47f57d5a8b1911faf020bfea99530eae8ce [file] [log] [blame]
Bhavesh72ead492018-07-19 16:29:18 +05301<!--
2~ Copyright 2018-present Open Networking Foundation
3~
4~ Licensed under the Apache License, Version 2.0 (the "License");
5~ you may not use this file except in compliance with the License.
6~ You may obtain a copy of the License at
7~
8~ http://www.apache.org/licenses/LICENSE-2.0
9~
10~ Unless required by applicable law or agreed to in writing, software
11~ distributed under the License is distributed on an "AS IS" BASIS,
12~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13~ See the License for the specific language governing permissions and
14~ limitations under the License.
15-->
16<div id="flow-details-panel" class="floatpanel" [@flowDetailsState]="flowId!=='' && !closed">
17 <div class="container">
18 <div class="top">
19 <div class="close-btn">
20 <onos-icon class="close-btn" classes="active-close" iconId="close" iconSize="20" (click)="close()"></onos-icon>
21 </div>
22 <div class="flow-icon">
23 <onos-icon classes="details-icon" iconId="flowTable" [iconSize]="42"></onos-icon>
24 </div>
25 <h2>{{ flowId }}</h2>
26 <div class="scroll">
27 <div class="top-content">
28 <table>
29 <tbody>
30 <tr>
31 <td class="label">{{ lionFn('flowId') }} :</td>
32 <td class="value">{{ flowId }}</td>
33 </tr>
34 <tr>
35 <td class="label">{{ lionFn('state') }} :</td>
36 <td class="value">{{ detailsData.state }}</td>
37 </tr>
38 <tr>
39 <td class="label">{{ lionFn('bytes') }} :</td>
40 <td class="value">{{ detailsData.bytes }}</td>
41 </tr>
42 <tr>
43 <td class="label">{{ lionFn('packets') }} :</td>
44 <td class="value">{{ detailsData.packets }}</td>
45 </tr>
46 <tr>
47 <td class="label">{{ lionFn('duration') }} :</td>
48 <td class="value">{{ detailsData.duration }}</td>
49 </tr>
50 <tr>
51 <td class="label">{{ lionFn('priority') }} :</td>
52 <td class="value">{{ detailsData.priority }}</td>
53 </tr>
54 <tr>
55 <td class="label">{{ lionFn('tableName') }} :</td>
56 <td class="value">{{ detailsData.tableName }}</td>
57 </tr>
58 <tr>
59 <td class="label">{{ lionFn('appName') }} :</td>
60 <td class="value">{{ detailsData.appName }}</td>
61 </tr>
62 <tr>
63 <td class="label">{{ lionFn('appId') }} :</td>
64 <td class="value">{{ detailsData.appId }}</td>
65 </tr>
66 <tr>
67 <td class="label">{{ lionFn('groupId') }} :</td>
68 <td class="value">{{ detailsData.groupId }}</td>
69 </tr>
70 <tr>
71 <td class="label">{{ lionFn('idleTimeout') }} :</td>
72 <td class="value">{{ detailsData.idleTimeout }}</td>
73 </tr>
74 <tr>
75 <td class="label">{{ lionFn('hardTimeout') }} :</td>
76 <td class="value">{{ detailsData.hardTimeout }}</td>
77 </tr>
78 <tr>
79 <td class="label">{{ lionFn('permanent') }} :</td>
80 <td class="value">{{ detailsData.permanent }}</td>
81 </tr>
82 </tbody>
83 </table>
84 </div>
85 <hr>
86 <h3>{{ lionFn('selector') }}</h3>
87 <div class="top-content">
88 <table>
89 <tbody>
90 <tr>
91 <td class="label">ETH_TYPE :</td>
92 <td class="value">{{ detailsData.selector }}</td>
93 </tr>
94 </tbody>
95 </table>
96 </div>
97 <hr>
98 <h3>{{ lionFn('treatment') }}</h3>
99 <div class="top-content">
100 <table>
101 <tbody>
102 <tr>
103 <td class="label">[imm]OUTPUT :</td>
104 <td class="value">{{ immed(detailsData.treatment) }}</td>
105 </tr>
106 <tr>
107 <td class="label">Clear deferred :</td>
108 <td class="value">{{ clearDef(detailsData.treatment) }}</td>
109 </tr>
110 </tbody>
111 </table>
112 </div>
113 </div>
114 </div>
115 </div>
116</div>