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
TWAMP
RPC Connection |
|
---|
Call connection R6 |
Code Block |
---|
title | RPC call |
---|
collapse | true |
---|
| <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>R6</connection-name>
</connection>
</connections>
</client>
</twamp>
</filter>
</get>
</rpc>
|
|
any connection |
Code Block |
---|
title | any connection |
---|
collapse | true |
---|
| <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>
<connection-name/>
</connection>
</connections>
</client>
</twamp>
</filter>
</get>
</rpc>
|
|
| Image Modified |
Response |
Code Block |
---|
title | response |
---|
collapse | true |
---|
| <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:31f1a238-fc86-4c82-ab93-ab365b15f4cb" 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>
<config>
<connection-name>R6</connection-name>
<vrf-name>default</vrf-name>
<server-address>10.10.100.6</server-address>
</config>
<state>
<connection-name>R6</connection-name>
<vrf-name>default</vrf-name>
<server-address>10.10.100.6</server-address>
<client-port>49334</client-port>
<client-address>10.10.100.5</client-address>
<connection-time>2024-07-12T15:57:44Z</connection-time>
<last-activity-time>2024-07-12T17:33:24Z</last-activity-time>
<connection-state>Running</connection-state>
<nb-session-requested>3</nb-session-requested>
<nb-sessions-accepted>1</nb-sessions-accepted>
</state>
<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>
</data>
</rpc-reply> |
|
state of any connection |
|
---|
|
Code Block |
---|
| <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 |
Code Block |
---|
title | any session |
---|
collapse | true |
---|
| <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/>
<sessions>
<session/>
</sessions>
</connection>
</connections>
</client>
</twamp>
</filter>
</get>
</rpc> |
|
| Image Added |
Response |
Code Block |
---|
| <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> |
|
control ( client ) |
|
---|
|
Code Block |
---|
| CALL:
<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">
<light>
<control/>
</light>
</twamp>
</filter>
</get>
</rpc>
RESPONSE:
<light>
<control>
<config>
<enable/>
<administrative-state>enable</administrative-state>
</config>
<state>
<enable/>
<administrative-state>enable</administrative-state>
</state>
</control>
</light> |
|
|
|
---|
|
|
|
|