No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NETCONF YANG API Reference

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

NETCONF YANG API Reference
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
NQA

NQA

Data Model

The data model file matching the NQA test instance is huawei-nqa.yang.

Table 3-2139 NQA test instance

Object

Description

nqa

Indicates that the operation request (creating, deleting, and modifying) object is the NQA test instance related configurations. It is only used to contain sub-objects, but does not have any data meaning.

huawei-nqa:testcase-config/cases/admin-name

Indicates the administrator name of an NQA test instance.

huawei-nqa:testcase-config/cases/test-name

Indicates the name of an NQA test instance.

huawei-nqa:testcase-config/cases/type

Indicates the type of the NQA test instance.

huawei-nqa:testcase-config/cases/case-input/ping-case/destination

Indicates the destination IP address.

huawei-nqa:testcase-config/cases/case-input/ping-case/source-address

Indicates the source IP address for the NQA ICMP test instance.

huawei-nqa:testcase-config/cases/case-input/ping-case/source-interface

Indicates the source interface address for the NQA ICMP test instance.

huawei-nqa:testcase-config/cases/case-input/ping-case/count

Indicates the count of NQA ICMP test instance.The value is an integer that ranges from 1 to 15. The default value is 3.

huawei-nqa:testcase-config/cases/case-input/ping-case/frequency

Indicates the frequency of NQA ICMP test instance.The value is an integer that ranges from 1 to 604800.

huawei-nqa:testcase-config/cases/case-input/ping-case/interval

Indicates the interval for sending an NQA ICMP test request.The value is an integer that ranges from 1 to 60. The default value is 4.

huawei-nqa:testcase-config/cases/case-input/ping-case/packet-size

Indicates the packet length of an NQA ICMP test instance.The value is an integer that ranges from 0 to 8100. The default value is 0.

huawei-nqa:testcase-config/cases/case-input/ping-case/ttl

Indicates the TTL value of packets for the NQA ICMP test instance.Indicates the interval for sending an NQA ICMP test request.The value is an integer that ranges from 1 to 255. The default value is 30.

huawei-nqa:testcase-config/cases/case-input/ping-case/tos

Indicates the service type of packets for the NQA ICMP test instance.The value is an integer that ranges from 0 to 255. The default value is 0.

huawei-nqa:testcase-config/cases/case-input/ping-case/timeout

Indicates the timeout period of a probe for the NQA ICMP test instance.The value is an integer that ranges from 1 to 60. The default value is 3.

huawei-nqa:testcase-config/cases/case-input/ping-case/description

Indicates the description for the NQA ICMP test instance.

huawei-nqa:testcase-config/cases/case-input/jitter-case/destination-address

Indicates the destination IP address for the NQA jitter test instance.

huawei-nqa:testcase-config/cases/case-input/jitter-case/destination-port

Indicates the destination port number for the NQA jitter test instance.The value is an integer that ranges from 1 to 65535.

huawei-nqa:testcase-config/nqa-server/address

Indicates the IP address of an NQA jitter server.

huawei-nqa:testcase-config/nqa-server/server-port

Indicates the destination port number of an NQA jitter server.The value is an integer that ranges from 1 to 65535.

huawei-nqa:testcase-config/cases/case-input/jitter-case/hardware-based-enable

Indicates that the hardware-based packet for an NQA jitter test instance is enabled.

huawei-nqa:testcase-config/cases/case-input/jitter-case/frequency

Indicates the frequency of NQA jitter test instance.The value is an integer that ranges from 1 to 604800.

huawei-nqa:testcase-config/cases/case-input/jitter-case/source-address

Indicates the source IP address for the NQA jitter test instance.

huawei-nqa:testcase-config/cases/case-input/jitter-case/source-port

Indicates the source port number for the NQA jitter test instance.The value is an integer that ranges from 1 to 65535.

huawei-nqa:testcase-config/cases/case-input/jitter-case/source-interface

Indicates the source interface address for the NQA jitter test instance.

huawei-nqa:testcase-config/cases/case-input/jitter-case/interval

Indicates the interval for sending an NQA jitter test request.The value is an integer that ranges from 10 to 60000. The default value is 20.

huawei-nqa:testcase-config/cases/case-input/jitter-case/tos

Indicates the service type of packets in an NQA jitter test instance.The value is an integer that ranges from 0 to 255. The default value is 0.

huawei-nqa:testcase-config/cases/case-input/jitter-case/timeout

Indicates the timeout period of a probe for the NQA jitter test instance.The value is an integer that ranges from 1 to 60. The default value is 3.

huawei-nqa:testcase-config/cases/case-input/jitter-case/jitter-packetnum

Indicates the number of sent packets of each time in a probe for the NQA jitter test instances.The value is an integer that ranges from 1 to 3000. The default value is 20.

huawei-nqa:testcase-config/cases/case-input/jitter-case/count

Indicates the count of NQA jitter test instances.The value is an integer that ranges from 1 to 15. The default value is 3.

huawei-nqa:testcase-config/cases/case-input/ping-case/nexthop-dhcp

Indicates that the next hop address of the NQA test is allocated dynamically using DHCP.

huawei-nqa:testcase-config/cases/execution-policy/on-reception

Indicate the startup mode for the NQA test instance.

NOTE:

V300R003C10 and later versions support the following nodes.

huawei-nqa:nqa-cases-result/result/admin-name

Specifies the name of the administrator for an NQA ICMP test instance.

huawei-nqa:nqa-cases-result/result/test-name

Specifies the name of an NQA ICMP test instance.

huawei-nqa:nqa-cases-result/result/type

Specifies the result type of an NQA ICMP test instance.

huawei-nqa:nqa-cases-result/result/complete

Whether the NQA ICMP test instance is completed.

huawei-nqa:nqa-cases-result/result/information

Specifies the result of an NQA ICMP test instance.

NQA ICMP Test Instance Configuration

Creating the NQA ICMP Test Instance Configuration

This section provides a sample of creating the NQA ICMP test instance configuration.

Table 3-2140 Creating the NQA ICMP test instance configuration

Operation

XPATH

edit-config:default

huawei-nqa:testcase-config/cases

Data Requirements
Table 3-2141 Creating the NQA ICMP test instance configuration

Item

Data

Description

Administrator for NQA test instances

admin

Create an administrator for NQA ICMP test instances and an NQA ICMP test instance name, and configure the following parameters: test instance type, destination IP address, source IP address, whether the next hop is dynamically allocated through DHCP, ICMP test parameters (optional), and startup mode.

Name of an NQA test instance

test

Type of the NQA test instance

ping

Destination IP address for the ICMP test instance

2.2.2.2

Source IP address for the ICMP test instance

1.1.1.1

Source interface for the ICMP test instance

Ethernet0/0/2

Count of ICMP test instances

4

Frequency of the ICMP test instance

39

Interval at which ICMP test requests are sent

5

Size of an ICMP test instance packet

50

TTL value of packets for the ICMP test instance

33

Service type of packets for the ICMP test instance

2

Timeout period of a probe for the ICMP test instance

5

Whether the next hop is dynamically allocated through DHCP

true

Description for the ICMP test instance

icmp description

Startup mode

on-reception

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_8fb25b618918407291333da8074b0d22">
   <edit-config>
       <target>
          <running/>
       </target>
       <error-option>rollback-on-error</error-option>
       <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
       <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
          <interface>
             <name>Ethernet0/0/2</name>
             <type xmlns:iana="urn:ietf:params:xml:ns:yang:iana-if-type">iana:ethernetCsmacd</type>
          </interface>
       </interfaces>
       <testcase-config xmlns="urn:huawei:params:xml:ns:yang:huawei-nqa">
            <cases>
               <admin-name>admin</admin-name>
               <test-name>test</test-name>
               <type>ping</type>
               <execution-policy>
               <on-reception/>
               </execution-policy>
               <case-input>
                  <ping-case>
                     <source-address>1.1.1.1</source-address>
                     <source-interface>Ethernet0/0/2</source-interface>
                     <destination>2.2.2.2</destination>
                     <count>4</count>
                     <frequency>39</frequency>
                     <interval>5</interval>
                     <packet-size>50</packet-size>
                     <ttl>33</ttl>
                     <tos>2</tos>
                     <timeout>5</timeout>
                     <nexthop-dhcp>true</nexthop-dhcp>
                     <description>icmp description</description> 
                  </ping-case>
               </case-input>
            </cases>
         </testcase-config>
      </config>
   </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_8fb25b618918407291333da8074b0d22"> 
  <ok/>
</rpc-reply>
Modifying the NQA ICMP Test Instance Configuration

This section provides a sample of modifying the NQA ICMP test instance configuration.

Table 3-2142 Modifying the NQA ICMP test instance configuration

Operation

XPATH

edit-config:replace

huawei-nqa:testcase-config/cases

Data Requirements
Table 3-2143 Modifying the NQA ICMP test instance configuration

Item

Data

Description

Administrator for NQA test instances

admin

Modify the configuration of the administrator name for NQA ICMP test instances, NQA test instance name, test instance type, destination and source IP addresses, and NQA ICMP test parameters (optional).

Name of an NQA test instance

test

Type of the NQA test instance

ping

Destination IP address for the ICMP test instance

2.2.2.2

Source IP address for the ICMP test instance

1.1.1.1

Source interface for the ICMP test instance

Ethernet0/0/2

Count of ICMP test instances

4

Frequency of the ICMP test instance

39

Interval at which ICMP test requests are sent

5

Size of an ICMP test instance packet

50

TTL value of packets for the ICMP test instance

33

Service type of packets for the ICMP test instance

2

Timeout period of a probe for the ICMP test instance

5

Description for the ICMP test instance

icmp description

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_8fb25b618918407291333da8074b0d22">
   <edit-config>
       <target>
          <running/>
       </target>
       <error-option>rollback-on-error</error-option>
       <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
       <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
          <interface>
             <name>Ethernet0/0/2</name>
             <type xmlns:iana="urn:ietf:params:xml:ns:yang:iana-if-type">iana:ethernetCsmacd</type>
          </interface>
       </interfaces>
       <testcase-config xmlns="urn:huawei:params:xml:ns:yang:huawei-nqa">
            <cases xc:operation="replace">
               <admin-name>admin</admin-name>
               <test-name>test</test-name>
               <type>ping</type>
               <case-input>
                  <ping-case>
                     <source-address>1.1.1.1</source-address>
                     <source-interface>Ethernet0/0/2</source-interface>
                     <destination>2.2.2.2</destination>
                     <count>4</count>
                     <frequency>39</frequency>
                     <interval>5</interval>
                     <packet-size>50</packet-size>
                     <ttl>33</ttl>
                     <tos>2</tos>
                     <timeout>5</timeout>
                     <description>icmp description</description>
                  </ping-case>
               </case-input>
            </cases>
         </testcase-config>
      </config>
   </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_8fb25b618918407291333da8074b0d22"> 
  <ok/> 
</rpc-reply>
Deleting the NQA ICMP Test Instance Configuration

This section provides a sample of deleting the NQA ICMP test instance configuration.

Table 3-2144 Deleting the NQA ICMP test instance configuration

Operation

XPATH

edit-config:remove

huawei-nqa:testcase-config/cases

Data Requirements
Table 3-2145 Deleting the NQA ICMP test instance configuration

Item

Data

Description

Administrator for NQA test instances

admin

Delete the configuration of the administrator name for NQA ICMP test instances, NQA test instance name, test instance type, destination and source IP addresses, whether the next hop is dynamically allocated through DHCP, NQA ICMP test parameters (optional), and startup mode.

Name of an NQA test instance

test

Type of the NQA test instance

ping

Destination IP address for the ICMP test instance

2.2.2.2

Source IP address for the ICMP test instance

1.1.1.1

Source interface for the ICMP test instance

Ethernet0/0/2

Count of ICMP test instances

4

Frequency of the ICMP test instance

39

Interval at which ICMP test requests are sent

5

Size of an ICMP test instance packet

50

TTL value of packets for the ICMP test instance

33

Service type of packets for the ICMP test instance

2

Timeout period of a probe for the ICMP test instance

5

Whether the next hop is dynamically allocated through DHCP

true

Description for the ICMP test instance

icmp description

Startup mode

on-reception

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_8fb25b618918407291333da8074b0d22">
   <edit-config>
       <target>
          <running/>
       </target>
       <error-option>rollback-on-error</error-option>
       <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
       <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
          <interface>
             <name>Ethernet0/0/2</name>
             <type xmlns:iana="urn:ietf:params:xml:ns:yang:iana-if-type">iana:ethernetCsmacd</type>
          </interface>
       </interfaces>
       <testcase-config xmlns="urn:huawei:params:xml:ns:yang:huawei-nqa">
            <cases xc:operation="remove">
               <admin-name>admin</admin-name>
               <test-name>test</test-name>
               <type>ping</type>
               <execution-policy>
               <on-reception/>
               </execution-policy>
               <case-input>
                  <ping-case>
                     <source-address>1.1.1.1</source-address>
                     <source-interface>Ethernet0/0/2</source-interface>
                     <destination>2.2.2.2</destination>
                     <count>4</count>
                     <frequency>39</frequency>
                     <interval>5</interval>
                     <packet-size>50</packet-size>
                     <ttl>33</ttl>
                     <tos>2</tos>
                     <timeout>5</timeout>
                     <nexthop-dhcp>true</nexthop-dhcp>
                     <description>icmp description</description> 
                   </ping-case>
               </case-input>
            </cases>
         </testcase-config>
      </config>
   </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_8fb25b618918407291333da8074b0d22"> 
  <ok/> 
</rpc-reply>
Querying the result of an NQA ICMP test instance
NOTE:

V300R003C10 and later versions support the node.

This section provides a sample of querying the result of an NQA ICMP test instance.

Table 3-2146 Querying the result of an NQA ICMP test instance

Operation

XPATH

get

/huawei-nqa:nqa-cases-result/result/admin-name

/huawei-nqa:nqa-cases-result/result/test-name

/huawei-nqa:nqa-cases-result/result/type

/huawei-nqa:nqa-cases-result/result/complete

/huawei-nqa:nqa-cases-result/result/information

Data Requirements
Table 3-2147 Querying the result of an NQA ICMP test instance

Item

Data

Description

Name of the administrator for the NQA ICMP test instance

pbr_1_link1_nqa1

Queries the result of an NQA ICMP test instance.

Name of the NQA ICMP test instance

pbr_1_link1_test1

Result type of the NQA ICMP test instance

ping

Whether the NQA ICMP test instance is completed

true

Result of the NQA ICMP test instance

success

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="#message-id"> 
  <get> 
   <filter type="subtree"> 
    <nqa-cases-result xmlns="urn:huawei:params:xml:ns:yang:huawei-nqa"> 
    </nqa-cases-result> 
   </filter> 
  </get> 
 </rpc>
Response Example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="#message-id"> 
  <data> 
   <nqa-cases-result xmlns="urn:huawei:params:xml:ns:yang:huawei-nqa"> 
    <result> 
     <admin-name>pbr_1_link1_nqa1</admin-name> 
     <test-name>pbr_1_link1_test1</test-name>
     <type>ping</type> 
     <complete>true</complete> 
     <information> 
       <completion>success</completion> 
     </information> 
    </result> 
   </nqa-cases-result> 
  </data> 
 </rpc-reply>

NQA Jitter Test Instance Configuration

Creating the NQA Jitter Test Instance Configuration

This section provides a sample of creating the NQA Jitter test instance configuration.

Table 3-2148 Creating the NQA Jitter test instance configuration

Operation

XPATH

edit-config:default

huawei-nqa:testcase-config/cases

Data Requirements
Table 3-2149 Creating the NQA Jitter test instance configuration

Item

Data

Description

IP address of the NQA server

3.3.3.3

Create an administrator for NQA test instances and a test instance name, and configure the following parameters: test instance type, IP address and service port number of the NQA server, destination and source IP addresses, and destination port number for an NQA jitter test instance. Enable hardware-based packets, and configure NQA jitter test parameters (optional) as well as the startup mode.

Service port number of the NQA server

2000

Administrator for NQA test instances

admin

Name of an NQA test instance

test

Type of the NQA test instance

ping

Destination IP address for a jitter test instance

2.2.2.2

Destination port number for the jitter test instance

3000

Hardware-based packet for the jitter test instance

true

Frequency of the jitter test instance

54

Source IP address for the jitter test instance

1.1.1.1

Source port number for the jitter test instance

2000

Source interface for the jitter test instance

Ethernet0/0/2

Count of jitter test instances

4

Interval at which jitter test requests are sent

5

Number of packets for the jitter test instance

50

Service type of packets for the jitter test instance

1

Timeout period of a probe for the jitter test instance

7

Startup mode

on-reception

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_8fb25b618918407291333da8074b0d22">
   <edit-config>
       <target>
          <running/>
       </target>
       <error-option>rollback-on-error</error-option>
       <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
       <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
          <interface>
             <name>Ethernet0/0/2</name>
             <type xmlns:iana="urn:ietf:params:xml:ns:yang:iana-if-type">iana:ethernetCsmacd</type>
          </interface>
       </interfaces>
       <testcase-config xmlns="urn:huawei:params:xml:ns:yang:huawei-nqa">
         <nqa-server>
               <server-port>2000</server-port>
               <address>3.3.3.3</address>
         </nqa-server>
            <cases>
               <admin-name>jitter</admin-name>
               <test-name>1</test-name>
               <type>jitter</type>
               <execution-policy>
                  <on-reception/>
               </execution-policy>
               <case-input>
                  <jitter-case>
                     <destination-address>2.2.2.2</destination-address>  
                     <destination-port>3000</destination-port>
                     <hardware-based-enable>true</hardware-based-enable>
                     <frequency>54</frequency>
                     <source-address>1.1.1.1</source-address>
                     <source-port>2000</source-port>
                     <source-interface>Ethernet0/0/2</source-interface>                                      
                     <interval>10</interval>
                     <tos>1</tos>
                     <timeout>7</timeout>
                     <jitter-packetnum>50</jitter-packetnum>
                     <count>4</count>
                  </jitter-case>
               </case-input>
            </cases>
         </testcase-config>
      </config>
   </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_8fb25b618918407291333da8074b0d22"> 
 <ok/>
</rpc-reply>
Modifying the NQA Jitter Test Instance Configuration

This section provides a sample of modifying the NQA Jitter test instance configuration.

Table 3-2150 Modifying the NQA Jitter test instance configuration

Operation

XPATH

edit-config:replace

huawei-nqa:testcase-config/cases

Data Requirements
Table 3-2151 Modifying the NQA Jitter test instance configuration

Item

Data

Description

IP address of the NQA server

3.3.3.3

Modify the configuration of the administrator name for NQA test instances, test instance name and type, IP address and service port number of the NQA server, destination and source IP addresses, and destination port number for the NQA jitter test instance. Enable hardware-based packets, and configure NQA jitter test parameters (optional).

Service port number of the NQA server

2000

Administrator for NQA test instances

admin

Name of an NQA test instance

test

Type of the NQA test instance

ping

Destination IP address for a jitter test instance

2.2.2.2

Destination port number for the jitter test instance

3000

Hardware-based packet for the jitter test instance

true

Frequency of the jitter test instance

55

Source IP address for the jitter test instance

1.1.1.1

Source port number for the jitter test instance

2000

Source interface for the jitter test instance

Ethernet0/0/2

Count of jitter test instances

4

Interval at which jitter test requests are sent

10

Number of packets for the jitter test instance

50

Service type of packets for the jitter test instance

1

Timeout period of a probe for the jitter test instance

5

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_8fb25b618918407291333da8074b0d22">
   <edit-config>
       <target>
          <running/>
       </target>
       <error-option>rollback-on-error</error-option>
       <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
       <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
          <interface>
             <name>Ethernet0/0/2</name>
             <type xmlns:iana="urn:ietf:params:xml:ns:yang:iana-if-type">iana:ethernetCsmacd</type>
          </interface>
       </interfaces>
       <testcase-config xmlns="urn:huawei:params:xml:ns:yang:huawei-nqa">
         <nqa-server>
               <server-port>2000</server-port>
               <address>3.3.3.3</address>
         </nqa-server>
   <cases xc:operation="replace">
               <admin-name>jitter</admin-name>
               <test-name>1</test-name>
               <type>jitter</type>
               <case-input>
                  <jitter-case>
                     <destination-address>2.2.2.2</destination-address>  
                     <destination-port>3000</destination-port>
                     <hardware-based-enable>true</hardware-based-enable>
                     <frequency>55</frequency>
                     <source-address>1.1.1.1</source-address>
                     <source-port>2000</source-port>
                     <source-interface>Ethernet0/0/2</source-interface>                                      
                     <interval>10</interval>
                     <tos>1</tos>
                     <timeout>5</timeout>
                     <jitter-packetnum>50</jitter-packetnum>
                    <count>4</count>
                  </jitter-case>
               </case-input>
            </cases>
         </testcase-config>
      </config>
   </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_8fb25b618918407291333da8074b0d22"> 
  <ok/>
</rpc-reply>
Deleting the NQA Jitter Test Instance Configuration

This section provides a sample of deleting the NQA Jitter test instance configuration.

Table 3-2152 Deleting the NQA Jitter test instance configuration

Operation

XPATH

edit-config:remove

huawei-nqa:testcase-config/cases

Data Requirements
Table 3-2153 Deleting the NQA Jitter test instance configuration

Item

Data

Description

IP address of the NQA server

3.3.3.3

Delete the configuration of the administrator name for NQA Jitter test instances, test instance name and type, IP address and service port number of the NQA server, destination and source IP addresses, and destination port number for the NQA jitter test instance. Disable the hardware-based packets, and delete the configuration of NQA jitter test parameters (optional) and startup mode.

Service port number of the NQA server

2000

Administrator for NQA test instances

admin

Name of an NQA test instance

test

Type of the NQA test instance

ping

Destination IP address for a jitter test instance

2.2.2.2

Destination port number for the jitter test instance

3000

Hardware-based packet for the jitter test instance

true

Frequency of the jitter test instance

54

Source IP address for the jitter test instance

1.1.1.1

Source port number for the jitter test instance

2000

Source interface for the jitter test instance

Ethernet0/0/2

Count of jitter test instances

4

Interval at which jitter test requests are sent

10

Number of packets for the jitter test instance

50

Service type of packets for the jitter test instance

1

Timeout period of a probe for the jitter test instance

7

Startup mode

on-reception

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_8fb25b618918407291333da8074b0d22">
   <edit-config>
       <target>
          <running/>
       </target>
       <error-option>rollback-on-error</error-option>
       <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
       <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
          <interface>
             <name>Ethernet0/0/2</name>
             <type xmlns:iana="urn:ietf:params:xml:ns:yang:iana-if-type">iana:ethernetCsmacd</type>
          </interface>
       </interfaces>
       <testcase-config xmlns="urn:huawei:params:xml:ns:yang:huawei-nqa">
         <nqa-server xc:operation="remove">
               <server-port>2000</server-port>
               <address>3.3.3.3</address>
         </nqa-server>
   <cases xc:operation="remove">
               <admin-name>jitter</admin-name>
               <test-name>1</test-name>
               <type>jitter</type>
               <execution-policy>
                  <on-reception/>
               </execution-policy>
               <case-input>
                  <jitter-case>
                     <destination-address>2.2.2.2</destination-address>  
                     <destination-port>3000</destination-port>
                     <hardware-based-enable>true</hardware-based-enable>
                     <frequency>54</frequency>
                     <source-address>1.1.1.1</source-address>
                     <source-port>2000</source-port>
                     <source-interface>Ethernet0/0/2</source-interface>                                      
                     <interval>10</interval>
                     <tos>1</tos>
                     <timeout>7</timeout>
                     <jitter-packetnum>50</jitter-packetnum>
                     <count>4</count>
                  </jitter-case>
               </case-input>
            </cases>
         </testcase-config>
      </config>
   </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_8fb25b618918407291333da8074b0d22"> 
  <ok/>
</rpc-reply>
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100022096

Views: 8271

Downloads: 69

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next