igordobrinin

noc ipam get

Nov 27th, 2020 (edited)
526
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #http --verify=no  --print=HhBb --json -a div:***** GET https://noc.***/ip/prefix/ parent==282          
  2. HTTP/1.1 200 OK
  3. Cache-Control: no-cache
  4. Connection: keep-alive
  5. Content-Encoding: gzip
  6. Content-Type: text/json; charset=utf-8
  7. Date: Fri, 27 Nov 2020 08:20:01 GMT
  8. Expires: 0
  9. Pragma: no-cache
  10. Server: nginx/1.18.0
  11. Transfer-Encoding: chunked
  12. Vary: Accept-Encoding
  13. X-Backend-Server: 172.16.10.157:29985
  14. X-Content-Type-Options: nosniff
  15. X-Front-Server: noc.maria-ra.ru
  16. X-Noc-Backend: d5a2b614-d44e-4b9c-9ba6-d9c45ccbf851 (172.16.10.157:29985)
  17.  
  18. [
  19.     {
  20.         "address_discovery_policy": "P",
  21.         "afi": "4",
  22.         "allocated_till": null,
  23.         "asn": null,
  24.         "asn__label": "",
  25.         "description": null,
  26.         "fav_status": false,
  27.         "id": 335,
  28.         "ipv6_transition": null,
  29.         "ipv6_transition__label": "",
  30.         "name": null,
  31.         "parent": 282,
  32.         "parent__label": "default(4): 10.248.32.0/20",
  33.         "prefix": "10.248.32.0/31",
  34.         "prefix_discovery_policy": "P",
  35.         "profile": "5e3bbad44d2f5a1a96c31744",
  36.         "profile__label": "default",
  37.         "project": null,
  38.         "project__label": "",
  39.         "row_class": "",
  40.         "source": "M",
  41.         "state": "5a1d07b41bb627000151a18b",
  42.         "state__label": "Default: Ready",
  43.         "tags": [],
  44.         "tt": null,
  45.         "vc": null,
  46.         "vc__label": "",
  47.         "vrf": 1,
  48.         "vrf__label": "global"
  49.     }
  50. ]
  51.  
RAW Paste Data