Input

Leafs

class Commit.Input

Bases: Entity

Class Hierarchy : Commit Input

This class represents configuration data.

confirmed

Requests a confirmed commit

type: Empty

confirm_timeout

The timeout interval for a confirmed commit

type: int

range: 1..4294967295

units: seconds

default value: 600

persist

This parameter is used to make a confirmed commit persistent. A persistent confirmed commit is not aborted if the NETCONF session terminates. The only way to abort a persistent confirmed commit is to let the timer expire, or to use the <cancel-commit> operation. The value of this parameter is a token that must be given in the ‘persist-id’ parameter of <commit> or <cancel-commit> operations in order to confirm or cancel the persistent confirmed commit. The token should be a random string

type: str

persist_id

This parameter is given in order to commit a persistent confirmed commit. The value must be equal to the value given in the ‘persist’ parameter to the <commit> operation. If it does not match, the operation fails with an ‘invalid-value’ error

type: str