Method and system for compiling management information base specifications
First Claim
1. A method for generating a plurality of output files based on a MIB specification, the method including the steps of:
- performing a first MIB compilation operation by causing a first MIB compiler to read one or more files containing the MIB specification;
causing the first MIB compiler to read a first plurality of directives from one or more directive files separate from the one or more files containing the MIB specification, the first plurality of directives specifying modifications to the MIB specification;
causing the first MIB compiler to generate a first output file based on the MIB specification as modified as specified by said first plurality of directives;
performing a second MIB compilation operation by causing a second MIB compiler to read the one or more files containing the MIB specification;
causing the second MIB compiler to read a second plurality of directives from one or more directive files separate from the one or more files containing the MIB specification, the second plurality of directives specifying modifications to the MIB specification; and
causing the second MIB compiler to generate a second output file based on the MIB specification as modified as specified by said second plurality of directives.
8 Assignments
0 Petitions
Accused Products
Abstract
A system and method for generating a plurality of output files based on a Management Information Base (MIB) specification is provided. The system includes one or more MIB compilers designed to produce outputs based on a MIB specification. Each of the MIB compilers reads a set of directives that are maintained separate from the MIB specification. The set of directives indicate which of the modules and items defined in the MIB specification are to be processed during a given MIB compilation operation. The set of directives may also specify MIB additional attributes and values for items that are defined in the MIB specification. The set of directives may also specify that, for the purposes of the MIB compilation operation, a MIB item is to be treated as though it had a different attribute than an attribute specified for the MIB item in the MIB specification. The system also includes a single syntax checking unit that checks for syntax errors in the MIB specification prior to sending data representing the MIB specification to any MIB compiler in the system. The system includes a MIB compiler for generating, from multiple files containing a one or more MIB module specifications, a single file containing a single MIB module specification. The system also includes a MIB compiler for generating a directive file containing single-item selection directives from a directive file containing one or more multiple-item selection directives.
-
Citations
20 Claims
-
1. A method for generating a plurality of output files based on a MIB specification, the method including the steps of:
-
performing a first MIB compilation operation by causing a first MIB compiler to read one or more files containing the MIB specification; causing the first MIB compiler to read a first plurality of directives from one or more directive files separate from the one or more files containing the MIB specification, the first plurality of directives specifying modifications to the MIB specification; causing the first MIB compiler to generate a first output file based on the MIB specification as modified as specified by said first plurality of directives; performing a second MIB compilation operation by causing a second MIB compiler to read the one or more files containing the MIB specification; causing the second MIB compiler to read a second plurality of directives from one or more directive files separate from the one or more files containing the MIB specification, the second plurality of directives specifying modifications to the MIB specification; and causing the second MIB compiler to generate a second output file based on the MIB specification as modified as specified by said second plurality of directives. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for generating a single file, defining a selected plurality of MIB items, which is associated with an agent, the method comprising the steps of:
-
reading a MIB specification from a plurality of files, wherein the MIB specification includes definitions for a plurality of MIB items; reading a plurality of directives from one or more directive files, wherein said one or more directive files are separate from said plurality of files, wherein said plurality of directives includes a set of selection directives specific to said agent, and wherein said set of selection directives indicate a subset of said plurality of MIB items; and compiling said single file, concurrently utilizing the MIB specification and the plurality of directives, to include definitions of all MIB items of said plurality of MIB items that are indicated by said set of selection directives. - View Dependent Claims (11)
-
-
12. A method for generating a single-item selection directive file, the method comprising the steps of:
-
reading a plurality of directives from one or more directive files, wherein the plurality of directives includes one or more multiple-item selection directives; reading a MIB specification from one or more MIB files, wherein each of said one or more multiple-item selection directives indicates a plurality of items defined in said MIB specification; creating said single-item selection directive file; storing any single-item selection directives included in said plurality of directives into said single-item selection directive file; and for each of said one or more multiple-item selection directives generating a plurality of single-item selection directives, each of which indicates one of the plurality of items in said MIB specification that are covered by said multiple-item selection directive; and storing said plurality of single-item selection directives in said single-item selection directive file. - View Dependent Claims (13)
-
-
14. A method for use in a multiple-MIB compiler system, the method comprising the steps of:
-
causing a syntax checking unit to read a MIB specification from one or more MIB files; determine whether the MIB specification conforms to a plurality of syntax rules; generate processed MIB information containing data representing a plurality of modules defined in said MIB specification; causing a first MIB compiler to read the processed MIB information; generate a first output based on said processed MIB information;
causing a second MIB compiler to read the processed MIB information;generate a second output based on said processed MIB information; wherein said first MIB compiler and said second MIB compiler are different MIB compilers. - View Dependent Claims (15, 16, 17)
-
-
18. A system for generating a plurality of output files based on a MIB specification, the system comprising:
-
a MIB compiler; and one or more files containing a first plurality of directives, said first plurality of directives including a first set of directives that specify a first set of MIB items defined in said MIB specification; one or more files containing a second plurality of directives, said second plurality of directives including a second set of directives that specify a second set of MIB items defined in said MIB specification; wherein said MIB compiler reads said MIB specification and said one or more files containing said first plurality of directives and generates a first output file based on said first set of MIB items; wherein said MIB compiler reads said one or more files containing said second plurality of directives and said MIB specification and generates a second output file based on said second set of MIB items. - View Dependent Claims (19, 20)
-
Specification