Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »


https://docs.ipinfusion.com/service-provider/index.html#page/OcNOS-SP/NetConf_Cmds.html#ww4590015


RPC Connection 
Call
RPC 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">
        <client>
          <connections>
            <connection>
              <connection-name>R6</connection-name>
            </connection>
          </connections>
        </client>
      </twamp>
    </filter>
  </get>
</rpc>


Response
response
<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>
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>










  • No labels