APPLICATION PROGRAMMING INTERFACE FOR NETWORK SERVICE DEVICES
The present application describes a standardized application programming interface for network service devices. The application programming interface may be provided to network service devices of different manufacturers. Each network service device may, upon an initial boot sequence, perform a self-discovery process and gather information in a standardized format required by the application programming interface. The standardized information may then be made available to a network service provider and to other network service devices on the network.
1 . A method, comprising:
providing an application programming interface;
receiving, from a first network service device associated with a network, information about the first network service device based on an initial boot sequence of the first network service device, the information being formatted in a particular format specified by the application programming interface, the first network service device being associated with a first manufacturer;
receiving, from a second network service device associated with the network, information about the second network service device based on an initial boot sequence of the second network service device, the information being formatted in the particular format specified by the application programming interface, the second network service device being associated with a second manufacturer;
storing the information from the first network service device in a database associated with the network; and
storing the information from the second network service device in the database associated with the network.
2 . The method of claim 1 , wherein the application programming interface is associated with a network service provider.
3 . The method of claim 1 , wherein the initial boot sequence of the first network service device causes the first network service device to discover at least a portion of the information about the first network service device.
4 . The method of claim 1 , wherein the initial boot sequence of the second network service device causes the second network service device to discover at least a portion of the information about the second network service device.
5 . The method of claim 1 , wherein providing the application programming interface comprises providing the application programming interface to the first network service device upon detecting that the first network service device has been connected to the network.
6 . The method of claim 1 , further comprising causing the first network service device to provide the information about the first network service device to the second network service device.
7 . The method of claim 1 , wherein the information about the first network service device comprises at least one of information about ports of the first network service device, service capabilities of the first network service device, a service inventory of the first network service device, or a network topology associated with the first network service device.
8 . A system, comprising:
a first network service device, the first network service device being associated with a first manufacturer and including an application programming interface;
a second network service device, the second network service device being associated with a second manufacturer that is different from the first manufacturer and including the application programming interface; and
a network database, connected to a network and configured to:
receive first information from the first network service device, the first information being in a standardized format specified by the application programming interface associated with a network service provider;
receive second information from the second network service device, the second information being in the standardized format specified by the application programming interface associated with the network service provider; and
storing the first information and the second information.
9 . The system of claim 8 , wherein the application programming interface is associated with a network service provider.
10 . The system of claim 8 , wherein an initial boot sequence of the first network service device causes the first network service device to discover at least a portion of the information about the first network service device.
11 . The system of claim 8 , wherein an initial boot sequence of the second network service device causes the second network service device to discover at least a portion of the information about the second network service device.
12 . The system of claim 8 , further comprising a network service provider system, wherein the network service provider system is configured to provide the application programming interface to the first network service device upon detecting that the first network service device has been connected to the network.
13 . The system of claim 8 , wherein the first network service device is configured to provide the information about the first network service device to the second network service device upon an initial boot sequence of the first network service device.
14 . The system of claim 8 , wherein the information about the first network service device comprises at least one of information about ports of the first network service device, service capabilities of the first network service device, a service inventory of the first network service device, or a network topology associated with the first network service device
15 . A method performed by a network service device, comprising:
receiving an application programming interface associated with a network service provider;
upon an initial boot sequence, accessing the application programming interface stored on the network service device;
performing a self-discovery process specified by the application programming interface, the self-discovery processing including determining information corresponding to:
a topology associated with the network service device on a network of the network service provider;
service capabilities of the network service device; and
a service inventory associated with the network service device; and
standardizing the information according to the application programming interface; and
storing the standardized information in a storage device.
16 . The method of claim 15 , wherein the initial boot sequence of the first network service device causes the first network service device to perform the self-discovery process.
17 . The method of claim 15 , further comprising providing the standardized information in response to an application programming interface call from the network service provider.
18 . The method of claim 15 , wherein receiving the application programming interface comprises receiving the application programming interface in response to the first network service device being connected to the network for a first time.
19 . The method of claim 15 , further comprising providing at least a portion of the information to a second network service device connected to the network.
20 . The method of claim 19 , wherein providing at least a portion of the information to a second network service device connected to the network comprises a portion of the initial boot sequence.