What is an intent type version?

Intent type version

Intent type versions are a tool to allow working with different intent type YANG models.

Changing certain attributes in an intent type can affect OSS integrations. If you need to change OSS-affecting attributes, you can create a new version of the intent type with the change, leaving earlier versions available to the OSS. Intents can be migrated between versions of the intent type when the OSS integration has been updated to work with the new version. Intents can be migrated from one version to another, avoiding the need to create them again.

If the new definition of the intent is incompatible with the previous version, for example if a new attribute has been added, you can configure migration handlers and rollback handlers as part of the script of the newer version.

Migration and rollback handler functions can also be used to indicate how approved misalignments are handled when intents are migrated.

The Migration table in the GENERAL tab of the new version shows the configured migration paths and the functions that support migration and rollback.

See the Network Intents tutorial on the Network Developer Portal for details about scripting migration.