10-02-2022 дата публикации
Номер: US20220046019A1
Принадлежит:
An example network device includes one or more hardware resources; a physical interface for receiving a hardware component; a memory; and one or more processors implemented in circuitry and configured to: receive the hardware component that has been coupled to the physical interface of the network device; receive data for an application programming interface (API) for the hardware component; store the data for the API to the memory; and execute the data for the API to grant the hardware component secure access to the hardware resources of the network device via the API. The hardware component may be an optical network interface. The resources may be raw registers of the network device. The processors may further tune the hardware component according to configuration for the network device, such as power management configuration for the network device, or the network device itself. 1. A method comprising:receiving, by a network device, a hardware component that has been coupled to the network device, the network device having been manufactured by a manufacturer and the hardware component having been developed by a third party developer different than the manufacturer;receiving, by the network device, data for an application programming interface (API) for the hardware component; andexecuting, by the network device, the API for the hardware component to grant the hardware component secure access to hardware resources of the network device via the API.2. The method of claim 1 , wherein executing the data for the API comprises granting the hardware component access to raw registers of the network device claim 1 , an I2C bus of the network device claim 1 , or a serial peripheral interface (SPI) of the network device.3. The method of claim 1 , wherein executing the data for the API comprises providing two-way communication between the network device and the hardware component via the API.4. The method of claim 1 , further comprising tuning the hardware component to the ...
Подробнее