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).
Performance Reporting

Performance Reporting

Data Model

The configuration model file matching performance reporting is huawei-system-performance.yang.

Table 3-2261 Performance reporting data model

Object

Description

/huawei-system-performance/pm-config/server-connection-parameters/connections/name

Indicates the name of the server connected to the Agile Controller.

/huawei-system-performance/pm-config/server-connection-parameters/connections/server-url

Indicates the server address.

/huawei-system-performance/pm-config/server-connection-parameters/connections/server-port

Indicates the server port.

/huawei-system-performance/pm-config/server-connection-parameters/connections/vpn-instance-name

Indicates the information about the VPN interface.

/huawei-system-performance/pm-config/server-connection-parameters/connections/default-param

Specifies whether to use the default parameter.

The value is true or false, and the default value is false.

/huawei-system-performance/pm-config/server-connection-parameters/connections/collection-polices/collection-items

Indicates the log collection policy.

/huawei-system-performance/pm-config/server-connection-parameters/connections/collection-polices/default-upload-interval

Indicates the interval for reporting logs.

The value is in the range from 1 to 1440. The default value is 5.

/huawei-system-performance/pm-config/server-connection-parameters/connections/collection-polices/default-upload-shift-time

Indicates the minimum interval for reporting logs.

The value is an integer in the range from 0 to 59.

/huawei-system-performance/pm-config/collection-item-policy/policies/name

Indicates the name of the data collection project.

/huawei-system-performance/pm-config/collection-item-policy/policies/data-collection-item/type

Indicates the type of the data collection project.

The value is a string of characters, including performance-data, pm-station-data, pm-radio-data, log-data, netstream-data, device-data, nqa-data, netstream-origin-data, netstream-agg-upload-data, netstream-agg-download-data, netstream-agg-twoway-data, tcpfpm-data, ipfpm-data, lqm-data, twamp-data, pm-interface-data, device-log-data, voice-log-data, and ups-log-data.

NOTE:

netstream-agg-upload-data/netstream-agg-download-data: This type of function is controlled and delivered by the Agile Controller. The administrator sends IP NeStream original flow data and flexible flow data on the interface to the Agile Controller in uplink and downlink aggregation modes.

netstream-agg-twoway-data: This type of function is controlled and delivered by the Agile Controller to send visitor data to the site. In addition, you need to run the ip netstream aggregation enable command on the interface to enable the guest management function of collecting traffic statistics of visitors on the site.

/huawei-system-performance/pm-config/collection-item-policy/policies/data-collection-item/collection-enable

Indicates the enabling status of the data collection project.

The value is of the Boolean type and can be true or false.

/huawei-system-performance/pm-config/collection-item-policy/policies/data-collection-item/item-collection-interval

Indicates the interval at which the system collects data.

The value is in the range from 1 to 1440.

/huawei-system-performance/pm-config/collection-item-policy/policies/data-collection-item/item-upload-shift-enable

Indicates whether performance reporting is enabled.

The value is true or false, and the default value is false.

Configuring Information About Reporting Logs to the Agile Controller

This section provides a sample of configuring information about reporting logs to the Agile Controller.

NOTE:

Before configuring the vpn-instance parameter, you need to create a VPN instance on the device.

Table 3-2262 Configuring information about reporting logs to the Agile Controller

Operation

XPATH

edit-config:merge

/huawei-system-performance/pm-config/server-connection-parameters/connections/name

/huawei-system-performance/pm-config/server-connection-parameters/connections/server-url

/huawei-system-performance/pm-config/server-connection-parameters/connections/server-port

/huawei-system-performance/pm-config/server-connection-parameters/connections/vpn-instance-name

/huawei-system-performance/pm-config/server-connection-parameters/connections/default-param

Data Requirements
Table 3-2263 Configuring information about reporting logs to the Agile Controller

Item

Data

Description

Name of the server connected to the Agile Controller

test

Configures information about reporting logs to the Agile Controller.

Server address

192.186.55.3

Port number of the server

8000

Information about the VPN interface

vpntest

Whether to use the default parameter

false

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1031"> 
 <edit-config> 
  <target> 
   <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> 
   <pm-config xmlns="urn:huawei:params:xml:ns:yang:huawei-system-performance"> 
    <server-connection-parameters> 
     <connections> 
      <name>test</name> 
      <server-url>192.186.55.3</server-url> 
      <server-port>8000</server-port> 
      <vpn-instance-name>vpntest</vpn-instance-name> 
      <default-param>false</default-param> 
     </connections> 
    </server-connection-parameters> 
   </pm-config> 
  </config> 
 </edit-config> 
</rpc>
Response Example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1031"> 
 <ok/> 
</rpc-reply>

Deleting Information About Reporting Logs to the Agile Controller

This section provides a sample of deleting information about reporting logs to the Agile Controller.

NOTE:

Before configuring the vpn-instance parameter, you need to create a VPN instance on the device.

Table 3-2264 Deleting information about reporting logs to the Agile Controller

Operation

XPATH

edit-config:remove

/huawei-system-performance/pm-config/server-connection-parameters/connections/name

/huawei-system-performance/pm-config/server-connection-parameters/connections/server-url

/huawei-system-performance/pm-config/server-connection-parameters/connections/server-port

/huawei-system-performance/pm-config/server-connection-parameters/connections/vpn-instance-name

/huawei-system-performance/pm-config/server-connection-parameters/connections/default-param

Data Requirements
Table 3-2265 Deleting information about reporting logs to the Agile Controller

Item

Data

Description

Name of the server connected to the Agile Controller

1

Deletes information about reporting logs to the Agile Controller.

Server address

192.186.55.3

Port number of the server

8000

Information about the VPN interface

test

Whether to use the default parameter

false

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1031"> 
 <edit-config> 
  <target> 
   <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> 
   <pm-config xmlns="urn:huawei:params:xml:ns:yang:huawei-system-performance"> 
    <server-connection-parameters  xc:operation="remove"> 
     <connections> 
      <name>1</name> 
      <server-url>192.186.55.3</server-url> 
      <server-port>8000</server-port> 
      <vpn-instance-name>test</vpn-instance-name> 
      <default-param>false</default-param> 
     </connections> 
    </server-connection-parameters> 
   </pm-config> 
  </config> 
 </edit-config> 
</rpc>
Response Example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1031"> 
 <ok/> 
</rpc-reply>

Configuring Information About Collecting Logs

This section provides a sample of configuring information about collecting logs.

Table 3-2266 Configuring information about collecting logs

Operation

XPATH

edit-config:merge

/huawei-system-performance/pm-config/server-connection-parameters/connections/collection-polices/collection-items

/huawei-system-performance/pm-config/server-connection-parameters/connections/collection-polices/default-upload-interval

/huawei-system-performance/pm-config/server-connection-parameters/connections/collection-polices/default-upload-shift-time

Data Requirements
Table 3-2267 Configuring information about collecting logs

Item

Data

Description

Log collection policy

test

Configures information about reporting collecting logs.

Interval for reporting logs

300

Minimum interval for reporting logs

50

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1031"> 
 <edit-config> 
  <target> 
   <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> 
   <pm-config xmlns="urn:huawei:params:xml:ns:yang:huawei-system-performance" xc:operation="merge"> 
    <server-connection-parameters> 
     <connections> 
      <name>1</name> 
      <collection-polices> 
       <collection-items>test</collection-items> 
       <default-upload-interval>300</default-upload-interval> 
       <default-upload-shift-time >50</default-upload-shift-time> 
      </collection-polices> 
     </connections> 
    </server-connection-parameters> 
    <collection-item-policy> 
     <policies xc:operation="merge"> 
      <name>test</name> 
     </policies> 
    </collection-item-policy> 
   </pm-config> 
  </config> 
 </edit-config> 
</rpc>
Response Example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1031"> 
 <ok/> 
</rpc-reply>

Deleting Information About Collecting Logs

This section provides a sample of deleting information about collecting logs.

Table 3-2268 Deleting information about collecting logs

Operation

XPATH

edit-config:remove

/huawei-system-performance/pm-config/server-connection-parameters/connections/collection-polices/collection-items

/huawei-system-performance/pm-config/server-connection-parameters/connections/collection-polices/default-upload-interval

/huawei-system-performance/pm-config/server-connection-parameters/connections/collection-polices/default-upload-shift-time

Data Requirements
Table 3-2269 Deleting information about collecting logs

Item

Data

Description

Log collection policy

test

Deletes information about reporting collecting logs.

Interval for reporting logs

300

Minimum interval for reporting logs

50

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1031"> 
 <edit-config> 
  <target> 
   <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> 
   <pm-config xmlns="urn:huawei:params:xml:ns:yang:huawei-system-performance" xc:operation="merge"> 
    <server-connection-parameters> 
     <connections> 
      <name>1</name> 
      <collection-polices xc:operation="remove"> 
       <collection-items>test</collection-items> 
       <default-upload-interval>300</default-upload-interval> 
       <default-upload-shift-time >50</default-upload-shift-time> 
      </collection-polices> 
     </connections> 
    </server-connection-parameters> 
    <collection-item-policy> 
     <policies xc:operation="merge"> 
      <name>test</name> 
     </policies> 
    </collection-item-policy> 
   </pm-config> 
  </config> 
 </edit-config> 
</rpc>
Response Example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1031"> 
 <ok/> 
</rpc-reply>

Configuring the Policy for Collecting Performance Report Logs

This section provides a sample of configuring the policy for collecting performance report logs.

Table 3-2270 Configuring the policy for collecting performance report logs

Operation

XPATH

edit-config:merge

/huawei-system-performance/pm-config/collection-item-policy/policies/name

/huawei-system-performance/pm-config/collection-item-policy/policies/data-collection-item/type

/huawei-system-performance/pm-config/collection-item-policy/policies/data-collection-item/collection-enable

/huawei-system-performance/pm-config/collection-item-policy/policies/data-collection-item/item-collection-interval

/huawei-system-performance/pm-config/collection-item-policy/policies/data-collection-item/item-upload-shift-enable

Data Requirements
Table 3-2271 Configuring the policy for collecting performance report logs

Item

Data

Description

Name of the collection policy

test

Configures the policy for collecting performance report logs.

Type of the data collection project

ups-log-data

Enabling status of the data collection project

true

Interval at which the system collects data

80

Enabling status of performance reporting

false

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1031"> 
 <edit-config> 
  <target> 
   <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> 
   <pm-config xmlns="urn:huawei:params:xml:ns:yang:huawei-system-performance" xc:operation="merge"> 
    <server-connection-parameters> 
     <connections> 
      <name>1</name> 
     </connections> 
    </server-connection-parameters> 
    <collection-item-policy> 
     <policies xc:operation="merge"> 
      <name>test</name> 
      <data-collection-item> 
       <type>ups-log-data</type> 
       <collection-enable>true</collection-enable> 
       <item-collection-interval>80</item-collection-interval> 
       <item-upload-shift-enable>false</item-upload-shift-enable> 
      </data-collection-item> 
     </policies> 
    </collection-item-policy> 
   </pm-config> 
  </config> 
 </edit-config> 
</rpc>
Response Example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1031"> 
 <ok/> 
</rpc-reply>

Deleting the Policy for Collecting Performance Report Logs

This section provides a sample of deleting the policy for collecting performance report logs.

Table 3-2272 Deleting the policy for collecting performance report logs

Operation

XPATH

edit-config:remove

/huawei-system-performance/pm-config/collection-item-policy/policies/name

/huawei-system-performance/pm-config/collection-item-policy/policies/data-collection-item/type

/huawei-system-performance/pm-config/collection-item-policy/policies/data-collection-item/collection-enable

/huawei-system-performance/pm-config/collection-item-policy/policies/data-collection-item/item-collection-interval

/huawei-system-performance/pm-config/collection-item-policy/policies/data-collection-item/item-upload-shift-enable

Data Requirements
Table 3-2273 Deleting the policy for collecting performance report logs

Item

Data

Description

Name of the collection policy

test

Deletes the policy for collecting performance report logs.

Type of the data collection project

ups-log-data

Enabling status of the data collection project

true

Interval at which the system collects data

80

Enabling status of performance reporting

false

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1031"> 
 <edit-config> 
  <target> 
   <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> 
   <pm-config xmlns="urn:huawei:params:xml:ns:yang:huawei-system-performance" xc:operation="merge"> 
    <server-connection-parameters> 
     <connections> 
      <name>1</name> 
     </connections> 
    </server-connection-parameters> 
    <collection-item-policy> 
     <policies xc:operation="remove"> 
      <name>test</name> 
      <data-collection-item> 
       <type>ups-log-data</type> 
       <collection-enable>true</collection-enable> 
       <item-collection-interval>80</item-collection-interval> 
       <item-upload-shift-enable>false</item-upload-shift-enable> 
      </data-collection-item> 
     </policies> 
    </collection-item-policy> 
   </pm-config> 
  </config> 
 </edit-config> 
</rpc>
Response Example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1031"> 
 <ok/> 
</rpc-reply>
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100022096

Views: 8355

Downloads: 69

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