Overview

This chapter provides an overview of Cisco IOx, Cisco Fog Director, and the lifecycle of a Cisco IOx app. It includes these sections:

About Cisco IOx

Cisco IOx is an application enablement platform that provides uniform and consistent hosting capabilities for various types of applications, or apps, across various Cisco platforms. This platform brings together Cisco IOS, the industry-leading networking operating system, and Linux, the leading open source platform. Linux-based applications can run on Cisco devices in the Cisco IOx framework, so using this platform, you can bring custom applications and interfaces to the network.

With Cisco IOx, developers can create a wide variety of IoT apps, such as data aggregation system and control systems.

About Cisco Fog Director

Cisco Fog Director allows administrators to manage, administer, monitor, and troubleshoot Cisco IOx apps and devices. It provides a web-based user interface from which you can perform activities that include the following:

  • Install and uninstall apps
  • Start and stop apps
  • Upgrade apps
  • View the status of apps
  • Backup and restore apps
  • Monitor apps and devices and collect statistics
  • Create and obtain debug logs for troubleshooting

App Configuration Caveat

Cisco Fog Director provides options for configuring apps as described in the “Reconfiguring App Parameters” section. You can use these options or another tool, such as Cisco IOx Local Manager or a custom device manager, to configure an app. However, if you use another tool, the configuration updates that you make are not synced to Cisco Fog Director. As a best practice, we recommend that you only the Cisco Fog Director configuration options or another tool to configure an app that you manage with Cisco Fog Director, and that you do not switch between tools to configure that app.

Hardware Platform Caveat

Cisco C800 series devices do not provide dedicated storage for apps. These devices have a single, soldered-on flash storage that is shared between Cisco IOS and apps. The flash storage is not field replaceable.

Flash has a finite number of P/E cycles. It is expected to last for the duration of the device lifecycle if the flash is used only for Cisco IOS configuration. If apps write to the flash frequently, flash wear out becomes a serious concern.

We recommend that developers and users monitor and throttle the frequency of writes to flash. If an app demands frequent writes or a large amount of data storage, we recommend that data be exported for off-device storage.

App Lifecycle

The following table provides the general operations that are involved in the lifecycle of a Cisco IOx app. Use this information as a guide as you deploy apps. There are many additional operations that you can perform as needed. Although those operations are not listed in this table, they are described in detail in this manual.

 

Operation
Reference

Step 1

Add to Cisco Fog Director each device on which the app is to be installed.

See the “Adding Devices” section or the “Importing Devices” section.

Step 2

Add to Cisco Fog Director cartridges that PAAS apps require.

See the “Adding a Cartridge Manually” section

Step 3

Upload the app to Cisco Fog Director.

The app is now an unpublished app and appears in the Unpublished Apps section on the Cisco Fog Director Apps View page. Although it is now in Cisco Fog Director but not yet ready to be installed on a device.

See the “Adding an App” section.

Step 4

Publish the unpublished app in Cisco Fog Director.

The app is now an available app and appears in the Available Apps section on the Cisco Fog Director Apps View page. The app can now be installed on a device.

See the “Publishing an App” section.

Step 5

Use Cisco Fog director to update or add information for the app as needed. This information includes an icon, description, release notes, and external links.

See the “Editing an App Icon, Description, and Release Notes” section and the “Configuring App Links” section.

Step 6

Use Cisco Fog Director to install the available app on one or more devices.

The app is now an installed app and appears in the Installed Apps section on the Cisco Fog Director Apps View page.

See the “Installing an App” section.

Step 7

Use Cisco Fog Director to reconfigure the app if needed.

See the “Reconfiguring App Parameters” section.

Step 8

To keep the app current, use Cisco Fog Director to upgrade the app when needed.

See the “Upgrading an App” section.