What is intent dependency?
Intent dependency
Many use cases involve multiple intent types where one intent can be dependent on one or many other intents, for example when both intents target the same network object.
Network Intents supports two types of dependency:
-
Existence dependency: An intent's existence is dependent on the existence of one or many other intents. When existence dependency is present, the direct dependents and the direct dependencies appear in the intent details page. If an intent has direct dependencies, it can't be deleted unless the depended intents are deleted first.
-
Argument dependency: An intent's configuration logic could be dependent on the values of another intent's arguments.
Intent dependency is configured as part of the Script of an intent type. See the Network Intents tutorial on the Network Developer Portal for details.