US Patent No. 10,924,323

APPARATUS, SYSTEM, AND METHOD FOR ENABLING NETWORK MANAGEMENT SYSTEMS TO QUERY AND OBTAIN RELATED OBJECTS STORED ON NETWORK DEVICES


Patent No. 10,924,323
Issue Date February 16, 2021
Title Apparatus, System, And Method For Enabling Network Management Systems To Query And Obtain Related Objects Stored On Network Devices
Inventorship Bijoymon M. Chandrasekharan, Bangalore (IN)
Assignee Juniper Networks, Inc, Sunnyvale, CA (US)

Claim of US Patent No. 10,924,323

1. A method comprising:creating, at a network device, a relationship management information base that facilitates querying relationships of objects stored across a plurality of other management information bases on the network device;
loading, into the relationship management information base, a first partition that defines relationships among a plurality of objects stored across the other management information bases on the network device, wherein the plurality of objects whose relationships are defined by the first partition comprise:
a virtual bridge;
a main interface of the virtual bridge;
at least one sub-interface of the virtual bridge; and
statistics for the main interface and the sub-interface of the virtual bridge;
loading, into the relationship management information base, a second partition that defines relationships among the plurality of objects stored across the other management information bases on the network device;
assigning partition names to the first partition and the second partition;
populating a table that includes one or more trees of object identifiers for the objects;
appending, within the table, regular expressions to endings of the object identifiers included in the table;
indexing the table by the partition names assigned to the first and second partitions and the trees of object identifiers;
receiving, at the network device, a single query directed to the relationship management information base from a network management system, wherein the single query identifies the first partition by the partition name assigned to the first partition and does not include object identifiers for all the objects whose relationships are defined by the first partition that is loaded into the relationship management information base;
providing, at the network device, a Simple Network Management Protocol (SNMP) agent;
in response to the single query directed to the relationship management information base:
identifying the first partition based on the partition name included in the single query;
identifying, within the table, a subset of the regular expressions that correspond to the first partition;
obtaining, by the SNMP agent from the other management information bases, instances of the objects whose relationships are defined by the first partition that is loaded into the relationship management information base and identified by the partition name included in the single query, wherein the SNMP agent obtains the instances of the objects by querying a sub-agent that manages the other management information bases for the instances of the objects based at least in part on the subset of regular expressions that correspond to the first partition; and
providing the objects obtained from the other management information bases to the network management system to satisfy the single query.