<?xml version="1.0" encoding="UTF-8"?>
<functions>
	<function id="8197">
		<subFunc code="TECMDCODE_CREATE_LINEMSP_PTN">
			<des>Create_LineMSP</des>
			<ClassMapping>com.huawei.nglct.nemgr.sdh.logicsys_v2r8c01_ptn.TECreateLineMsp</ClassMapping>
			<QxMapping serialno="1">NSCMD_PTN_LMS_ADD_PG</QxMapping>
			<QxMapping serialno="2">NSCMD_PTN_LMS_SET_PUMAP_NEW</QxMapping>
			<QxMapping serialno="3">NSCMD_CFG_VERIFY</QxMapping>
			<QxMapping serialno="4">NSCMD_PTN_LMS_SET_WTRTIME</QxMapping>
			<QxMapping serialno="5">NSCMD_PTN_LMS_SET_SDFLAG</QxMapping>
			<QxMapping serialno="6">NSCMD_PTN_LMS_SET_PROTOCOL</QxMapping>
			<QxMapping serialno="6">NSCMD_PTN_LMS_SET_K2MODE</QxMapping>
			<QxMapping serialno="7">NSCMD_PTN_LMS_SET_K_LEVEL</QxMapping>
			<QxMapping serialno="8">NSCMD_PTN_LMS_SET_ACTIVE</QxMapping>
			<input>
				<param name="neid" type="int" />
				<param name="groupID" type="int" />
				<param name="protectionType" type="byte" />
				<param name="switchMode" type="byte" />
				<param name="revertiveMode" type="long" />
				<param name="revertiveTime" type="long" />
				<param name="sdEnable" type="long" />
				<param name="protocolType" type="var" />
				<param name="switchTag" type="byte" />
				<param name="switchIndication" type="byte" />
			</input>
			<output>
			</output>
		</subFunc>
		<subFunc code="TECMDCODE_DELETE_LINEMSP_PTN">
			<des>Del_LineMSP</des>
			<ClassMapping>com.huawei.nglct.nemgr.sdh.logicsys_v2r8c01_ptn.TELineMspDel</ClassMapping>
			<QxMapping serialno="1">NSCMD_PTN_LMS_DEL_PG</QxMapping>
			<QxMapping serialno="2">NSCMD_CFG_VERIFY</QxMapping>
			<input>
				<param name="neid" type="int" />
				<param name="groupID" type="int" />
			</input>
			<output>
			</output>
		</subFunc>
		<subFunc code="TECMDCODE_GET_LINEMSP_PTN">
			<des>Query_LineMSP</des>
			<ClassMapping>com.huawei.nglct.nemgr.sdh.logicsys_v2r8c01_ptn.TELineMspQuery</ClassMapping>
			<QxMapping serialno="1">NSCMD_PTN_LMS_GET_PG</QxMapping>
			<QxMapping serialno="2">NSCMD_PTN_LMS_GET_WTRTIME</QxMapping>
			<QxMapping serialno="3">NSCMD_PTN_LMS_GET_SDFLAG</QxMapping>
            <!-- <QxMapping serialno="4">NSCMD_PTN_LMS_GET_K_LEVEL</QxMapping>-->
            <!-- <QxMapping serialno="5">NSCMD_PTN_LMS_GET_K2MODE</QxMapping>-->
			<QxMapping serialno="6">NSCMD_PTN_LMS_GET_PUMAP_NEW</QxMapping>
			<QxMapping serialno="7">NSCMD_PTN_LMS_GET_SWSTA2</QxMapping>
			<QxMapping serialno="8">NSCMD_PTN_LMS_GET_PROTOCOL</QxMapping>
			<QxMapping serialno="9">NSCMD_PTN_LMS_GET_ACTIVE</QxMapping>
			<operObject>
				<param name="groupID" type="int" />
			</operObject>
			<input>
				<param name="neid" type="int" />
			</input>
			<output>
				<param name="groupID" type="int" />
				<param name="protectionType" type="byte" />
				<param name="switchMode" type="byte" />
				<param name="revertiveMode" type="long" />
				<param name="revertiveTime" type="long" />
				<param name="sdEnable" type="long" />
				<param name="protocolType" type="var" />
				<param name="protocolStatus" type="string" />
				<param name="switchTag" type="byte" />
				<param name="switchIndication" type="byte" />
				<param name="Pslotid" type="byte" />
				<param name="Pboardname" type="String" />
				<param name="Psubslotid" type="byte" />
				<param name="Psubboardname" type="String" />
				<param name="Pport" type="string" />
				<param name="Pportname" type="String" />
				<param name="Wslotid" type="byte" />
				<param name="Wboardname" type="String" />
				<param name="Wsubslotid" type="byte" />
				<param name="Wsubboardname" type="String" />
				<param name="Wport" type="byte" />
				<param name="Wportname" type="String" />
				<param name="PswitchStatue" type="byte" />
				<param name="PprotectedUnit" type="byte" />
				<param name="PendIndication" type="byte" />
				<param name="WswitchStatue" type="byte" />
				<param name="WprotectedUnit" type="byte" />
				<param name="WendIndication" type="byte" />
				<param name="activationStatus" type="byte" />
			</output>
		</subFunc>
		<subFunc code="TECMDCODE_GET_FREELINEMSP_PTN">
			<des>Query_Aviable_Board</des>
			<ClassMapping>com.huawei.nglct.nemgr.sdh.logicsys_u2kv1r2c01_ptn.TEAvailabeResQueryBean</ClassMapping>
			<input>
				<param name="neid" type="int" />
			</input>
			<output>
				<param name="slotid" type="byte" />
				<param name="boardname" type="String" />
				<param name="port" type="byte" />
				<param name="portname" type="String" />
			</output>
		</subFunc>
		<subFunc code="TECMDCODE_SET_LINEMSPPARA_PTN">
			<des>Set_LineMSP</des>
			<ClassMapping>com.huawei.nglct.nemgr.sdh.logicsys_v2r8c01_ptn.TESetLineMsp</ClassMapping>
			<QxMapping serialno="1">NSCMD_PTN_LMS_SET_RESTOREMODE</QxMapping>
			<QxMapping serialno="2">NSCMD_PTN_LMS_SET_WTRTIME</QxMapping>
			<QxMapping serialno="3">NSCMD_PTN_LMS_SET_SDFLAG</QxMapping>
			<QxMapping serialno="4">NSCMD_PTN_LMS_SET_PROTOCOL</QxMapping>
			<QxMapping serialno="5">NSCMD_PTN_LMS_SET_SWMODE</QxMapping>
			<QxMapping serialno="6">NSCMD_PTN_LMS_SET_K2MODE</QxMapping>
			<QxMapping serialno="7">NSCMD_PTN_LMS_SET_K_LEVEL</QxMapping>
			<QxMapping serialno="8">NSCMD_PTN_LMS_SET_ACTIVE</QxMapping>
			<operObject>
				<param name="groupID" type="int" />
			</operObject>
			<input>
				<param name="neid" type="int" />
				<param name="groupID" type="int" />
				<param name="protectionType" type="byte" />
				<param name="switchMode" type="byte" />
				<param name="revertiveMode" type="long" />
				<param name="revertiveTime" type="long" />
				<param name="sdEnable" type="long" />
				<param name="protocolType" type="var" />
				<param name="protocolStatus" type="string" />
				<param name="switchTag" type="byte" />
				<param name="switchIndication" type="byte" />
			</input>
			<output>
			</output>
		</subFunc>
		<subFunc code="TECMDCODE_SET_LINEMSPSW_PTN">
			<des>Set_Switch_Status</des>
			<ClassMapping>com.huawei.nglct.nemgr.sdh.logicsys_v2r8c01_ptn.TEProtectSW</ClassMapping>
			<QxMapping serialno="1">NSCMD_PTN_LMS_EXT_SWCMD</QxMapping>
			<operObject>
				<param name="groupID" type="int" />
			</operObject>
			<input>
				<param name="neid" type="int" />
				<param name="groupID" type="int" />
				<param name="protectUnit" type="byte" />
				<param name="switchType" type="byte" />
			</input>
			<output>
			</output>
		</subFunc>
		<subFunc code="TECMDCODE_QUERY_LINEMSPSTATE_PTN">
			<des>Query_Switch_Status</des>
			<ClassMapping>com.huawei.nglct.nemgr.sdh.logicsys_v2r8c01_ptn.TEQuerySWStatus</ClassMapping>
			<QxMapping serialno="1">NSCMD_PTN_LMS_GET_SWSTA2</QxMapping>
			<operObject>
				<param name="groupID" type="int" />
			</operObject>
			<input>
				<param name="neid" type="int" />
				<param name="groupID" type="byte" />
			</input>
			<output>
				<param name="groupID" type="byte" />
				<param name="protectUnit" type="byte" />
				<param name="protocolStatus" type="byte" />
				<param name="switchStatue" type="byte" />
				<param name="protectedUnit" type="byte" />
				<param name="endIndication" type="byte" />
			</output>
		</subFunc>
		<subFunc code="TECMDCODE_DEAL_LINEMSPPROTOCOL_PTN">
			<des>Start_End_Prototol</des>
			<ClassMapping>com.huawei.nglct.nemgr.sdh.logicsys_v2r8c01_ptn.TEProtocolMgr</ClassMapping>
			<QxMapping serialno="1">NSCMD_PTN_LMS_START_PROTOCOL</QxMapping>
			<QxMapping serialno="2">NSCMD_PTN_LMS_STOP_PROTOCOL</QxMapping>
			<operObject>
				<param name="groupID" type="int" />
			</operObject>
			<input>
				<param name="neid" type="int" />
				<param name="groupID" type="int" />
			</input>
			<output>
			</output>
		</subFunc>
	</function>
    <function id="8512">
        <des>TE_FUNC_PTN_CFG_ETHVOIDPORT</des>
        <subFunc code="TECMDCODE_PTN_ETHVOIDPORT_RESOURCE_GET">
            <des>TECMDCODE_PTN_ETHVOIDPORT_RESOURCE_GET</des>
            <ClassMapping>com.huawei.nglct.nemgr.ip.ptn.virtualinterface.TEGetETHVirtualInterfaceResEx</ClassMapping>
            <input>
                <param name="neid" type="int"/>
                <param name="porttype" type="int"/>
            </input>
            <output>
                <param name="neid" type="int"/>
                <param name="nename" type="string"/>
                <param name="slotid" type="int"/>
                <param name="boardname" type="string"/>
                <param name="portid" type="int"/>
                <param name="portname" type="string"/>
                <error>
                    <param name="neid" type="int"/>
                </error>
            </output>
        </subFunc>
    </function>

    <function id="83351">
        <subFunc code="TE_QUERY_NODE_CONFIG_OSPF">
            <des>query_ospf_node_config</des>
            <QxMapping serialno="1">NSCMD_PTN_OSPF_GET_OSPFINSTANCE</QxMapping>
            <QxMapping serialno="2">NSCMD_PTN_OSPF_GET_NBR</QxMapping>
            <ClassMapping>com.huawei.nglct.explorer.TENEExplorerBean</ClassMapping>
            <filterErrorCode>
                <errorCode value="38662"/>
            </filterErrorCode>
            <operObject>
                <param name="protocolID" type="int"/>
            </operObject>
            <input>
                <param name="neid" type="int" length="2"/>
            </input>
            <output>
                <param name="neid" type="int" length="2"/>
                <param name="protocolID" type="long" length="4"/>
                <param name="vpnID" type="long" length="4"/>
                <param name="manageStatus" type="byte" length="1"/>
                <param name="operateStatus" type="byte" length="1"/>
                <param name="neighborAdress" type="long" length="4"/>
                <param name="localAddress" type="long" length="4"/>
                <param name="neighborState" type="byte" length="1"/>
                <error>
                    <param name="neid" type="int"/>
                </error>
            </output>
        </subFunc>
    </function>
</functions>