Opendaylight Service Provider¶
OpendaylightServiceProvider(repo, address, username, password, port, encoding)¶
A service provider to be used to communicate with an OpenDaylight instance.
- repo – (
Repository) User provided repository stores cached models.
- address – (
str) IP address of the ODL instance
- username – (
str) Username to log in to the instance
- password – (
str) Password to log in to the instance
- port – (
int) Device port used to access the ODL instance.
- encoding – (
EncodingFormat) Type of encoding to be used for the payload. Default is
Returns the ServiceProvider instance corresponding to the device being controlled by the OpenDaylight instance, indicated by
Parameters: node_id – (
str) The name of the device being controlled by the OpenDaylight instance.
Returns: One of supported service provider instance. Raises:
YErrorif no such service provider could be found.
Returns a list of node ID’s of the devices being controlled by this OpenDaylight instance.
Returns: List of node ID’s of the devices being controlled by this OpenDaylight instance.
- repo – (