Cisco Cisco Application Extension Platform for SRE

Page of 134
Cisco Application eXtension Platform 1.1 Developer Guide
  Developing an Application
44
  Developing an Application
RPM File Extractor Tool
The RPM File Extractor Tool (tools/rpm_extractor.sh) is part of the Cisco AXP SDK. The tool quickly 
extracts all the RPM files into the project source root directory. From the root directory, you can examine 
any dependencies the RPM files require, and view any preinstall, postinstall, or uninstall scripts that the 
RPMs contain.
For more information, see the 
CLI Plug-in Utility Tools and APIs 
Cisco AXP provides a mechanism for CLI applications to be integrated into the Cisco AXP CLI 
environment.
A set of tools are available for you to use during development to validate, process and package the CLI 
plug-in along with your application.
Value-added Service APIs 
Value-added service APIs allow application programs to access, manage, and augment the existing 
features of Cisco IOS software. Value-added service APIs are provided by Cisco add-on packages. See 
The Cisco AXP SDK includes libraries, APIs, and associated header files. The Cisco AXP SDK allows 
you to compile applications and link applications in a development environment.
Developing an Application
Developing an application is explained in the following sections. 
For developing CLI plug-in applications, see the 
.
 
Writing, Testing, and Packaging an Application
In general, the first step in the development process is to write your application along with startup and 
shutdown scripts in your Linux development environment. After testing your application, copy the 
application and the relevant scripts, extracted RPM files and any other required files to your build 
directory. You then create a package directory, run the Cisco AXP packaging tool to package your 
application ready to be installed onto the Cisco AXP.
Certificates
There are several steps to be followed when packaging your application before installing the application 
on Cisco AXP. One required step is to create a signed certificate for your application. Any application 
to be installed on Cisco AXP must have a signed certificate, a private key, and a development