from connexion import NoContent
from adh.auth import auth_simple_user


@auth_simple_user
def getPortStatus(switchID, portID):
    return 204, NoContent, True


@auth_simple_user
def setPortStatus(switchID, portID, state):
    return 200, NoContent


@auth_simple_user
def getPortVlan(switchID, portID):
    return 200, NoContent, 42


@auth_simple_user
def setPortVlan(switchID, portID, vlan):
    return 204, NoContent

5b59978be85cc826a054b2c8f6db0ca6654df860
<mask token>


@auth_simple_user
def setPortStatus(switchID, portID, state):
    return 200, NoContent


<mask token>

<mask token>


@auth_simple_user
def getPortStatus(switchID, portID):
    return 204, NoContent, True


@auth_simple_user
def setPortStatus(switchID, portID, state):
    return 200, NoContent


<mask token>

<mask token>


@auth_simple_user
def getPortStatus(switchID, portID):
    return 204, NoContent, True


@auth_simple_user
def setPortStatus(switchID, portID, state):
    return 200, NoContent


<mask token>


@auth_simple_user
def setPortVlan(switchID, portID, vlan):
    return 204, NoContent

<mask token>


@auth_simple_user
def getPortStatus(switchID, portID):
    return 204, NoContent, True


@auth_simple_user
def setPortStatus(switchID, portID, state):
    return 200, NoContent


@auth_simple_user
def getPortVlan(switchID, portID):
    return 200, NoContent, 42


@auth_simple_user
def setPortVlan(switchID, portID, vlan):
    return 204, NoContent

from connexion import NoContent
from adh.auth import auth_simple_user


@auth_simple_user
def getPortStatus(switchID, portID):
    return 204, NoContent, True


@auth_simple_user
def setPortStatus(switchID, portID, state):
    return 200, NoContent


@auth_simple_user
def getPortVlan(switchID, portID):
    return 200, NoContent, 42


@auth_simple_user
def setPortVlan(switchID, portID, vlan):
    return 204, NoContent
