Support install IntIntents to device with postcard mode
Include the following changes:
- INT application now can install reuls/configs to the device based on the
Int intent telemetry mode and the functionality supported by device.
- Add "Telemetry Mode" option to INT app GUI
Change-Id: I1a9938b076030497a3b2984abe66fed09c190c7d
diff --git a/apps/inbandtelemetry/intApp-gui2/intApp/lib/intapp/intapp.component.html b/apps/inbandtelemetry/intApp-gui2/intApp/lib/intapp/intapp.component.html
index 0196aef..2d6b59a 100644
--- a/apps/inbandtelemetry/intApp-gui2/intApp/lib/intapp/intapp.component.html
+++ b/apps/inbandtelemetry/intApp-gui2/intApp/lib/intapp/intapp.component.html
@@ -60,6 +60,13 @@
<option value="UDP">UDP</option>
</select>
</label>
+ <label>
+ Telemetry Mode
+ <select name="telemetryMode" formControlName="telemetryMode">
+ <option selected value="POSTCARD">Postcard (INT-XD)</option>
+ <option value="INBAND_TELEMETRY">Embedded Data (INT-MD)</option>
+ </select>
+ </label>
<div *ngIf="formSend.controls.ip4DstPrefix.errors" class="invalid-feedback">
<div class="error-text" *ngIf="formSend.controls.ip4DstPrefix.errors.required"> Destination
IP is required
@@ -140,6 +147,7 @@
<td colId="dstPort" sortable>Dst Port</td>
<td colId="protocol" sortable>Protocol</td>
<td colId="metadata" sortable>Metadata</td>
+ <td colId="telemetryMode" sortable>Telemetry Mode</td>
</tr>
</table>
</div>
@@ -166,6 +174,7 @@
<td>{{ row.dstPort }}</td>
<td>{{ row.protocol }}</td>
<td>{{ row.metadata }}</td>
+ <td>{{ row.telemetryMode }}</td>
</tr>
</table>
</div>