Below you will find examples for each block within this OOT module.
The remaining examples below require the use Azure resources, most of which require applications to authenticate to them in some way before they can be used. Most of the GNU Radio blocks in the Azure software radio Out-of-Tree module support the use of the DefaultAzureCredential class, which supports a wide variety of credential types, as one of their authentication methods. In general, the examples below try to show how to use the blocks in the Azure software radio Out-of-Tree module in applications running on resources in Azure as well as in on premise hardware, such as developer systems or edge-deployed servers. Azure managed identities can be convenient credentials for use in applications running in Azure, while credentials retrieved by signing in using the Azure CLI can be used interactively from any system with access to Azure.
The article below walks through how to enable a managed identity on a virtual machine in Azure so that applications running on that VM can authenticate to other Azure resources.
The Key Vault block is used to retrieve secrets stored in Azure Key Vault, and these two quickstarts show how they can be used within GNU Radio.
- Quickstart: Key Vault with Role Based Access Controls and Azure CLI Credentials
- Quickstart: Key Vault with Role Based Access Controls and Managed Identities
Many GNU Radio applications involve working with files, and the Blob Source and Sink blocks allow files to be stored and retrieved from Azure with ease. The following quickstarts show how to use these blocks, depending on whether you are on a VM with Managed ID enabled, or are using az login
.
- Quickstart: Running the Blob Source and Sink blocks with Managed ID
- Quickstart: Running the Blob Source and Sink blocks with
az login
The Event Hub blocks provide an interface to send and receive events to Azure Event Hubs using the message passing interface in GNU Radio. The article below walks through examamples of both the Source and Sink blocks.
The REST API Block hosts a REST API server which allows getting status from a flowgraph, configuring variables, and calling functions as specified in the readable and writable block params. The following quickstart shows how to use this block.