Cisco Model 6109 6 MHz Off-Air Reference (NTSC) 安装指南
Chapter 1 Overview
10
4039132 Rev B
Software Component Model
Software Components
The USRM consists of a basic executable (usrm) plus a set of modular software
components in the form of libraries that comprise the basic platform. The basic
platform is the set of common core software used in all application-specific versions
of the USRM. These basic components referred to as "platform" components are
linked at run-time using standard Linux shared libraries. Application-specific
components that form a specific set of application services are activated and loaded
as "plug-in" components. The plug-in component is an isolated software component
that uses the services of the basic components to provide a service. A plug-in
component typically exposes a single API (the notification API) used by the USRM
to communicate with the component.
components in the form of libraries that comprise the basic platform. The basic
platform is the set of common core software used in all application-specific versions
of the USRM. These basic components referred to as "platform" components are
linked at run-time using standard Linux shared libraries. Application-specific
components that form a specific set of application services are activated and loaded
as "plug-in" components. The plug-in component is an isolated software component
that uses the services of the basic components to provide a service. A plug-in
component typically exposes a single API (the notification API) used by the USRM
to communicate with the component.
All USRM software components are packaged as Linux shared libraries with the .so
extension. The components are situated in different directories depending on the
purpose of the component. The USRM depends on this positioning to locate the
type of component.
extension. The components are situated in different directories depending on the
purpose of the component. The USRM depends on this positioning to locate the
type of component.
The basis of a software component is the model definition file that defines that data
model that represents the component. Every USRM component is based on a model
file. The model definition file is a text file that defines the data/attributes for the
data items that represent the component. Data items in the data model optionally
reference method routines. A naming convention data item (NotifyAPI) defines the
name of the method routine to receive notifications. The USRM communicates with
components using this notification interface. The method routines also provide
custom functionality for data.
model that represents the component. Every USRM component is based on a model
file. The model definition file is a text file that defines the data/attributes for the
data items that represent the component. Data items in the data model optionally
reference method routines. A naming convention data item (NotifyAPI) defines the
name of the method routine to receive notifications. The USRM communicates with
components using this notification interface. The method routines also provide
custom functionality for data.
In summary, the USRM software consists of a set of platform components and a set
of plug-in components. The platform components form the base USRM platform.
The plug-in components adapt the software to specific network devices and
protocols and implement applications that provide services to clients.
of plug-in components. The platform components form the base USRM platform.
The plug-in components adapt the software to specific network devices and
protocols and implement applications that provide services to clients.
Directory Structure
File directories are located relative to the location of the usrm main directory. The
usrm directory is typically /opt/usrm but this is not mandatory. The software
locates directories relative to the directory that contains the main executable (usrm),
as shown in the following directory structure.
usrm directory is typically /opt/usrm but this is not mandatory. The software
locates directories relative to the directory that contains the main executable (usrm),
as shown in the following directory structure.