What are intent types?

Intent types

NSP allows you to create and execute intent-based automation flows to allow you to implement network-level planning and design. Intents translate high-level goals to the necessary network configuration, and the NSP generates and validates the configuration and continually verifies the state of the network.

With the use of intents, you can implement planning and design at a network level rather than at an individual device level. NSP translates the high-level goal from an intent to necessary network configuration. NSP generates and validates the configuration and continually verifies the state of the network and systems under its administrative control.

For example, you can have a goal to set up a service for a subscriber. In NSP, you define this goal using an intent type. The intent type defines the parameters for the service and provides mapping for device models. The intent type defines how an intent will work. When you create an intent using an intent type, you create an instance of the intent type with any required inputs provided. Network Intents maintains a catalogue of intent types created or imported by the user.

You can store service topology and configuration information in the database for later deployment and schedule audits of the network against the saved configuration requirements. Intents are customizable and can be deployed during runtime.

RESTCONF APIs are available for Network Intents; see the Intent Manager API page on the Network Developer Portal.

Intent types and intents

An intent type is a detailed specification for a desired network configuration. The intent type includes the YANG model and scripts and templates for the configuration to be performed. The intent type describes both what the creation of the intent looks like in the NSP, and what executing it does.

An intent is an instance of an intent type. The intent provides inputs to the intent type and executes the configuration.

Intent types can be modified or reused as often as needed, and can be deployed at any time for maximum flexibility.

Developer information

The Network Automation Guide provides an overview of network intents for operators.

For detailed information about the following topics for developers, see the Network Intents tutorial on the Network Developer Portal:

Access control

User groups are assigned access to menus, network resources, and Analytics resources by assigning roles in the NSP. Action permissions are assigned to roles.

The following table describes scopes that are specific to intents.

Scope

Available operations

write-intent-types

Create and Edit intent types

manage-intent-types

Change intent type state, delete intent types

manage-intents

Create, edit, and delete intents

operate-intents

Synchronize, audit, mark as misaligned, run RPC actions, activate, migrate

manage-policies

All operations on the Policies and Policy Actions pages

manage-mediators

All operations on the Mediators page

import

Import all available file types

The scopes are combined to create the following roles:

Depending on your access settings, some of these pages or operations may not be available to you. See the NSP System Administrator Guide for more information.