Professional Access Point

Administrator Guide

and Field Reference” on page 25–253.

Configuration information for the Professional Access Point is represented as a set of classes and objects.

Different kinds of information uses different classes. For example, information about a network interface is represented by the "interface" class, while information about an NTP client is represented by the "ntp" class.

Depending on the type of class, there can be multiple instances of a class. For example, there is one instance of the "interface" class for each network interface that the access point has (Ethernet, radio, and so on), while there is just a singleton instance of the "ntp" class, since an access point needs only a single NTP client. Some classes require their instances to have names to differentiate between them; these are called named classes. For example, one interface might have a name of eth0 to indicate that it is an Ethernet interface, while another interface could have a name of wlan0 to indicate it is a wireless LAN (WLAN) interface. Instances of singleton classes do not have names, since they only have a single instance. Classes that can have multiple instances but do not have a name are called anonymous classes. Together, singleton and anonymous classes are called unnamed classes. Some classes require their instances to have names, but the multiple instances can have the same name to indicate that they are part of the same group. These are called group classes.

has name? \ # of instances?

one

multiple

no

singleton

anonymous

 

 

 

yes - unique

n/a

unique named

 

 

 

yes - non-unique

n/a

group named

 

 

 

Each class defines a set of fields, that describe the actual information associated with a class. Each instance of a class will have a value for each field that contains the information. For example, the interface class has fields such as "ip" and "mask". For one instance, the ip field might have a value of 192.168.1.1 while the mask field has a value of 255.255.0.0; another instance might have an ip field with a value of 10.0.0.1 and mask field with a value of 255.0.0.0.

Class Structure, Commands, and Examples - 251

Page 251
Image 251
USRobotics Instant802 APSDK manual Field Reference on, Has name? \ # of instances? One Multiple