X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=RO-SDN-dpb%2Fosm_rosdn_dpb%2Fwimconn_dpb.py;h=075b1a84494cdd664a7ff50405f65560c9c8bb53;hb=eaccf71d78032c68f6fb4dadfc98308f007b63af;hp=e08cdfdf7cf3cd247c8b41bdce837eb735f75609;hpb=80135b928ab442c38898750b4751480205b4affc;p=osm%2FRO.git diff --git a/RO-SDN-dpb/osm_rosdn_dpb/wimconn_dpb.py b/RO-SDN-dpb/osm_rosdn_dpb/wimconn_dpb.py index e08cdfdf..075b1a84 100755 --- a/RO-SDN-dpb/osm_rosdn_dpb/wimconn_dpb.py +++ b/RO-SDN-dpb/osm_rosdn_dpb/wimconn_dpb.py @@ -27,16 +27,15 @@ import json import logging -import paramiko -import requests import struct -# import sys from osm_ro_plugin.sdnconn import SdnConnectorBase, SdnConnectorError +import paramiko +import requests class DpbSshInterface: - """ Communicate with the DPB via SSH """ + """Communicate with the DPB via SSH""" __LOGGER_NAME_EXT = ".ssh" __FUNCTION_MAP_POS = 1 @@ -191,7 +190,7 @@ class DpbSshInterface: class DpbRestInterface: - """ Communicate with the DPB via the REST API """ + """Communicate with the DPB via the REST API""" __LOGGER_NAME_EXT = ".rest" __FUNCTION_MAP_POS = 0 @@ -230,7 +229,7 @@ class DpbRestInterface: class DpbConnector(SdnConnectorBase): - """ Use the DPB to establish multipoint connections """ + """Use the DPB to establish multipoint connections""" __LOGGER_NAME = "ro.sdn.dpb" __SUPPORTED_SERV_TYPES = ["ELAN (L2)", "ELINE (L2)"]