To configure the transfer of results files

Purpose

You can enable the transfer of result files to a file server in the following formats.

  • NAT

  • IPDR

  • CSV

Note: A minimum 1-Gbyte/s link is required between the NSP Flow Collector and the file server.

Note: SFTP transfers are considerably slower than FTP transfers.

Steps
 

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


Open a console window.


Issue the following RESTCONF API call to configure the extraction of AA correlation data from NFM-P using the XML API:

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.

PATCH https://address:443/restconf/data/flowconf:config/extraction/nfmp/xml-api

where address is the NSP cluster advertised address

The message body is the following:

{

    "xml-api" : [

      {

            "https-port" : "port",

            "request-timeout" : "request timeout",

            "username" : "username"

            "password" : "password",

        }

    ]

}

where

port is the port

request timeout is amount of time after which an unanswered request will expire

username is the username

password is the password

Note: This configuration has only one entry, which is pre-configured with default values. This entry can be updated (PATCH), but cannot be replaced or deleted.


Issue the following RESTCONF API call to configure the transfer of AA correlation data from NFM-P after an extraction:

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.

PATCH https://address:443/restconf/data/flowconf:config/extraction/nfmp/transfer

where address is the NSP cluster advertised address

The message body is the following:

{

    "transfer" : [

      {

            "protocol" : "protocol",

            "port" : "port",

            "username" : "username"

            "password" : "password",

        }

    ]

}

where

port is the file server port

username is the FTP or SFTP username

password is the FTP or SFTP password

protocol is one of the following:

  • FTP

  • SFTP

Note: This configuration has only one entry, which is pre-configured with default values. This entry can be updated (PATCH), but cannot be replaced or deleted.


Close the console window.

End of steps