def createConfigureCommands(source_nrm_port, dest_nrm_port, vlan):

    vl = COMMAND_SET_VLAN % (vlan, vlan)
    p1 = COMMAND_SET_INTERFACE_VLAN % (source_nrm_port, vlan)
    p2 = COMMAND_SET_INTERFACE_VLAN % (dest_nrm_port, vlan)

    commands = [ vl, p1, p2 ]
    return commands
dataset/ETHPy150Open NORDUnet/opennsa/opennsa/backends/juniperex.py/createConfigureCommands/original