To specify the NEs for flow statistics collection

Steps
 

Log in to a station that has access to the NSP system.


Open a console window.


Issue the following RESTCONF API call for each NE:

Note: In order to issue a RESTCONF API call, you require a token; see the My First NSP API Client tutorial on the Network Developer Portal for information.

POST https://address:443/restconf/data/flowconf:config/policies/collection

where address is the NSP cluster advertised address

The message body is the following:

{

    "collection" : [

      {

            "mgmt-ip" : "mgmt_IP",

            "sys-ip" : "sys_IP",

            "descr" : "description",

            "protocol" : "FLOW_INFO_10_NOKIAAA"

        }

    ]

}

Note: The sys_IP value must match the System ID that the NFM-P associates with the NE, for example, as shown on the NE properties form in the GUI.

where

mgmt_IP is the management IP address

sys_IP is the system IP address

description is an optional description


Close the console window.

End of steps