You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the CLI is only able to communicate with Netgear switches via the Netgear Switch Discover Protocol. At its core, the communication with devices can always be seperated into two things:
Encoding
The action, either read or write, alongside the desired attributes to be read or written are encoded into a message with a payload. Currently, the library supports TLV (tag-length-value) encoding only.
Transport
The encoded message is transmitted over the network using a common network protocol. Currently, the library supports two mechanism, UDP broadcast and UDP unicast. The ports for this are currently hardcoded.
The first step towards improving this is to create the pkg/driver, which defines high-level interfaces. The current idea is to set up multiple RPC services based on the feature, such that there would be the following services for example:
VLAN: Set up Virtual Local Area Networks
BandwidthLimit: Limit ingress or egress network bandwidth
Links: Show status information about network links
The text was updated successfully, but these errors were encountered:
nicklasfrahm
changed the title
Make internal function transport and protocol agnostic
Make internal transport and protocol agnostic
Mar 31, 2022
nicklasfrahm
changed the title
Make internal transport and protocol agnostic
Make internals transport and protocol agnostic
Mar 31, 2022
Currently, the CLI is only able to communicate with Netgear switches via the Netgear Switch Discover Protocol. At its core, the communication with devices can always be seperated into two things:
The action, either read or write, alongside the desired attributes to be read or written are encoded into a message with a payload. Currently, the library supports TLV (tag-length-value) encoding only.
The encoded message is transmitted over the network using a common network protocol. Currently, the library supports two mechanism, UDP broadcast and UDP unicast. The ports for this are currently hardcoded.
The first step towards improving this is to create the
pkg/driver
, which defines high-level interfaces. The current idea is to set up multiple RPC services based on the feature, such that there would be the following services for example:The text was updated successfully, but these errors were encountered: