Skip to content

usernames and passwords in list? #79

@bjin01

Description

@bjin01

Hi,
While writting python script to login to peripheral suma I don't understand why username(s) and password(s) need to be in list.
I understand that if unicast we need to provide login credentials for each peripheral suma but how are the login(s) mapped to the peripheral suma?

I mean this line in sample python script.
usernames = ["admin" for s in serverIDs]

I created a "advanced login" python script which parses a yaml config file to loop over pre-defined suma servers, but I'm using multicast but I presumed each peri suma has different login and therefore I let user config it in yaml file.
https://github.com/bjin01/patchsystems/tree/master/sumahub

My question is, do you also plan to allow a config file to predefine multiple logins for peripheral sumas? If yes, I assume you might make the code into hub in golang instead of as I did in python, correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions