Skip to content

EOS 4.32+ Pending Commit Syntax Change #2166

Open
@brandondrm

Description

@brandondrm

Beginning in EOS 4.32, the syntax for pending configurations changes has been changed when using commit confirm workflows.
Config sessions immediately show "state": "committed" for each session. The following top level keys are present only when a config session is pending confirmation:

  • commitTimerSessionName name of the session with pending commit
  • commitTimerExpireTime replacement for commitBy

Example command: configure session troubleshooting commit timer 300 & show configuration sessions detail | json

4.31 and before:

{
    "sessions": {
        "troubleshooting": {
            "state": "pendingCommitTimer",
            "completedTime": 1739832190.8418295,
            "commitBy": 1739835851.8256721,
            "commitUser": "adminuser",
            "description": "",
            "instances": {}
        }
    },
    "maxSavedSessions": 1,
    "maxOpenSessions": 5,
    "mergeOnCommit": false,
    "saveToStartupConfigOnCommit": false
}

4.32 and later:

{
    "sessions": {
        "troubleshooting": {
            "state": "committed",
            "completedTime": 1739832020.1816368,
            "commitUser": "adminuser",
            "description": "",
            "instances": {}
        }
    },
    "maxSavedSessions": 1,
    "maxOpenSessions": 5,
    "mergeOnCommit": false,
    "saveToStartupConfigOnCommit": false,
    "commitTimerSessionName": "troubleshooting",
    "commitTimerExpireTime": 1739835681.1816053
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions