GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — clixon-controller/CHANGELOG.md at main · clicon/clixon-controller

Expand file tree

/

CHANGELOG.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
501 lines (392 loc) · 24.8 KB
/

CHANGELOG.md

Copy path

File metadata and controls

501 lines (392 loc) · 24.8 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Clixon Controller Changelog

  • 2.0.0 Expected: January 2027
  • 1.9.1 25 October 2026
  • 1.9.0 15 October 2026
  • 1.8.0 29 May 2026
  • 1.7.0 21 February 2026
  • 1.6.0 21 November 2025
  • 1.5.0 29 July 2025
  • 1.4.0 3 April 2025
  • 1.3.0 30 January 2025
  • 1.2.0 28 October 2024
  • 1.1.0 3 July 2024
  • 1.0.0 8 March 2024

2.0.0

Expected: January 2027

New features

  • Static analysis fixes via clang analyze and Coverity scan
  • Added transaction progress notifications
    • CLI: progress bar showing id, time, transaction and individual device state
    • Also supported on NETCONF and RESTCONF
    • Sent on a separate controller-transaction-progress stream
      • Backward-compatible: existing controller-transaction subscribers are unaffected
    • See: https://clixon-controller-docs.readthedocs.io/en/latest/transactions.html#progress
  • New [email protected] revision
    • Added controller-transaction-progress notification

Corrected Bugs

  • Fixed: An idle clixon_cli session (sitting at the interactive prompt) eventually blocks clixon_backend indefinitely on its internal Unix domain IPC socket
    • CLI subscribes to transaction notifications on demand, only while waiting for a transaction
  • Fixed: Some discrepancies with controller-transaction-progress notifications
  • Fixed: Transaction's device states are mixed by "show transactions detail"
  • Fixed: 'Pull diff' shouldn't work for disabled devices

1.9.1

25 October 2026

Patch release to fix a JunOS-specific extension using the new XML API (only applies to JunOS non-rfc devices)

Corrected Bugs

  • Fixed: Junos native incorrect enum translation

Corrected Bugs

  • Fixed: RFC 7950 violations in [email protected] rejected by strict YANG tools (pyang, yanger)
    • Prefixed all nodes in the augment paths of nc:get-config and nc:edit-config
    • Changed default 0 to default CLOSE for connection-change input operation
    • Renamed choice template to template-choice in device-template-apply input to avoid an identifier collision with leaf template

1.9.0

15 October 2026

The Controller 1.9 release focuses on improving device transaction handling in terms of consistency, error handling and user interface.

New features

  • Clarified controller transaction operations
    • Added per-device error handling of closed devices
    • Add device skiplist to transaction when device is disabled or closed for pull and commit
    • CLI added "disabled" as connection state in show connections
    • CLI return silent instead of "OK" from successful transaction
    • See: https://clixon-controller-docs.readthedocs.io/en/latest/transactions.html#detailed-state-table
    • See also: #247
  • Improved device error handling
    • Added a "dead socket" check to make timeout handling faster
    • Added generation tracking of synced device datastore to avoid running containing stale device configs
  • Added a separate connect-timeout timer for setting up connection and syncing the config
    • Default value: 5s
    • This is a separate timer from device-timeout which is expected to be longer
    • See: Handling unrecoverable transaction errors (including timeouts) (item 1).
    • See also: https://clixon-controller-docs.readthedocs.io/en/latest/cli.html#timeouts

API changes on existing protocol/config features

Users may have to change how they access the system

  • New [email protected] revision
    • Obsoleted transaction-common/devices/devdata and skipped
    • Added result and reason in transaction-common/devices/device instead and added SKIPPED as result
    • Added pattern for device names
    • Added connect-timeout with default 5s, differentiated connect state machine from device-timeout

Corrected Bugs

  • Fixed: Junos native incorrect enum translation
  • Fixed: Tab expansion and configuration don't work with a device name globbing when one of the matched devices is in the CLOSED state
  • Fixed: skip closed devices at commit, and double free in errhandling
  • Fixed: Pull discarded on tail-device timeout, then silently reverts the device on the next push
  • Fixed: Handling unrecoverable transaction errors (including timeouts)
  • Fixed: double freed transaction in controller-commit sometimes caused segv

1.8.0

29 May 2026

New features

  • New: Extension yang-announce-latest to select other than the latest announced YANG per device
  • Added CLI command: show device yang schema

API changes on existing protocol/config features

Users may have to change how they access the system

  • Changed CLI show output:
    • Changed CLI show transaction output to a table
    • Changed CLI show connections timestamp to last stable state
  • Remove old transient or synced datastores at start to clear stale files
  • Changed getting device RPC results, and get device state (RESTCONF and NETCONF)
    • Instead of retrieving transaction state, get the reply data by a new RPC call: device-rpc-result
      • Send the RPC: device-rpc, get the tid in the reply
      • Wait for result using transaction or poll a successful transaction state
      • Get the result using: device-rpc-result (this is new)

API changes on existing protocol/config features

Users may have to change how they access the system

  • New [email protected] revision
    • Added rpc get-device-schema and device-rpc-result
    • Added device list to transaction state
    • Added stable-timestamp to device state
    • Added memory statistics to rpc clixon-stats
    • Removed sync parameter from device-rpc RPC (never worked)

1.7.0

21 February 2026

New features

  • Clixon CLI optimization reduces memory consumption if devices have large YANGs
  • Added transaction garbage-collect
    • Keep only a limited nr of transactions structures (default 100)
    • Remove "devices" struct used for device rpc and state replies after timeout (default 300s)
  • New [email protected] revision
    • Added service-timeout
    • Added timestamp0 to transaction

Corrected Bugs

  • Fixed: Interop fails between Controller and Clixon-appliance when private-candidate is enabled
  • Fixed: Some devices announce duplicate modules leading to controller error
  • Fixed: device rpc hangs in notification when devices return large amount of data
  • Fixed: Candidate datastore lock prevents sequential commit operations via RESTCONF
  • Fixed: Memory leak after reopening connection

1.6.0

21 November 2025

New features

  • New: Configure and adapt to device netconf encapsulation 1.0 or 1.1
  • Improved NETCONF error messages on locked datastore
  • New [email protected] revision
    • Added the following fields to device-common:
      • private-candidate
  • New [email protected] revision
    • Added the following fields to device-common:
      • private-candidate
      • netconf-framing
      • netconf-state-schemas

Corrected Bugs

  • Fixed: Allow retrieving modules with empty revisions
  • Fixed: Memory leak after reopening connection
  • Fixed: commit on multiple devices with one device with not pulled local commit drops connection to subset of devices
  • Fixed: Device closes when device out-of-sync (Only > 50 devices)
  • Fixed: set glob skip disabled devices correctly and warn of different YANGs
  • Fixed: get-schema rpc in netconf monitoring: need to decode yang module with CDATA

1.5.0

29 July 2025

New features

  • New: RESTCONF service delete does not work
    • Add delete service by extending rpc controller-commit with DELETE
  • New: NACM for Clixon Controller
    • Support for services
    • Testcases for controller nacm and nacm+restconf
    • Added cli show detail command
  • New: CLI exclusive mode for candidate
    • Set CLICON_AUTOLOCK=true
  • New: new command "pull diff"
    • Added pull <device> diff | check
  • New: ssh keep-alive
    • Hard-coded to 300s
  • New [email protected] revision
    • Added rpc device-rpc

API changes on existing protocol/config features

Users may have to change how they access the system

  • New [email protected] revision

Corrected Bugs

  • Fixed: Candidate CLICON_AUTOLOCK not automatically removed
  • Fixed: RESTCONF PUT/POST data does sometimes not work across mountpoint
  • Fixed: Controller diff does not check for NACM read rules
  • Fixed: Controller commit RPC does not check locks
  • Fixed: Syntax errror when deleting leafs on Junos
  • Fixed: Confusing error message if device has NACM
  • Fixed: Improve error message when creator tag is malformed

1.4.0

3 April 2025

The controller 1.4 introduces RESTCONF support and a new extensions architecture.

New features

  • Controller RESTCONF support
    • See: Controller RESTCONF access not properly tested and documented
  • New extension plugin dir with ability to add device-specific plugins and YANGs
    • First junos-native plugin for non-rfc-compliant devices
  • Check if part of client-rpc, if so send notifications asynchronously
  • Device handle flags and dynamic mechanism to allocate flags

API changes on existing protocol/config features

Users may have to change how they access the system

  • New [email protected] revision
    • Added CONTROLLER_SSH_IDENTITYFILE
  • New [email protected] revision
    • Added restconf
    • Added common fields to transaction state and notification

1.3.0

30 January 2025

The controller 1.3 release features device RPCs, device-groups, and show device state as well as cycle optimization.

New features

  • New: device-groups to be first level objects
    • Use device-groups when connecting, pull, push and show
  • Optimization Performance: commit takes long time with many devices
    • Avoid copy in compare/diff
    • Optimized strip service at commit
  • Show device state
    • New CLI show device state command
    • See CLI show state does not return device state (config false) data
  • Execute arbitrary device RPCs using templates
    • see: Execute arbitrary RPC commands
    • docs: https://clixon-controller-docs.readthedocs.io/en/latest/cli.html#rpc-templates

API changes on existing protocol/config features

Users may have to change how they access the system

  • New [email protected] revision
    • Changed RPC input parameter parameter name devname -> device:
      • config-pull
      • controller-commit
      • connection-change
      • get-device-config
      • datastore-diff
      • device-template-apply
      • This applies to any "raw" NETCONF RPC:s, CLI code is updated
    • Changed default device-common/port to 830
    • Added hide-show extension to created container
    • Added device-generic-rpc

Corrected Bugs

  • Fixed: Not possible to remove service if "ctrl:created-by-service" is located in the top of the YANG specification
  • Fixed: Running undefined RPC towards a device closes connection
  • Fixed: RPC commit diff problem
  • Fixed: CLI: default format text | display
  • Fixed: CLI: Don't show ... tags by default
  • Fixed: YANG domains: issues if devices in different domains have identical schemas
  • Fixed: Generalize default autocli.xml file
  • Fixed: Commit without changes results in weird diff

1.2.0

28 October 2024

New features

  • Added configurable port for NETCONF over SSH
    • See make netconf ssh port to devices configurable
  • Added yang domains for mount-point isolation
    • See Support isolated YANG domains
  • New CLI commands:
    • show device yang
    • show device capability

API changes on existing protocol/config features

Users may have to change how they access the system

  • New version string on the form: 1.1.0-1+70+gbae59f2
  • Edits to device addr, user, domain, etc causes device disconnect
  • Removed --with yang-installdir from configure
    • Use DATADIR instead
  • New [email protected] revision
    • Added device-domains
    • Added port to device-common
  • New [email protected] revision
    • Removed defaults for:
      • CONTROLLER_ACTION_COMMAND
      • CONTROLLER_PYAPI_MODULE_PATH
      • CONTROLLER_PYAPI_PIDFILE
    • Obsoleted CONTROLLER_YANG_SCHEMA_MOUNT_DIR
  • Re-arranged directories
    • Put Controller YANG under $DATADIR/controller, typically /usr/local/share/controller.
    • Removed YANG_INSTALLDIR
    • Mountpoint dirs moved to sub-levels under /usr/local/share/controller/mounts
      • Example: /usr/local/share/controller/mounts/default
      • For isolated domains
    • Put controller YANG root in /usr/local/share/controller
      • Moved from /usr/local/share/clixon/controller

Corrected Bugs

  • Fixed: Change default NETCONF ssh port to 830
  • Fixed: CLI bug w/ device domains on juniper qfx devices
  • Fixed: Controller doesn't properly identify ietf-netconf-monitoring in hello statement on FS switch
  • Fixed: commit fail in transaction caused assertion

1.1.0

3 July 2024

New features

  • Added CLI command logging
  • Added split config data into multi-datastore
  • Added priority for north-bound sockets
  • Added session kill
  • CLI configurable format: Default format should be configurable

API changes on existing protocol/config features

Users may have to change how they access the system

  • Rearranged CLI connection command and made it blocking.

Corrected Bugs

  • Fixed: When changing configuration for devices which are in state closed we get an error message
  • Fixed: "show devices" hangs if SSH-process to any device is killed
  • Fixed: CLI load merge from stdin only worked once
  • Fixed: default format does not work in configure mode But must be default format xml for pipe display to work
  • Fixed: connection open does local commit on services
  • Fixed: CLI: Can't change configuration on Juniper QFX devices
  • Fixed: Commit to device(s) in OPEN state even if we have other devices in CLOSED state

1.0.0

12 March 2024

Clixon controller 1.0 is the first major release.

New features

  • Added badges for readthedocs, codecov and coverity
  • New: show version(s)
  • New: Added template (formal) variables which includes CLI autocompletion and sanity checks
    • See CLI should allow autocomplete of template variables
  • New: SSH StrictHostKeyChecking optional
  • New: Exclusive candidate configuration
  • Replaced creator attributes with a configured solution
  • New: show creator paths associated to service instance
    • See https://clixon-controller-docs.readthedocs.io/en/latest/cli.html#creators
  • New CLI commands:
    • show sessions [detail]
    • unlock <datastore> Add unlock CLI command
  • Optimization
    • YANG memory-footprint optimization
      • Optimize memory by sharing yspec between devices
    • Performance issues with CLI tab-completion
      • Optimization of cligen_treeref_wrap
      • Dont read device config data when read device state
      • Also in clixon:
        • Optimization of yang_find
        • Added mountpoint cache as yang flag YANG_FLAG_MTPOINT_POTENTIAL

API changes on existing protocol/config features

Users may have to change how they access the system

  • Debug level -D 1 changed to -D app.
    • -D msg (-D 2) still applies for message debugging
  • CLI apply service syntax changed:
    • From: apply services <path> to: apply services <service> <instance>
    • Example: apply services testA[name='foo'] to: apply services testA foo
  • In configure mode, reordered apply template/services to:
    • apply [template|services]
  • New [email protected] revision
    • Added warning field to transaction
    • Added created-by-service grouping
    • Added service-instance parameter to rpc controller-commit
    • Added ssh-stricthostkey

Corrected Bugs

  • Fixed: CLI expand of apply services instance
  • Fixed: Syntax errors must be shown in CLI
  • Fixed: Lock-denied if device connection fails
  • Fixed: Device connection errors could be more informative
  • Fixed: apply services does not allow dry-run
  • Fixed: old device config wrongly pushed back
  • Fixed: services reapply does not allow specific service instance
  • Fixed: Device pull from configure only sync running
  • Fixed: Notification is not sent when a service parameter is changed
  • Fixed: Commit/connect transaction may lock datastore with no info or method to break it
  • Fixed: pull config from device also does commit local config
  • Fixed: Commit don't push configuration if service is configured
  • Fixed: "commit diff" after applying a service always seems to show a diff
  • Fixed: Backend may exit with assertion if the device return warnings
  • Fixed: apply template with multiple variables do not work in some cases

0.2.0

6 December 2023

The clixon controller 0.2.0 release features device templates, local yang modules, simple templates and many bugfixes. Based on CLIgen/Clixon 6.5.0.

New features

  • Templates
    • First version uses simple variable substitution in XML bodies
    • Template is YANG anydata which means CLI editing is not possible, instead needs XML input
  • CLI: Load raw XML/JSON from stdin
  • Add device / profile ignore fields
  • Support a loadable mechanism for device profiles
    • The mechanism loads a set of configured modules locally from disk,
    • Instead of using RFC 6022 NETCONF monitoring get-schema method to devices
    • Modified the controller yang with device-profile and device-common

API changes on existing protocol/config features

Users may have to change how they access the system

  • New [email protected] revision
    • Added CONTROLLER_YANG_SCHEMA_MOUNT_DIR
  • New [email protected] revision
    • Added device-profile list
    • Added device-common grouping, for common device/device-profile fields
    • Added module-set to device-common
    • Added ignore-compare extension

Corrected Bugs

  • Fixed: Unable to commit to device with warnings
  • Fixed: cl:creator tags should survive a backend restart
  • Fixed: "show compare devices diff" should display device name
  • Fixed: Device configuration is removed when starting from running
  • Fixed: "validate push" etc should only use the connected devices
  • Fixed: Command 'show compare' broken
  • Fixed: Possible to get stuck in an lock-denied state with no way to recover
  • Fixed: NETCONF delete messages include extra XML
  • Fixed: Validation errors not shown in CLI

0.1.0

30 September 2023

Based on CLIgen/Clixon 6.4.0. This release focuses on testing with openconfig, arista and juniper routers. It is still experimental.

API changes on existing protocol/config features

Users may have to change how they access the system

  • New [email protected] revision
    • Added identity services for NETCONF monitoring/transport

Minor features

  • Added backend memory tests and checks for file descriptor leaks
  • Changed and extended CI (github actions) with openconfig devices
  • Checked and fixed memeory leaks
  • Added: Add show command for processes

Corrected Bugs

  • Fixed: Backend exited after XML error
  • Fixed: Tab completion with configuration for multiple vendors
  • Fixed: OpenConfig: Error when validating/committing
  • Fixed: XML parse error
    • Changed show output to start from root
  • Fixed: "show devices detail" returns data for all devices
  • Fixed: Abort transaction if more one client
  • Fixed: RPC error when using pipe
  • Fixed: 'show devices | display cli' throws an error
  • Fixed: Weird things happen when piping set command

0.0.0

14 August 2023 First prototype version. Based on CLIgen 6.3.0 and Clixon 6.3.1

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.