net: ipc_router: Configure the IPC router NODE ID

Add support to configure the IPC Router NODE ID per target
basis through defconfig value.

CRs-Fixed: 2263332
Change-Id: If26cdb384cc98246f80b70d7d943d820d78e7d9e
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
diff --git a/net/ipc_router/Kconfig b/net/ipc_router/Kconfig
index 30cd45a..9121667 100644
--- a/net/ipc_router/Kconfig
+++ b/net/ipc_router/Kconfig
@@ -23,3 +23,13 @@
 	  once configured with the security rules will ensure that the
 	  sender of the message to a service belongs to the relevant
 	  Linux group as configured by the security script.
+
+config IPC_ROUTER_NODE_ID
+	depends on IPC_ROUTER
+	int "IPC router local NODE ID"
+	default 1
+	help
+	  This option allows to configure the IPC Router NODE ID dynamically.
+	  The NODE defined here is used as the local NODE ID by IPC Router
+	  core and publish the same NODE ID to other NODES present in the
+	  network.