Provisioning Monitor Management API

/api/space/nsas/current-interface-traffic-informations

The following operations are supported on this resource:

  • GET - Get Current Interface Traffic Information

GET /api/space/nsas/current-interface-traffic-informations (v1)


Get Current Interface Traffic Information.

Example Usage

GET /api/space/nsas/current-interface-traffic-informations?device-serial-number=<device-serial-number>&itf-name=<itf-name>


Parameters

NameTypeURI TypeDescriptionRequired
device-serial-numberStringQueryDevice Serial NumberY
itf-nameStringQueryItf NameY

Content Types

  • Produces content types:
    application/vnd.juniper.api.space.nsas.current-interface-traffic-information-response+xml;version=1;q=0.01
    application/vnd.juniper.api.space.nsas.current-interface-traffic-information-response+json;version=1;q=0.01


  • Sample Output XML:
    <current-interface-traffic-information-response uri="/api/space/nsas/current-interface-traffic-informations">
         <input-packets>Double</input-packets>
         <output-packets>Double</output-packets>
         <output-errors>Double</output-errors>
         <output-bytes>Double</output-bytes>
         <output-total-errors>Double</output-total-errors>
         <output-pps>Double</output-pps>
         <input-bps>Double</input-bps>
         <time>Long</time>
         <interface-name>String</interface-name>
         <input-drops>Double</input-drops>
         <input-errors>Double</input-errors>
         <input-bytes>Double</input-bytes>
         <domain-id>Integer</domain-id>
         <input-total-errors>Double</input-total-errors>
         <input-discards>Double</input-discards>
         <output-carrier-transitions>Double</output-carrier-transitions>
         <input-multicasts>Double</input-multicasts>
         <input-framing-errors>Double</input-framing-errors>
         <input-unicasts>Double</input-unicasts>
         <domain-name>String</domain-name>
         <output-broadcasts>Double</output-broadcasts>
         <output-collisions>Double</output-collisions>
         <devic-serial-no>String</devic-serial-no>
         <input-broadcasts>Double</input-broadcasts>
         <input-pps>Double</input-pps>
         <output-drops>Double</output-drops>
         <output-unicasts>Double</output-unicasts>
         <output-bps>Double</output-bps>
         <output-multicasts>Double</output-multicasts>
    </current-interface-traffic-information-response>


  • Sample Output JSON:
    {
       "current-interface-traffic-information-response" : {
         "@uri" : "/api/space/nsas/current-interface-traffic-informations" ,
         "input-packets" : "Double" ,
         "output-packets" : "Double" ,
         "output-errors" : "Double" ,
         "output-bytes" : "Double" ,
         "output-total-errors" : "Double" ,
         "output-pps" : "Double" ,
         "input-bps" : "Double" ,
         "time" : "Long" ,
         "interface-name" : "String" ,
         "input-drops" : "Double" ,
         "input-errors" : "Double" ,
         "input-bytes" : "Double" ,
         "domain-id" : "Integer" ,
         "input-total-errors" : "Double" ,
         "input-discards" : "Double" ,
         "output-carrier-transitions" : "Double" ,
         "input-multicasts" : "Double" ,
         "input-framing-errors" : "Double" ,
         "input-unicasts" : "Double" ,
         "domain-name" : "String" ,
         "output-broadcasts" : "Double" ,
         "output-collisions" : "Double" ,
         "devic-serial-no" : "String" ,
         "input-broadcasts" : "Double" ,
         "input-pps" : "Double" ,
         "output-drops" : "Double" ,
         "output-unicasts" : "Double" ,
         "output-bps" : "Double" ,
         "output-multicasts" : "Double"
       }
    }