-
IOx Host applications on Cisco hardware, including container-based deployments. -
Cisco IPv6 Mesh Create a communication network overlay for the electric distribution grid to enable street lighting, connectivity to solar or wind power, on-demand metering, and other smart city use cases. -
Control Center Automate connectivity management, deployment, and track activity for all your cellular connected devices.
Building an IOx Application with Docker
With the Dockerfile and main.py files edited and in place, the last file to modify for this lab is the package.yaml file that defines the instructions on how to package and run the IOx application. YAML is a markup language that in IOx is used to store configuration information about the application package.
-
1 From within your working directory on the Desktop, open the package.yaml file with a text editor.
-
2 Create the package file
descriptor-schema-version: "2.2" info: name: iox_docker_python_ll description: "IOx Docker Python Web Learning Lab Application" version: "1.0" author-link: "http://www.cisco.com" author-name: "Cisco Systems" app: cpuarch: "x86_64" type: docker resources: profile: c1.small network: - interface-name: eth0 ports: tcp: - 8000 startup: rootfs: rootfs.tar target: ["python3 main.py"]
Note: Feel free to copy and paste this yaml block into the package.yaml file -
3 Review what this markup file represents in the configuration of the IOx application:
- The descriptor-schema-version section of the file defines what version is used. Currently 2.2 is the standard for IOx 1.2 applications.
- The info section describes the informational aspects of the application that will be displayed when deploying and when installed.
- The app section defines the properties of the application. This includes the CPU architecture, the type of application (in this case docker), and then the resource profile the application should use. The interface-name sub-section indicates that port 8000 will be utilized by the IOx application.
- Finally, the startup section tells the IOx application framework which root filesystem to use and what command to run as specified in target. In this case, it is calling the python3 interpreter to run the main.py script.
-
4 Save the file with your modification.
Cisco IOx Local Manager
Cisco IOx Local Manager is a platform-specific application that is installed on a host system as part of the installation of the Cisco IOx framework on that device. It provides a web-based user interface that you can use to manage, administer, monitor, and troubleshoot apps on the host system, and to perform a variety of related activities.
Cisco IoT Field Network Director
Cisco IoT Field Network Director (FND) is the network management system for FAN deployment at scale. Network connectivity and bandwidth availability for IoT gateways and devices are often influenced by environmental changes and cellular network coverage. Cisco FND is designed to help operations teams manage large scale FAN lifecycles across changing conditions and network constraints to stay up and running.
Sandbox
Try out IoT devices and orchestrators in our IoT Sandboxes, a free 24/7 hosted development environment for integrating and working with code.
Code Exchange
Check out IoT examples, sample code, and more on GitHub. Get inspired by what others have built.
Ecosystem Exchange
A platform to connect Cisco partners who are building solutions and services using Cisco APIs, to customers who are looking to leverage or integrate existing solutions to drive business outcomes.