Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new driver SOAP #198

Open
MajesticFalcon opened this issue Feb 8, 2023 · 4 comments
Open

Adding new driver SOAP #198

MajesticFalcon opened this issue Feb 8, 2023 · 4 comments

Comments

@MajesticFalcon
Copy link

I have built a similar program to netpalm for our team. It is less complex and doesn't support task queuing and some of the other more advanced concepts built here. But it does support the same drivers with the addition of a SOAP driver I created to interface with Adtran and Calix systems.

Would you be willing to work together to add a new driver for the system?

@tbotnz
Copy link
Owner

tbotnz commented Feb 9, 2023

@MajesticFalcon its an interesting idea, i'm open to exploring. Do you have any reference code which demonstrates what you need ( does not need to be integrated with netpalm )

@MajesticFalcon
Copy link
Author

The code is pretty simple. Here is some pseudo-code


#import preferred soap package
from suds.client import Client
from bs4 import BeautifulSoup


Class SoapVendor():
        def __init__():
             #setup credentials
             #setup wsdl file location

         def connect():
             #authenticate using credentials/headers via soap library
         
         def get(wsdl_cmd):
             #send command to api and return results

@tbotnz
Copy link
Owner

tbotnz commented Mar 17, 2023

@MajesticFalcon im working on making this easier for you to add, will keep you posted when its done

@MajesticFalcon
Copy link
Author

MajesticFalcon commented Mar 17, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants