Exemplo n.º 1
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()
    request.addfinalizer(fin)

    request.cls.driver = eos.EOSDriver
    request.cls.patched_driver = PatchedEOSDriver
    request.cls.vendor = 'eos'
    parent_conftest.set_device_parameters(request)
Exemplo n.º 2
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()
    request.addfinalizer(fin)

    request.cls.driver = mikrotik.MikrotikDriver
    request.cls.patched_driver = PatchedMikrotikDriver
    request.cls.vendor = 'mikrotik'
    parent_conftest.set_device_parameters(request)
Exemplo n.º 3
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()
    request.addfinalizer(fin)

    request.cls.driver = nxos_ssh.NXOSSSHDriver
    request.cls.patched_driver = PatchedNXOSSSHDriver
    request.cls.vendor = 'nxos_ssh'
    parent_conftest.set_device_parameters(request)
Exemplo n.º 4
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()
    request.addfinalizer(fin)

    request.cls.driver = procurve.ProcurveDriver
    request.cls.patched_driver = PatchedProcurveDriver
    request.cls.vendor = 'procurve'
    parent_conftest.set_device_parameters(request)
Exemplo n.º 5
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()
    request.addfinalizer(fin)

    request.cls.driver = skeleton.SkeletonDriver
    request.cls.patched_driver = PatchedSkeletonDriver
    request.cls.vendor = 'skeleton'
    parent_conftest.set_device_parameters(request)
Exemplo n.º 6
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()

    request.addfinalizer(fin)

    request.cls.driver = fortios6.FortiOS6Driver
    request.cls.patched_driver = PatchedFortiOS6Driver
    request.cls.vendor = 'fortios6'
    parent_conftest.set_device_parameters(request)
Exemplo n.º 7
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()

    request.addfinalizer(fin)

    request.cls.driver = skeleton.SkeletonDriver
    request.cls.patched_driver = PatchedSkeletonDriver
    request.cls.vendor = "skeleton"
    parent_conftest.set_device_parameters(request)
Exemplo n.º 8
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()

    request.addfinalizer(fin)

    request.cls.driver = nxos_ssh.NXOSSSHDriver
    request.cls.patched_driver = PatchedNXOSSSHDriver
    request.cls.vendor = "nxos_ssh"
    parent_conftest.set_device_parameters(request)
Exemplo n.º 9
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()

    request.addfinalizer(fin)

    request.cls.driver = huawei_smartax.SmartAXDriver
    request.cls.patched_driver = PatchedSmartAXDriver
    request.cls.vendor = 'huawei_smartax'
    parent_conftest.set_device_parameters(request)
Exemplo n.º 10
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()

    request.addfinalizer(fin)

    request.cls.driver = imagestream.ImageStreamDriver
    request.cls.patched_driver = PatchedImageStreamDriver
    request.cls.vendor = 'imagestream'
    parent_conftest.set_device_parameters(request)
Exemplo n.º 11
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()

    request.addfinalizer(fin)

    request.cls.driver = dellos10.DellOS10Driver
    request.cls.patched_driver = PatchedDellOS10Driver
    request.cls.vendor = 'dellos10'
    parent_conftest.set_device_parameters(request)
Exemplo n.º 12
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()

    request.addfinalizer(fin)

    request.cls.driver = cumulus.CumulusDriver
    request.cls.patched_driver = PatchedCumulusDriver
    request.cls.vendor = "cumulus"
    parent_conftest.set_device_parameters(request)
Exemplo n.º 13
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()

    request.addfinalizer(fin)

    request.cls.driver = iosxr_netconf.IOSXRNETCONFDriver
    request.cls.patched_driver = PatchedIOSXRNETCONFDriver
    request.cls.vendor = "iosxr_netconf"
    parent_conftest.set_device_parameters(request)
Exemplo n.º 14
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()

    request.addfinalizer(fin)

    request.cls.driver = sros.NokiaSROSDriver
    request.cls.patched_driver = PatchedNokiaSROSDriver
    request.cls.vendor = "sros"
    parent_conftest.set_device_parameters(request)
Exemplo n.º 15
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()

    request.addfinalizer(fin)

    request.cls.driver = pro2.PRO2Driver
    request.cls.patched_driver = PatchedPRO2Driver
    request.cls.vendor = "servertech"
    parent_conftest.set_device_parameters(request)
Exemplo n.º 16
0
def set_device_parameters(request):
    """Set up the class."""
    def fin():
        request.cls.device.close()

    request.addfinalizer(fin)

    request.cls.driver = optiswitch.OptiswitchDriver
    request.cls.patched_driver = PatchedOptiswitchDriver
    request.cls.vendor = "MRV"
    parent_conftest.set_device_parameters(request)