ietf-ipfix-psamp API (24.02)

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":
    {
    }
}

creates ietf.ipfix.psamp.Ipfix

post /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.

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.Ipfix to be added to list

ietf-ipfix-psamp:ipfix
object (ietf.ipfix.psamp.Ipfix)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

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

creates or updates ietf.ipfix.psamp.Ipfix

put /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.

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.Ipfix to be added or updated

ietf-ipfix-psamp:ipfix-wrapper
object (ietf.ipfix.psamp.IpfixWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.Ipfix

delete /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

204

Object deleted

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("DELETE", url, nil)

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

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

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

}

creates ietf.ipfix.psamp.ipfix.Cache

post /data/ietf-ipfix-psamp:ipfix/cache

Example URL

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

Cache of the Monitoring Device.

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.Cache to be added to list

cache
object (ietf.ipfix.psamp.ipfix.Cache)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cache":
    {
    }
}

returns ietf.ipfix.psamp.ipfix.Cache

get /data/ietf-ipfix-psamp:ipfix/cache={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}

Cache of the Monitoring Device.

path Parameters
name
required
string

Id of cache

Responses

200

ietf.ipfix.psamp.ipfix.Cache

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/cache=%7Bname%7D"

	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:cache-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.ipfix.Cache

put /data/ietf-ipfix-psamp:ipfix/cache={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}

Cache of the Monitoring Device.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.Cache to be added or updated

ietf-ipfix-psamp:cache-wrapper
object (ietf.ipfix.psamp.ipfix.CacheWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.ipfix.Cache

delete /data/ietf-ipfix-psamp:ipfix/cache={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}

Cache of the Monitoring Device.

path Parameters
name
required
string

Id of cache

Responses

204

Object deleted

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/cache=%7Bname%7D"

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

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

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

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

}

returns ietf.ipfix.psamp.CacheLayoutParameters

get /data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache

Flow expiration after the first packet; generation of Packet Records.

path Parameters
name
required
string

Id of cache

Responses

200

ietf.ipfix.psamp.CacheLayoutParameters

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/cache=%7Bname%7D/immediateCache"

	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:cache-layout-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.CacheLayoutParameters

post /data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache

Flow expiration after the first packet; generation of Packet Records.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.CacheLayoutParameters to be added to list

immediateCache
object (ietf.ipfix.psamp.CacheLayoutParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "immediateCache":
    {
    }
}

creates or updates ietf.ipfix.psamp.CacheLayoutParameters

put /data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache

Flow expiration after the first packet; generation of Packet Records.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.CacheLayoutParameters to be added or updated

ietf-ipfix-psamp:cache-layout-parameters-wrapper
object (ietf.ipfix.psamp.CacheLayoutParametersWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.CacheLayoutParameters

delete /data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache

Flow expiration after the first packet; generation of Packet Records.

path Parameters
name
required
string

Id of cache

Responses

204

Object deleted

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/cache=%7Bname%7D/immediateCache"

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

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

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

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

}

returns ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

get /data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Responses

200

ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

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/cache=%7Bname%7D/immediateCache/cacheLayout"

	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:cache-layout-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

post /data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.CacheLayout to be added to list

cacheLayout
object (ietf.ipfix.psamp.cachelayoutparameters.CacheLayout)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheLayout":
    {
    }
}

creates or updates ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

put /data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.CacheLayout to be added or updated

cacheLayout
object (ietf.ipfix.psamp.cachelayoutparameters.CacheLayout)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheLayout":
    {
    }
}

removes ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

delete /data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Responses

204

Object deleted

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/cache=%7Bname%7D/immediateCache/cacheLayout"

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

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

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

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

}

creates ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

post /data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout/cacheField

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout/cacheField

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField to be added to list

cacheField
object (ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheField":
    {
    }
}

returns ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

get /data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout/cacheField={cacheField-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout/cacheField={cacheField-name}

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

cacheField-name
required
string

Id of cacheField

Responses

200

ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

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/cache=%7Bname%7D/immediateCache/cacheLayout/cacheField=%7BcacheField-name%7D"

	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:cache-field-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

put /data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout/cacheField={cacheField-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout/cacheField={cacheField-name}

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

cacheField-name
required
string

Id of cacheField

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField to be added or updated

cacheField
object (ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheField":
    {
    }
}

removes ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

delete /data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout/cacheField={cacheField-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/immediateCache/cacheLayout/cacheField={cacheField-name}

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

cacheField-name
required
string

Id of cacheField

Responses

204

Object deleted

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/cache=%7Bname%7D/immediateCache/cacheLayout/cacheField=%7BcacheField-name%7D"

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

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

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

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

}

returns ietf.ipfix.psamp.ipfix.cache.cachetype.naturalcache.NaturalCache

get /data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache

Flow expiration after active and idle timeout, or on natural termination (e.g., TCP FIN or TCP RST) of the Flow; generation of Flow Records.

path Parameters
name
required
string

Id of cache

Responses

200

ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache

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/cache=%7Bname%7D/naturalCache"

	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:timeout-cache-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.ipfix.cache.cachetype.naturalcache.NaturalCache

post /data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache

Flow expiration after active and idle timeout, or on natural termination (e.g., TCP FIN or TCP RST) of the Flow; generation of Flow Records.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache to be added to list

naturalCache
object (ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "naturalCache":
    {
    }
}

creates or updates ietf.ipfix.psamp.ipfix.cache.cachetype.naturalcache.NaturalCache

put /data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache

Flow expiration after active and idle timeout, or on natural termination (e.g., TCP FIN or TCP RST) of the Flow; generation of Flow Records.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache to be added or updated

naturalCache
object (ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "naturalCache":
    {
    }
}

removes ietf.ipfix.psamp.ipfix.cache.cachetype.naturalcache.NaturalCache

delete /data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache

Flow expiration after active and idle timeout, or on natural termination (e.g., TCP FIN or TCP RST) of the Flow; generation of Flow Records.

path Parameters
name
required
string

Id of cache

Responses

204

Object deleted

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/cache=%7Bname%7D/naturalCache"

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

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

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

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

}

returns ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

get /data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Responses

200

ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

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/cache=%7Bname%7D/naturalCache/cacheLayout"

	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:cache-layout-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

post /data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.CacheLayout to be added to list

cacheLayout
object (ietf.ipfix.psamp.cachelayoutparameters.CacheLayout)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheLayout":
    {
    }
}

creates or updates ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

put /data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.CacheLayout to be added or updated

cacheLayout
object (ietf.ipfix.psamp.cachelayoutparameters.CacheLayout)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheLayout":
    {
    }
}

removes ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

delete /data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Responses

204

Object deleted

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/cache=%7Bname%7D/naturalCache/cacheLayout"

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

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

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

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

}

creates ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

post /data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout/cacheField

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout/cacheField

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField to be added to list

cacheField
object (ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheField":
    {
    }
}

returns ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

get /data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout/cacheField={cacheField-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout/cacheField={cacheField-name}

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

cacheField-name
required
string

Id of cacheField

Responses

200

ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

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/cache=%7Bname%7D/naturalCache/cacheLayout/cacheField=%7BcacheField-name%7D"

	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:cache-field-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

put /data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout/cacheField={cacheField-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout/cacheField={cacheField-name}

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

cacheField-name
required
string

Id of cacheField

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField to be added or updated

cacheField
object (ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheField":
    {
    }
}

removes ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

delete /data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout/cacheField={cacheField-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/naturalCache/cacheLayout/cacheField={cacheField-name}

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

cacheField-name
required
string

Id of cacheField

Responses

204

Object deleted

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/cache=%7Bname%7D/naturalCache/cacheLayout/cacheField=%7BcacheField-name%7D"

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

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

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

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

}

returns ietf.ipfix.psamp.ipfix.cache.cachetype.permanentcache.PermanentCache

get /data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache

No flow expiration, periodical export with time interval exportInterval; generation of Flow Records.

path Parameters
name
required
string

Id of cache

Responses

200

ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache

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/cache=%7Bname%7D/permanentCache"

	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:timeout-cache-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.ipfix.cache.cachetype.permanentcache.PermanentCache

post /data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache

No flow expiration, periodical export with time interval exportInterval; generation of Flow Records.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache to be added to list

naturalCache
object (ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "naturalCache":
    {
    }
}

creates or updates ietf.ipfix.psamp.ipfix.cache.cachetype.permanentcache.PermanentCache

put /data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache

No flow expiration, periodical export with time interval exportInterval; generation of Flow Records.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache to be added or updated

naturalCache
object (ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "naturalCache":
    {
    }
}

removes ietf.ipfix.psamp.ipfix.cache.cachetype.permanentcache.PermanentCache

delete /data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache

No flow expiration, periodical export with time interval exportInterval; generation of Flow Records.

path Parameters
name
required
string

Id of cache

Responses

204

Object deleted

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/cache=%7Bname%7D/permanentCache"

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

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

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

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

}

returns ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

get /data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Responses

200

ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

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/cache=%7Bname%7D/permanentCache/cacheLayout"

	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:cache-layout-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

post /data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.CacheLayout to be added to list

cacheLayout
object (ietf.ipfix.psamp.cachelayoutparameters.CacheLayout)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheLayout":
    {
    }
}

creates or updates ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

put /data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.CacheLayout to be added or updated

cacheLayout
object (ietf.ipfix.psamp.cachelayoutparameters.CacheLayout)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheLayout":
    {
    }
}

removes ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

delete /data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Responses

204

Object deleted

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/cache=%7Bname%7D/permanentCache/cacheLayout"

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

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

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

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

}

creates ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

post /data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout/cacheField

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout/cacheField

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField to be added to list

cacheField
object (ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheField":
    {
    }
}

returns ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

get /data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout/cacheField={cacheField-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout/cacheField={cacheField-name}

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

cacheField-name
required
string

Id of cacheField

Responses

200

ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

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/cache=%7Bname%7D/permanentCache/cacheLayout/cacheField=%7BcacheField-name%7D"

	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:cache-field-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

put /data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout/cacheField={cacheField-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout/cacheField={cacheField-name}

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

cacheField-name
required
string

Id of cacheField

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField to be added or updated

cacheField
object (ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheField":
    {
    }
}

removes ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

delete /data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout/cacheField={cacheField-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/permanentCache/cacheLayout/cacheField={cacheField-name}

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

cacheField-name
required
string

Id of cacheField

Responses

204

Object deleted

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/cache=%7Bname%7D/permanentCache/cacheLayout/cacheField=%7BcacheField-name%7D"

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

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

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

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

}

returns ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache

get /data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache

Flow expiration after active and idle timeout; generation of Flow Records.

path Parameters
name
required
string

Id of cache

Responses

200

ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache

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/cache=%7Bname%7D/timeoutCache"

	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:timeout-cache-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache

post /data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache

Flow expiration after active and idle timeout; generation of Flow Records.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache to be added to list

naturalCache
object (ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "naturalCache":
    {
    }
}

creates or updates ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache

put /data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache

Flow expiration after active and idle timeout; generation of Flow Records.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache to be added or updated

naturalCache
object (ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "naturalCache":
    {
    }
}

removes ietf.ipfix.psamp.ipfix.cache.cachetype.timeoutcache.TimeoutCache

delete /data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache

Flow expiration after active and idle timeout; generation of Flow Records.

path Parameters
name
required
string

Id of cache

Responses

204

Object deleted

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/cache=%7Bname%7D/timeoutCache"

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

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

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

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

}

returns ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

get /data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Responses

200

ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

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/cache=%7Bname%7D/timeoutCache/cacheLayout"

	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:cache-layout-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

post /data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.CacheLayout to be added to list

cacheLayout
object (ietf.ipfix.psamp.cachelayoutparameters.CacheLayout)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheLayout":
    {
    }
}

creates or updates ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

put /data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.CacheLayout to be added or updated

cacheLayout
object (ietf.ipfix.psamp.cachelayoutparameters.CacheLayout)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheLayout":
    {
    }
}

removes ietf.ipfix.psamp.cachelayoutparameters.CacheLayout

delete /data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout

Cache Layout parameters.

path Parameters
name
required
string

Id of cache

Responses

204

Object deleted

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/cache=%7Bname%7D/timeoutCache/cacheLayout"

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

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

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

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

}

creates ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

post /data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout/cacheField

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout/cacheField

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField to be added to list

cacheField
object (ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheField":
    {
    }
}

returns ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

get /data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout/cacheField={cacheField-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout/cacheField={cacheField-name}

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

cacheField-name
required
string

Id of cacheField

Responses

200

ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

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/cache=%7Bname%7D/timeoutCache/cacheLayout/cacheField=%7BcacheField-name%7D"

	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:cache-field-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

put /data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout/cacheField={cacheField-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout/cacheField={cacheField-name}

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

cacheField-name
required
string

Id of cacheField

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField to be added or updated

cacheField
object (ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "cacheField":
    {
    }
}

removes ietf.ipfix.psamp.cachelayoutparameters.cachelayout.CacheField

delete /data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout/cacheField={cacheField-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/cache={name}/timeoutCache/cacheLayout/cacheField={cacheField-name}

Superset of fields that are included in the Packet Reports or Flow Records generated by the Cache.

path Parameters
name
required
string

Id of cache

cacheField-name
required
string

Id of cacheField

Responses

204

Object deleted

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/cache=%7Bname%7D/timeoutCache/cacheLayout/cacheField=%7BcacheField-name%7D"

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

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

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

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

}

creates ietf.ipfix.psamp.ipfix.CollectingProcess

post /data/ietf-ipfix-psamp:ipfix/collectingProcess

Example URL

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

Collecting Process of the Monitoring Device.

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.CollectingProcess to be added to list

collectingProcess
object (ietf.ipfix.psamp.ipfix.CollectingProcess)

Collecting Process of the Monitoring Device.

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "collectingProcess":
    {
    }
}

returns ietf.ipfix.psamp.ipfix.CollectingProcess

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}

Collecting Process of the Monitoring Device.

path Parameters
name
required
string

Id of collectingProcess

Responses

200

ietf.ipfix.psamp.ipfix.CollectingProcess

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/collectingProcess=%7Bname%7D"

	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:collecting-process-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.ipfix.CollectingProcess

put /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}

Collecting Process of the Monitoring Device.

path Parameters
name
required
string

Id of collectingProcess

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.CollectingProcess to be added or updated

ietf-ipfix-psamp:collecting-process-wrapper
object (ietf.ipfix.psamp.ipfix.CollectingProcessWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.ipfix.CollectingProcess

delete /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}

Collecting Process of the Monitoring Device.

path Parameters
name
required
string

Id of collectingProcess

Responses

204

Object deleted

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/collectingProcess=%7Bname%7D"

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

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

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

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

}

creates ietf.ipfix.psamp.collectingprocessparameters.FileReader

post /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/fileReader

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/fileReader

List of File Readers from which the Collecting Process reads IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.collectingprocessparameters.FileReader to be added to list

fileReader
object (ietf.ipfix.psamp.collectingprocessparameters.FileReader)

List of File Readers from which the Collecting Process reads IPFIX Messages.

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "fileReader":
    {
    }
}

returns ietf.ipfix.psamp.collectingprocessparameters.FileReader

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/fileReader={fileReader-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/fileReader={fileReader-name}

List of File Readers from which the Collecting Process reads IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

fileReader-name
required
string

Id of fileReader

Responses

200

ietf.ipfix.psamp.collectingprocessparameters.FileReader

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/collectingProcess=%7Bname%7D/fileReader=%7BfileReader-name%7D"

	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:file-reader-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.collectingprocessparameters.FileReader

put /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/fileReader={fileReader-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/fileReader={fileReader-name}

List of File Readers from which the Collecting Process reads IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

fileReader-name
required
string

Id of fileReader

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.collectingprocessparameters.FileReader to be added or updated

ietf-ipfix-psamp:file-reader-wrapper
object (ietf.ipfix.psamp.collectingprocessparameters.FileReaderWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.collectingprocessparameters.FileReader

delete /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/fileReader={fileReader-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/fileReader={fileReader-name}

List of File Readers from which the Collecting Process reads IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

fileReader-name
required
string

Id of fileReader

Responses

204

Object deleted

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/collectingProcess=%7Bname%7D/fileReader=%7BfileReader-name%7D"

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

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

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

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

}

returns ietf.ipfix.psamp.TemplateParameters

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/fileReader={fileReader-name}/template

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/fileReader={fileReader-name}/template

This list contains the Templates and Options Templates that have been read by the File Reader. Withdrawn or invalidated (Options) Template MUST be removed from this list.

path Parameters
name
required
string

Id of collectingProcess

fileReader-name
required
string

Id of fileReader

Responses

200

ietf.ipfix.psamp.TemplateParameters

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/collectingProcess=%7Bname%7D/fileReader=%7BfileReader-name%7D/template"

	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:template-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.templateparameters.Field

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/fileReader={fileReader-name}/template/field

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/fileReader={fileReader-name}/template/field

This list contains the (Options) Template fields of which the (Options) Template is defined. The order of the list corresponds to the order of the fields in the (Option) Template Record.

path Parameters
name
required
string

Id of collectingProcess

fileReader-name
required
string

Id of fileReader

Responses

200

ietf.ipfix.psamp.templateparameters.Field

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/collectingProcess=%7Bname%7D/fileReader=%7BfileReader-name%7D/template/field"

	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:field-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.collectingprocessparameters.SctpCollector

post /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector

List of SCTP receivers (sockets) on which the Collecting Process receives IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.collectingprocessparameters.SctpCollector to be added to list

sctpCollector
object (ietf.ipfix.psamp.collectingprocessparameters.SctpCollector)

Parameters of a listening SCTP socket at a Collecting Process.

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "sctpCollector":
    {
    }
}

returns ietf.ipfix.psamp.collectingprocessparameters.SctpCollector

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}

List of SCTP receivers (sockets) on which the Collecting Process receives IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

sctpCollector-name
required
string

Id of sctpCollector

Responses

200

ietf.ipfix.psamp.collectingprocessparameters.SctpCollector

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/collectingProcess=%7Bname%7D/sctpCollector=%7BsctpCollector-name%7D"

	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:sctp-collector-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.collectingprocessparameters.SctpCollector

put /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}

List of SCTP receivers (sockets) on which the Collecting Process receives IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

sctpCollector-name
required
string

Id of sctpCollector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.collectingprocessparameters.SctpCollector to be added or updated

ietf-ipfix-psamp:sctp-collector-wrapper
object (ietf.ipfix.psamp.collectingprocessparameters.SctpCollectorWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.collectingprocessparameters.SctpCollector

delete /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}

List of SCTP receivers (sockets) on which the Collecting Process receives IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

sctpCollector-name
required
string

Id of sctpCollector

Responses

204

Object deleted

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/collectingProcess=%7Bname%7D/sctpCollector=%7BsctpCollector-name%7D"

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

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

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

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

}

returns ietf.ipfix.psamp.TransportLayerSecurityParameters

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of collectingProcess

sctpCollector-name
required
string

Id of sctpCollector

Responses

200

ietf.ipfix.psamp.TransportLayerSecurityParameters

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/collectingProcess=%7Bname%7D/sctpCollector=%7BsctpCollector-name%7D/transportLayerSecurity"

	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:transport-layer-security-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.TransportLayerSecurityParameters

post /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of collectingProcess

sctpCollector-name
required
string

Id of sctpCollector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TransportLayerSecurityParameters to be added to list

transportLayerSecurity
object (ietf.ipfix.psamp.TransportLayerSecurityParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "transportLayerSecurity":
    {
    }
}

creates or updates ietf.ipfix.psamp.TransportLayerSecurityParameters

put /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of collectingProcess

sctpCollector-name
required
string

Id of sctpCollector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TransportLayerSecurityParameters to be added or updated

transportLayerSecurity
object (ietf.ipfix.psamp.TransportLayerSecurityParameters)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "transportLayerSecurity":
    {
    }
}

removes ietf.ipfix.psamp.TransportLayerSecurityParameters

delete /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of collectingProcess

sctpCollector-name
required
string

Id of sctpCollector

Responses

204

Object deleted

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/collectingProcess=%7Bname%7D/sctpCollector=%7BsctpCollector-name%7D/transportLayerSecurity"

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

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

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

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

}

returns ietf.ipfix.psamp.TransportSessionParameters

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportSession

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportSession

This list contains the currently established Transport Sessions terminating at the given socket.

path Parameters
name
required
string

Id of collectingProcess

sctpCollector-name
required
string

Id of sctpCollector

Responses

200

ietf.ipfix.psamp.TransportSessionParameters

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/collectingProcess=%7Bname%7D/sctpCollector=%7BsctpCollector-name%7D/transportSession"

	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:transport-session-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.TemplateParameters

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportSession/template

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportSession/template

This list contains the Templates and Options Templates that are transmitted by the Exporting Process or received by the Collecting Process. Withdrawn or invalidated (Options) Templates MUST be removed from this list.

path Parameters
name
required
string

Id of collectingProcess

sctpCollector-name
required
string

Id of sctpCollector

Responses

200

ietf.ipfix.psamp.TemplateParameters

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/collectingProcess=%7Bname%7D/sctpCollector=%7BsctpCollector-name%7D/transportSession/template"

	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:template-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.templateparameters.Field

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportSession/template/field

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/sctpCollector={sctpCollector-name}/transportSession/template/field

This list contains the (Options) Template fields of which the (Options) Template is defined. The order of the list corresponds to the order of the fields in the (Option) Template Record.

path Parameters
name
required
string

Id of collectingProcess

sctpCollector-name
required
string

Id of sctpCollector

Responses

200

ietf.ipfix.psamp.templateparameters.Field

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/collectingProcess=%7Bname%7D/sctpCollector=%7BsctpCollector-name%7D/transportSession/template/field"

	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:field-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.collectingprocessparameters.TcpCollector

post /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector

List of TCP receivers (sockets) on which the Collecting Process receives IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.collectingprocessparameters.TcpCollector to be added to list

tcpCollector
object (ietf.ipfix.psamp.collectingprocessparameters.TcpCollector)

Parameters of a listening TCP socket at a Collecting Process.

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "tcpCollector":
    {
    }
}

returns ietf.ipfix.psamp.collectingprocessparameters.TcpCollector

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}

List of TCP receivers (sockets) on which the Collecting Process receives IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

tcpCollector-name
required
string

Id of tcpCollector

Responses

200

ietf.ipfix.psamp.collectingprocessparameters.TcpCollector

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/collectingProcess=%7Bname%7D/tcpCollector=%7BtcpCollector-name%7D"

	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:tcp-collector-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.collectingprocessparameters.TcpCollector

put /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}

List of TCP receivers (sockets) on which the Collecting Process receives IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

tcpCollector-name
required
string

Id of tcpCollector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.collectingprocessparameters.TcpCollector to be added or updated

ietf-ipfix-psamp:tcp-collector-wrapper
object (ietf.ipfix.psamp.collectingprocessparameters.TcpCollectorWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.collectingprocessparameters.TcpCollector

delete /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}

List of TCP receivers (sockets) on which the Collecting Process receives IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

tcpCollector-name
required
string

Id of tcpCollector

Responses

204

Object deleted

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/collectingProcess=%7Bname%7D/tcpCollector=%7BtcpCollector-name%7D"

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

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

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

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

}

returns ietf.ipfix.psamp.TransportLayerSecurityParameters

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of collectingProcess

tcpCollector-name
required
string

Id of tcpCollector

Responses

200

ietf.ipfix.psamp.TransportLayerSecurityParameters

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/collectingProcess=%7Bname%7D/tcpCollector=%7BtcpCollector-name%7D/transportLayerSecurity"

	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:transport-layer-security-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.TransportLayerSecurityParameters

post /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of collectingProcess

tcpCollector-name
required
string

Id of tcpCollector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TransportLayerSecurityParameters to be added to list

transportLayerSecurity
object (ietf.ipfix.psamp.TransportLayerSecurityParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "transportLayerSecurity":
    {
    }
}

creates or updates ietf.ipfix.psamp.TransportLayerSecurityParameters

put /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of collectingProcess

tcpCollector-name
required
string

Id of tcpCollector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TransportLayerSecurityParameters to be added or updated

transportLayerSecurity
object (ietf.ipfix.psamp.TransportLayerSecurityParameters)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "transportLayerSecurity":
    {
    }
}

removes ietf.ipfix.psamp.TransportLayerSecurityParameters

delete /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of collectingProcess

tcpCollector-name
required
string

Id of tcpCollector

Responses

204

Object deleted

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/collectingProcess=%7Bname%7D/tcpCollector=%7BtcpCollector-name%7D/transportLayerSecurity"

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

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

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

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

}

returns ietf.ipfix.psamp.TransportSessionParameters

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportSession

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportSession

This list contains the currently established Transport Sessions terminating at the given socket.

path Parameters
name
required
string

Id of collectingProcess

tcpCollector-name
required
string

Id of tcpCollector

Responses

200

ietf.ipfix.psamp.TransportSessionParameters

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/collectingProcess=%7Bname%7D/tcpCollector=%7BtcpCollector-name%7D/transportSession"

	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:transport-session-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.TemplateParameters

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportSession/template

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportSession/template

This list contains the Templates and Options Templates that are transmitted by the Exporting Process or received by the Collecting Process. Withdrawn or invalidated (Options) Templates MUST be removed from this list.

path Parameters
name
required
string

Id of collectingProcess

tcpCollector-name
required
string

Id of tcpCollector

Responses

200

ietf.ipfix.psamp.TemplateParameters

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/collectingProcess=%7Bname%7D/tcpCollector=%7BtcpCollector-name%7D/transportSession/template"

	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:template-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.templateparameters.Field

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportSession/template/field

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/tcpCollector={tcpCollector-name}/transportSession/template/field

This list contains the (Options) Template fields of which the (Options) Template is defined. The order of the list corresponds to the order of the fields in the (Option) Template Record.

path Parameters
name
required
string

Id of collectingProcess

tcpCollector-name
required
string

Id of tcpCollector

Responses

200

ietf.ipfix.psamp.templateparameters.Field

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/collectingProcess=%7Bname%7D/tcpCollector=%7BtcpCollector-name%7D/transportSession/template/field"

	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:field-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.collectingprocessparameters.UdpCollector

post /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector

List of UDP receivers (sockets) on which the Collecting Process receives IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.collectingprocessparameters.UdpCollector to be added to list

udpCollector
object (ietf.ipfix.psamp.collectingprocessparameters.UdpCollector)

Parameters of a listening UDP socket at a Collecting Process.

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "udpCollector":
    {
    }
}

returns ietf.ipfix.psamp.collectingprocessparameters.UdpCollector

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}

List of UDP receivers (sockets) on which the Collecting Process receives IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

udpCollector-name
required
string

Id of udpCollector

Responses

200

ietf.ipfix.psamp.collectingprocessparameters.UdpCollector

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/collectingProcess=%7Bname%7D/udpCollector=%7BudpCollector-name%7D"

	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:udp-collector-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.collectingprocessparameters.UdpCollector

put /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}

List of UDP receivers (sockets) on which the Collecting Process receives IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

udpCollector-name
required
string

Id of udpCollector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.collectingprocessparameters.UdpCollector to be added or updated

ietf-ipfix-psamp:udp-collector-wrapper
object (ietf.ipfix.psamp.collectingprocessparameters.UdpCollectorWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.collectingprocessparameters.UdpCollector

delete /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}

List of UDP receivers (sockets) on which the Collecting Process receives IPFIX Messages.

path Parameters
name
required
string

Id of collectingProcess

udpCollector-name
required
string

Id of udpCollector

Responses

204

Object deleted

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/collectingProcess=%7Bname%7D/udpCollector=%7BudpCollector-name%7D"

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

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

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

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

}

returns ietf.ipfix.psamp.TransportLayerSecurityParameters

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of collectingProcess

udpCollector-name
required
string

Id of udpCollector

Responses

200

ietf.ipfix.psamp.TransportLayerSecurityParameters

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/collectingProcess=%7Bname%7D/udpCollector=%7BudpCollector-name%7D/transportLayerSecurity"

	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:transport-layer-security-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.TransportLayerSecurityParameters

post /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of collectingProcess

udpCollector-name
required
string

Id of udpCollector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TransportLayerSecurityParameters to be added to list

transportLayerSecurity
object (ietf.ipfix.psamp.TransportLayerSecurityParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "transportLayerSecurity":
    {
    }
}

creates or updates ietf.ipfix.psamp.TransportLayerSecurityParameters

put /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of collectingProcess

udpCollector-name
required
string

Id of udpCollector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TransportLayerSecurityParameters to be added or updated

transportLayerSecurity
object (ietf.ipfix.psamp.TransportLayerSecurityParameters)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "transportLayerSecurity":
    {
    }
}

removes ietf.ipfix.psamp.TransportLayerSecurityParameters

delete /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of collectingProcess

udpCollector-name
required
string

Id of udpCollector

Responses

204

Object deleted

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/collectingProcess=%7Bname%7D/udpCollector=%7BudpCollector-name%7D/transportLayerSecurity"

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

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

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

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

}

returns ietf.ipfix.psamp.TransportSessionParameters

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportSession

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportSession

This list contains the currently established Transport Sessions terminating at the given socket.

path Parameters
name
required
string

Id of collectingProcess

udpCollector-name
required
string

Id of udpCollector

Responses

200

ietf.ipfix.psamp.TransportSessionParameters

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/collectingProcess=%7Bname%7D/udpCollector=%7BudpCollector-name%7D/transportSession"

	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:transport-session-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.TemplateParameters

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportSession/template

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportSession/template

This list contains the Templates and Options Templates that are transmitted by the Exporting Process or received by the Collecting Process. Withdrawn or invalidated (Options) Templates MUST be removed from this list.

path Parameters
name
required
string

Id of collectingProcess

udpCollector-name
required
string

Id of udpCollector

Responses

200

ietf.ipfix.psamp.TemplateParameters

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/collectingProcess=%7Bname%7D/udpCollector=%7BudpCollector-name%7D/transportSession/template"

	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:template-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.templateparameters.Field

get /data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportSession/template/field

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/collectingProcess={name}/udpCollector={udpCollector-name}/transportSession/template/field

This list contains the (Options) Template fields of which the (Options) Template is defined. The order of the list corresponds to the order of the fields in the (Option) Template Record.

path Parameters
name
required
string

Id of collectingProcess

udpCollector-name
required
string

Id of udpCollector

Responses

200

ietf.ipfix.psamp.templateparameters.Field

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/collectingProcess=%7Bname%7D/udpCollector=%7BudpCollector-name%7D/transportSession/template/field"

	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:field-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.ipfix.ExportingProcess

post /data/ietf-ipfix-psamp:ipfix/exportingProcess

Example URL

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

Exporting Process of the Monitoring Device.

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.ExportingProcess to be added to list

exportingProcess
object (ietf.ipfix.psamp.ipfix.ExportingProcess)

Exporting Process of the Monitoring Device.

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "exportingProcess":
    {
    }
}

returns ietf.ipfix.psamp.ipfix.ExportingProcess

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}

Exporting Process of the Monitoring Device.

path Parameters
name
required
string

Id of exportingProcess

Responses

200

ietf.ipfix.psamp.ipfix.ExportingProcess

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/exportingProcess=%7Bname%7D"

	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:exporting-process-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.ipfix.ExportingProcess

put /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}

Exporting Process of the Monitoring Device.

path Parameters
name
required
string

Id of exportingProcess

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.ExportingProcess to be added or updated

ietf-ipfix-psamp:exporting-process-wrapper
object (ietf.ipfix.psamp.ipfix.ExportingProcessWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.ipfix.ExportingProcess

delete /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}

Exporting Process of the Monitoring Device.

path Parameters
name
required
string

Id of exportingProcess

Responses

204

Object deleted

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/exportingProcess=%7Bname%7D"

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

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

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

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

}

creates ietf.ipfix.psamp.exportingprocessparameters.Destination

post /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination

List of export destinations.

path Parameters
name
required
string

Id of exportingProcess

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.exportingprocessparameters.Destination to be added to list

destination
object (ietf.ipfix.psamp.exportingprocessparameters.Destination)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "destination":
    {
    }
}

returns ietf.ipfix.psamp.exportingprocessparameters.Destination

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}

List of export destinations.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.exportingprocessparameters.Destination

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D"

	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:destination-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.exportingprocessparameters.Destination

put /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}

List of export destinations.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.exportingprocessparameters.Destination to be added or updated

ietf-ipfix-psamp:destination-wrapper
object (ietf.ipfix.psamp.exportingprocessparameters.DestinationWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.exportingprocessparameters.Destination

delete /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}

List of export destinations.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

204

Object deleted

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D"

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

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

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

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

}

returns ietf.ipfix.psamp.FileWriterParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/fileWriter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/fileWriter

File Writer parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.FileWriterParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/fileWriter"

	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:file-writer-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.FileWriterParameters

post /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/fileWriter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/fileWriter

File Writer parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.FileWriterParameters to be added to list

fileWriter
object (ietf.ipfix.psamp.FileWriterParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "fileWriter":
    {
    }
}

creates or updates ietf.ipfix.psamp.FileWriterParameters

put /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/fileWriter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/fileWriter

File Writer parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.FileWriterParameters to be added or updated

ietf-ipfix-psamp:file-writer-parameters-wrapper
object (ietf.ipfix.psamp.FileWriterParametersWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.FileWriterParameters

delete /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/fileWriter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/fileWriter

File Writer parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

204

Object deleted

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/fileWriter"

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

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

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

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

}

returns ietf.ipfix.psamp.TemplateParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/fileWriter/template

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/fileWriter/template

This list contains the Templates and Options Templates that have been written by the File Reader. Withdrawn or invalidated (Options) Templates MUST be removed from this list.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.TemplateParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/fileWriter/template"

	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:template-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.templateparameters.Field

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/fileWriter/template/field

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/fileWriter/template/field

This list contains the (Options) Template fields of which the (Options) Template is defined. The order of the list corresponds to the order of the fields in the (Option) Template Record.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.templateparameters.Field

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/fileWriter/template/field"

	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:field-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.SctpExporterParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter

SCTP parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.SctpExporterParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/sctpExporter"

	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:sctp-exporter-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.SctpExporterParameters

post /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter

SCTP parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.SctpExporterParameters to be added to list

sctpExporter
object (ietf.ipfix.psamp.SctpExporterParameters)

SCTP-specific export destination parameters.

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "sctpExporter":
    {
    }
}

creates or updates ietf.ipfix.psamp.SctpExporterParameters

put /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter

SCTP parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.SctpExporterParameters to be added or updated

ietf-ipfix-psamp:sctp-exporter-parameters-wrapper
object (ietf.ipfix.psamp.SctpExporterParametersWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.SctpExporterParameters

delete /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter

SCTP parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

204

Object deleted

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/sctpExporter"

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

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

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

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

}

returns ietf.ipfix.psamp.TransportLayerSecurityParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.TransportLayerSecurityParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/sctpExporter/transportLayerSecurity"

	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:transport-layer-security-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.TransportLayerSecurityParameters

post /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TransportLayerSecurityParameters to be added to list

transportLayerSecurity
object (ietf.ipfix.psamp.TransportLayerSecurityParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "transportLayerSecurity":
    {
    }
}

creates or updates ietf.ipfix.psamp.TransportLayerSecurityParameters

put /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TransportLayerSecurityParameters to be added or updated

transportLayerSecurity
object (ietf.ipfix.psamp.TransportLayerSecurityParameters)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "transportLayerSecurity":
    {
    }
}

removes ietf.ipfix.psamp.TransportLayerSecurityParameters

delete /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

204

Object deleted

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/sctpExporter/transportLayerSecurity"

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

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

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

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

}

returns ietf.ipfix.psamp.TransportSessionParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportSession

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportSession

State parameters of the Transport Session directed to the given destination.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.TransportSessionParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/sctpExporter/transportSession"

	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:transport-session-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.TemplateParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportSession/template

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportSession/template

This list contains the Templates and Options Templates that are transmitted by the Exporting Process or received by the Collecting Process. Withdrawn or invalidated (Options) Templates MUST be removed from this list.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.TemplateParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/sctpExporter/transportSession/template"

	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:template-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.templateparameters.Field

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportSession/template/field

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/sctpExporter/transportSession/template/field

This list contains the (Options) Template fields of which the (Options) Template is defined. The order of the list corresponds to the order of the fields in the (Option) Template Record.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.templateparameters.Field

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/sctpExporter/transportSession/template/field"

	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:field-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.TcpExporterParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter

TCP parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.TcpExporterParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/tcpExporter"

	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:tcp-exporter-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.TcpExporterParameters

post /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter

TCP parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TcpExporterParameters to be added to list

tcpExporter
object (ietf.ipfix.psamp.TcpExporterParameters)

Parameters of a TCP export destination.

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "tcpExporter":
    {
    }
}

creates or updates ietf.ipfix.psamp.TcpExporterParameters

put /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter

TCP parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TcpExporterParameters to be added or updated

ietf-ipfix-psamp:tcp-exporter-parameters-wrapper
object (ietf.ipfix.psamp.TcpExporterParametersWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.TcpExporterParameters

delete /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter

TCP parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

204

Object deleted

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/tcpExporter"

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

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

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

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

}

returns ietf.ipfix.psamp.TransportLayerSecurityParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.TransportLayerSecurityParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/tcpExporter/transportLayerSecurity"

	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:transport-layer-security-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.TransportLayerSecurityParameters

post /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TransportLayerSecurityParameters to be added to list

transportLayerSecurity
object (ietf.ipfix.psamp.TransportLayerSecurityParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "transportLayerSecurity":
    {
    }
}

creates or updates ietf.ipfix.psamp.TransportLayerSecurityParameters

put /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TransportLayerSecurityParameters to be added or updated

transportLayerSecurity
object (ietf.ipfix.psamp.TransportLayerSecurityParameters)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "transportLayerSecurity":
    {
    }
}

removes ietf.ipfix.psamp.TransportLayerSecurityParameters

delete /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

204

Object deleted

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/tcpExporter/transportLayerSecurity"

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

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

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

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

}

returns ietf.ipfix.psamp.TransportSessionParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportSession

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportSession

State parameters of the Transport Session directed to the given destination.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.TransportSessionParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/tcpExporter/transportSession"

	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:transport-session-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.TemplateParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportSession/template

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportSession/template

This list contains the Templates and Options Templates that are transmitted by the Exporting Process or received by the Collecting Process. Withdrawn or invalidated (Options) Templates MUST be removed from this list.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.TemplateParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/tcpExporter/transportSession/template"

	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:template-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.templateparameters.Field

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportSession/template/field

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/tcpExporter/transportSession/template/field

This list contains the (Options) Template fields of which the (Options) Template is defined. The order of the list corresponds to the order of the fields in the (Option) Template Record.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.templateparameters.Field

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/tcpExporter/transportSession/template/field"

	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:field-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.UdpExporterParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter

UDP parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.UdpExporterParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/udpExporter"

	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:udp-exporter-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.UdpExporterParameters

post /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter

UDP parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.UdpExporterParameters to be added to list

udpExporter
object (ietf.ipfix.psamp.UdpExporterParameters)

Parameters of a UDP export destination.

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "udpExporter":
    {
    }
}

creates or updates ietf.ipfix.psamp.UdpExporterParameters

put /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter

UDP parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.UdpExporterParameters to be added or updated

ietf-ipfix-psamp:udp-exporter-parameters-wrapper
object (ietf.ipfix.psamp.UdpExporterParametersWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.UdpExporterParameters

delete /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter

UDP parameters.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

204

Object deleted

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/udpExporter"

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

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

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

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

}

returns ietf.ipfix.psamp.TransportLayerSecurityParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.TransportLayerSecurityParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/udpExporter/transportLayerSecurity"

	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:transport-layer-security-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.TransportLayerSecurityParameters

post /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TransportLayerSecurityParameters to be added to list

transportLayerSecurity
object (ietf.ipfix.psamp.TransportLayerSecurityParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "transportLayerSecurity":
    {
    }
}

creates or updates ietf.ipfix.psamp.TransportLayerSecurityParameters

put /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.TransportLayerSecurityParameters to be added or updated

transportLayerSecurity
object (ietf.ipfix.psamp.TransportLayerSecurityParameters)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "transportLayerSecurity":
    {
    }
}

removes ietf.ipfix.psamp.TransportLayerSecurityParameters

delete /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportLayerSecurity

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportLayerSecurity

TLS or DTLS configuration.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

204

Object deleted

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/udpExporter/transportLayerSecurity"

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

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

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

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

}

returns ietf.ipfix.psamp.TransportSessionParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportSession

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportSession

State parameters of the Transport Session directed to the given destination.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.TransportSessionParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/udpExporter/transportSession"

	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:transport-session-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.TemplateParameters

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportSession/template

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportSession/template

This list contains the Templates and Options Templates that are transmitted by the Exporting Process or received by the Collecting Process. Withdrawn or invalidated (Options) Templates MUST be removed from this list.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.TemplateParameters

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/udpExporter/transportSession/template"

	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:template-parameters-wrapper":
    {
    }
}

returns ietf.ipfix.psamp.templateparameters.Field

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportSession/template/field

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/destination={destination-name}/udpExporter/transportSession/template/field

This list contains the (Options) Template fields of which the (Options) Template is defined. The order of the list corresponds to the order of the fields in the (Option) Template Record.

path Parameters
name
required
string

Id of exportingProcess

destination-name
required
string

Id of destination

Responses

200

ietf.ipfix.psamp.templateparameters.Field

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/exportingProcess=%7Bname%7D/destination=%7Bdestination-name%7D/udpExporter/transportSession/template/field"

	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:field-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.exportingprocessparameters.Options

post /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/options

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/options

List of options reported by the Exporting Process.

path Parameters
name
required
string

Id of exportingProcess

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.exportingprocessparameters.Options to be added to list

options
object (ietf.ipfix.psamp.exportingprocessparameters.Options)

List of options reported by the Exporting Process.

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "options":
    {
    }
}

returns ietf.ipfix.psamp.exportingprocessparameters.Options

get /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/options={options-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/options={options-name}

List of options reported by the Exporting Process.

path Parameters
name
required
string

Id of exportingProcess

options-name
required
string

Id of options

Responses

200

ietf.ipfix.psamp.exportingprocessparameters.Options

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/exportingProcess=%7Bname%7D/options=%7Boptions-name%7D"

	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:options-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.exportingprocessparameters.Options

put /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/options={options-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/options={options-name}

List of options reported by the Exporting Process.

path Parameters
name
required
string

Id of exportingProcess

options-name
required
string

Id of options

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.exportingprocessparameters.Options to be added or updated

ietf-ipfix-psamp:options-wrapper
object (ietf.ipfix.psamp.exportingprocessparameters.OptionsWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.exportingprocessparameters.Options

delete /data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/options={options-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/exportingProcess={name}/options={options-name}

List of options reported by the Exporting Process.

path Parameters
name
required
string

Id of exportingProcess

options-name
required
string

Id of options

Responses

204

Object deleted

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/exportingProcess=%7Bname%7D/options=%7Boptions-name%7D"

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

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

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

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

}

creates ietf.ipfix.psamp.ipfix.ObservationPoint

post /data/ietf-ipfix-psamp:ipfix/observationPoint

Example URL

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

Observation Point of the Monitoring Device.

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.ObservationPoint to be added to list

observationPoint
object (ietf.ipfix.psamp.ipfix.ObservationPoint)

Observation Point of the Monitoring Device.

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "observationPoint":
    {
    }
}

returns ietf.ipfix.psamp.ipfix.ObservationPoint

get /data/ietf-ipfix-psamp:ipfix/observationPoint={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/observationPoint={name}

Observation Point of the Monitoring Device.

path Parameters
name
required
string

Id of observationPoint

Responses

200

ietf.ipfix.psamp.ipfix.ObservationPoint

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/observationPoint=%7Bname%7D"

	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:observation-point-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.ipfix.ObservationPoint

put /data/ietf-ipfix-psamp:ipfix/observationPoint={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/observationPoint={name}

Observation Point of the Monitoring Device.

path Parameters
name
required
string

Id of observationPoint

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.ObservationPoint to be added or updated

ietf-ipfix-psamp:observation-point-wrapper
object (ietf.ipfix.psamp.ipfix.ObservationPointWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.ipfix.ObservationPoint

delete /data/ietf-ipfix-psamp:ipfix/observationPoint={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/observationPoint={name}

Observation Point of the Monitoring Device.

path Parameters
name
required
string

Id of observationPoint

Responses

204

Object deleted

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/observationPoint=%7Bname%7D"

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

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

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

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

}

creates ietf.ipfix.psamp.ipfix.SelectionProcess

post /data/ietf-ipfix-psamp:ipfix/selectionProcess

Example URL

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

Selection Process of the Monitoring Device.

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.SelectionProcess to be added to list

selectionProcess
object (ietf.ipfix.psamp.ipfix.SelectionProcess)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "selectionProcess":
    {
    }
}

returns ietf.ipfix.psamp.ipfix.SelectionProcess

get /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}

Selection Process of the Monitoring Device.

path Parameters
name
required
string

Id of selectionProcess

Responses

200

ietf.ipfix.psamp.ipfix.SelectionProcess

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/selectionProcess=%7Bname%7D"

	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:selection-process-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.ipfix.SelectionProcess

put /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}

Selection Process of the Monitoring Device.

path Parameters
name
required
string

Id of selectionProcess

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.SelectionProcess to be added or updated

ietf-ipfix-psamp:selection-process-wrapper
object (ietf.ipfix.psamp.ipfix.SelectionProcessWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.ipfix.SelectionProcess

delete /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}

Selection Process of the Monitoring Device.

path Parameters
name
required
string

Id of selectionProcess

Responses

204

Object deleted

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/selectionProcess=%7Bname%7D"

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

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

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

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

}

returns ietf.ipfix.psamp.ipfix.selectionprocess.SelectionSequence

get /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selectionSequence

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selectionSequence

This list contains the Selection Sequence IDs that are assigned by the Monitoring Device to distinguish different Selection Sequences passing through the Selection Process. As Selection Sequence IDs are unique per Observation Domain, the corresponding Observation Domain IDs are included as well. With this information, it is possible to associate Selection Sequence (Statistics) Report Interpretations exported according to the PSAMP protocol with a Selection Process in the configuration data.

path Parameters
name
required
string

Id of selectionProcess

Responses

200

ietf.ipfix.psamp.ipfix.selectionprocess.SelectionSequence

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/selectionProcess=%7Bname%7D/selectionSequence"

	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:selection-sequence-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.ipfix.selectionprocess.Selector

post /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector

List of Selectors that define the action of the Selection Process on a single packet. The Selectors are serially invoked in the same order as they appear in this list.

path Parameters
name
required
string

Id of selectionProcess

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.selectionprocess.Selector to be added to list

selector
object (ietf.ipfix.psamp.ipfix.selectionprocess.Selector)

List of Selectors that define the action of the Selection Process on a single packet. The Selectors are serially invoked in the same order as they appear in this list.

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "selector":
    {
    }
}

returns ietf.ipfix.psamp.ipfix.selectionprocess.Selector

get /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}

List of Selectors that define the action of the Selection Process on a single packet. The Selectors are serially invoked in the same order as they appear in this list.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

200

ietf.ipfix.psamp.ipfix.selectionprocess.Selector

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D"

	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:selector-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.ipfix.selectionprocess.Selector

put /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}

List of Selectors that define the action of the Selection Process on a single packet. The Selectors are serially invoked in the same order as they appear in this list.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.ipfix.selectionprocess.Selector to be added or updated

ietf-ipfix-psamp:selector-wrapper
object (ietf.ipfix.psamp.ipfix.selectionprocess.SelectorWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.ipfix.selectionprocess.Selector

delete /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}

List of Selectors that define the action of the Selection Process on a single packet. The Selectors are serially invoked in the same order as they appear in this list.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

204

Object deleted

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D"

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

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

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

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

}

returns ietf.ipfix.psamp.FilterHashParameters

get /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash

Hash-based Filtering.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

200

ietf.ipfix.psamp.FilterHashParameters

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/filterHash"

	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:filter-hash-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.FilterHashParameters

post /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash

Hash-based Filtering.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.FilterHashParameters to be added to list

filterHash
object (ietf.ipfix.psamp.FilterHashParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "filterHash":
    {
    }
}

creates or updates ietf.ipfix.psamp.FilterHashParameters

put /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash

Hash-based Filtering.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.FilterHashParameters to be added or updated

ietf-ipfix-psamp:filter-hash-parameters-wrapper
object (ietf.ipfix.psamp.FilterHashParametersWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.FilterHashParameters

delete /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash

Hash-based Filtering.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

204

Object deleted

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/filterHash"

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

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

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

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

}

creates ietf.ipfix.psamp.filterhashparameters.SelectedRange

post /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash/selectedRange

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash/selectedRange

List of hash function return ranges for which packets are selected.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.filterhashparameters.SelectedRange to be added to list

selectedRange
object (ietf.ipfix.psamp.filterhashparameters.SelectedRange)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "selectedRange":
    {
    }
}

returns ietf.ipfix.psamp.filterhashparameters.SelectedRange

get /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash/selectedRange={selectedRange-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash/selectedRange={selectedRange-name}

List of hash function return ranges for which packets are selected.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

selectedRange-name
required
string

Id of selectedRange

Responses

200

ietf.ipfix.psamp.filterhashparameters.SelectedRange

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/filterHash/selectedRange=%7BselectedRange-name%7D"

	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:selected-range-wrapper":
    {
    }
}

creates or updates ietf.ipfix.psamp.filterhashparameters.SelectedRange

put /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash/selectedRange={selectedRange-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash/selectedRange={selectedRange-name}

List of hash function return ranges for which packets are selected.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

selectedRange-name
required
string

Id of selectedRange

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.filterhashparameters.SelectedRange to be added or updated

ietf-ipfix-psamp:selected-range-wrapper
object (ietf.ipfix.psamp.filterhashparameters.SelectedRangeWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.filterhashparameters.SelectedRange

delete /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash/selectedRange={selectedRange-name}

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterHash/selectedRange={selectedRange-name}

List of hash function return ranges for which packets are selected.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

selectedRange-name
required
string

Id of selectedRange

Responses

204

Object deleted

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/filterHash/selectedRange=%7BselectedRange-name%7D"

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

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

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

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

}

returns ietf.ipfix.psamp.FilterMatchParameters

get /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterMatch

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterMatch

Property match Filtering.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

200

ietf.ipfix.psamp.FilterMatchParameters

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/filterMatch"

	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:filter-match-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.FilterMatchParameters

post /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterMatch

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterMatch

Property match Filtering.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.FilterMatchParameters to be added to list

filterMatch
object (ietf.ipfix.psamp.FilterMatchParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "filterMatch":
    {
    }
}

creates or updates ietf.ipfix.psamp.FilterMatchParameters

put /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterMatch

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterMatch

Property match Filtering.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.FilterMatchParameters to be added or updated

ietf-ipfix-psamp:filter-match-parameters-wrapper
object (ietf.ipfix.psamp.FilterMatchParametersWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.FilterMatchParameters

delete /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterMatch

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/filterMatch

Property match Filtering.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

204

Object deleted

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/filterMatch"

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

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

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

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

}

returns ietf.ipfix.psamp.SampCountBasedParameters

get /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampCountBased

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampCountBased

Systematic count-based packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

200

ietf.ipfix.psamp.SampCountBasedParameters

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/sampCountBased"

	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:samp-count-based-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.SampCountBasedParameters

post /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampCountBased

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampCountBased

Systematic count-based packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.SampCountBasedParameters to be added to list

sampCountBased
object (ietf.ipfix.psamp.SampCountBasedParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "sampCountBased":
    {
    }
}

creates or updates ietf.ipfix.psamp.SampCountBasedParameters

put /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampCountBased

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampCountBased

Systematic count-based packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.SampCountBasedParameters to be added or updated

ietf-ipfix-psamp:samp-count-based-parameters-wrapper
object (ietf.ipfix.psamp.SampCountBasedParametersWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.SampCountBasedParameters

delete /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampCountBased

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampCountBased

Systematic count-based packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

204

Object deleted

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/sampCountBased"

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

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

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

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

}

returns ietf.ipfix.psamp.SampRandOutOfNParameters

get /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampRandOutOfN

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampRandOutOfN

n-out-of-N packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

200

ietf.ipfix.psamp.SampRandOutOfNParameters

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/sampRandOutOfN"

	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:samp-rand-out-of-n-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.SampRandOutOfNParameters

post /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampRandOutOfN

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampRandOutOfN

n-out-of-N packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.SampRandOutOfNParameters to be added to list

sampRandOutOfN
object (ietf.ipfix.psamp.SampRandOutOfNParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "sampRandOutOfN":
    {
    }
}

creates or updates ietf.ipfix.psamp.SampRandOutOfNParameters

put /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampRandOutOfN

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampRandOutOfN

n-out-of-N packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.SampRandOutOfNParameters to be added or updated

ietf-ipfix-psamp:samp-rand-out-of-n-parameters-wrapper
object (ietf.ipfix.psamp.SampRandOutOfNParametersWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "ietf-ipfix-psamp:samp-rand-out-of-n-parameters-wrapper":
    {
    }
}

removes ietf.ipfix.psamp.SampRandOutOfNParameters

delete /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampRandOutOfN

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampRandOutOfN

n-out-of-N packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

204

Object deleted

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/sampRandOutOfN"

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

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

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

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

}

returns ietf.ipfix.psamp.SampTimeBasedParameters

get /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampTimeBased

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampTimeBased

Systematic time-based packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

200

ietf.ipfix.psamp.SampTimeBasedParameters

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/sampTimeBased"

	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:samp-time-based-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.SampTimeBasedParameters

post /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampTimeBased

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampTimeBased

Systematic time-based packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.SampTimeBasedParameters to be added to list

sampTimeBased
object (ietf.ipfix.psamp.SampTimeBasedParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "sampTimeBased":
    {
    }
}

creates or updates ietf.ipfix.psamp.SampTimeBasedParameters

put /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampTimeBased

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampTimeBased

Systematic time-based packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.SampTimeBasedParameters to be added or updated

ietf-ipfix-psamp:samp-time-based-parameters-wrapper
object (ietf.ipfix.psamp.SampTimeBasedParametersWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.SampTimeBasedParameters

delete /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampTimeBased

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampTimeBased

Systematic time-based packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

204

Object deleted

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/sampTimeBased"

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

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

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

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

}

returns ietf.ipfix.psamp.SampUniProbParameters

get /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampUniProb

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampUniProb

Uniform probabilistic packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

200

ietf.ipfix.psamp.SampUniProbParameters

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/sampUniProb"

	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:samp-uni-prob-parameters-wrapper":
    {
    }
}

creates ietf.ipfix.psamp.SampUniProbParameters

post /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampUniProb

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampUniProb

Uniform probabilistic packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.SampUniProbParameters to be added to list

sampUniProb
object (ietf.ipfix.psamp.SampUniProbParameters)

Responses

201

Object created

400

Internal error

409

Object already exists

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "sampUniProb":
    {
    }
}

creates or updates ietf.ipfix.psamp.SampUniProbParameters

put /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampUniProb

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampUniProb

Uniform probabilistic packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Request Body schema: application/yang-data+json

ietf.ipfix.psamp.SampUniProbParameters to be added or updated

ietf-ipfix-psamp:samp-uni-prob-parameters-wrapper
object (ietf.ipfix.psamp.SampUniProbParametersWrapper)

Responses

201

Object created

204

Object modified

400

Internal error

Request samples

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

removes ietf.ipfix.psamp.SampUniProbParameters

delete /data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampUniProb

Example URL

https://hostname/restconf/data/ietf-ipfix-psamp:ipfix/selectionProcess={name}/selector={selector-name}/sampUniProb

Uniform probabilistic packet Sampling.

path Parameters
name
required
string

Id of selectionProcess

selector-name
required
string

Id of selector

Responses

204

Object deleted

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/selectionProcess=%7Bname%7D/selector=%7Bselector-name%7D/sampUniProb"

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

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

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

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

}