IPI-TWAMP:
https://docs.ipinfusion.com/service-provider/index.html#page/OcNOS-SP/NetConf_Cmds.html#ww4590015
IPI-TWAMP-CLIENT
https://docs.ipinfusion.com/service-provider/index.html#page/OcNOS-SP/NetConf_Cmds.html#ww4593462
RPC Connection | |
---|---|
Call connection R6 | |
any connection | |
Response | |
state of any connection | |
any connection <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101"> <get> <filter> <twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp"> <client> <connections> <connection> <connection-name/> <state/> </connection> </connections> </client> </twamp> </filter> </get> </rpc> ====================================================================================== <rpc-reply xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:9a5cd0e3-ebdb-4b33-a829-e4f724216998" last-modified="2024-07-29T01:24:31Z"> <data><twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp"> <client> <connections> <connection> <connection-name>R5</connection-name> <vrf-name>default</vrf-name> <state> <connection-name>R5</connection-name> <vrf-name>default</vrf-name> <server-address>1.1.1.5</server-address> <client-port>45142</client-port> <client-address>1.1.1.3</client-address> <connection-time>2024-07-30T17:51:17Z</connection-time> <last-activity-time>2024-07-30T17:54:07Z</last-activity-time> <connection-state>Running</connection-state> <nb-session-requested>1</nb-session-requested> <nb-sessions-accepted>1</nb-sessions-accepted> </state> </connection> </connections> </client> </twamp> </data> </rpc-reply> | |
get session | |
Call | |
Response | reponse <rpc-reply xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:fb8f1d32-0436-4479-842a-259463a94191" last-modified="2019-02-14T10:13:38Z"> <data><twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp"> <client> <connections> <connection> <connection-name>R6</connection-name> <vrf-name>default</vrf-name> <sessions> <session> <session-name>R6</session-name> <config> <session-name>R6</session-name> <sender-port>2000</sender-port> <receiver-port>2000</receiver-port> <sender-address>10.10.100.5</sender-address> <receiver-address>10.10.100.6</receiver-address> </config> <state> <session-name>R6</session-name> <sender-port>2000</sender-port> <receiver-port>2000</receiver-port> <sender-address>10.10.100.5</sender-address> <receiver-address>10.10.100.6</receiver-address> <requested-receiver-port>2000</requested-receiver-port> <session-id>0A.0A.64.06:E00FD4DB46979E16:E8897F45</session-id> </state> </session> </sessions> </connection> </connections> </client> </twamp> |