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.ts b/apps/inbandtelemetry/intApp-gui2/intApp/lib/intapp/intapp.component.ts
index c4f9ba4..a884882 100644
--- a/apps/inbandtelemetry/intApp-gui2/intApp/lib/intapp/intapp.component.ts
+++ b/apps/inbandtelemetry/intApp-gui2/intApp/lib/intapp/intapp.component.ts
@@ -82,6 +82,7 @@
l4SrcPort: new FormControl(null, [ Validators.pattern(regSendPort)]),
l4DstPort: new FormControl(null, [ Validators.pattern(regSendPort)]),
protocol: new FormControl(),
+ telemetryMode: new FormControl("POSTCARD")
});
this.log.debug('IntAppComponent initialized');
}
@@ -120,7 +121,8 @@
"l4SrcPort": this.formSend.value.l4SrcPort,
"l4DstPort": this.formSend.value.l4DstPort,
"protocol": this.formSend.value.protocol,
- "metadata": this.formSend.value.name
+ "metadata": this.formSend.value.name,
+ "telemetryMode": this.formSend.value.telemetryMode
};
this.wss.sendEvent(intIntentAddReq, intentObjectNode);
}