ietf-ipfix-psamp API (23.11)

IPFIX/PSAMP Configuration Data Model

Copyright (c) 2012 IETF Trust and the persons identified as the document authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info).

ipfix

returns ietf.ipfix.psamp.Ipfix

get /data/ietf-ipfix-psamp:ipfix

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix

Top-level node of the IPFIX/PSAMP configuration data model.

Responses

200

ietf.ipfix.psamp.Ipfix

400

Internal error

Request samples

Copy
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "http://hostname/restconf/data/ietf-ipfix-psamp:ipfix"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}

Response samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "ietf-ipfix-psamp:ipfix-wrapper":
    {