netpalm
netpalm copied to clipboard
Adding new driver SOAP
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?
@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 )
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
@MajesticFalcon im working on making this easier for you to add, will keep you posted when its done
Thank you. I’ll keep an eye out for your updates and send a PR for the soap / xml when you’re ready.
On Mar 17, 2023, at 4:27 AM, tbotnz @.***> wrote:
@MajesticFalconhttps://github.com/MajesticFalcon im working on making this easier for you to add, will keep you posted when its done
— Reply to this email directly, view it on GitHubhttps://github.com/tbotnz/netpalm/issues/198#issuecomment-1473506696, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACBR6OJL3HOL7375C2QPNRLW4QVBFANCNFSM6AAAAAAUVZ73HI. You are receiving this because you were mentioned.Message ID: @.***>