Skip to main content
Version: Latest

Add Visual Connectors

Description: Add a visual connector between the source and target resources in a specific blueprint.

Signature: add_visual_connector(topology_name, connector_alias, resource_source_name, resource_target_name, source_family_type, target_family_type, direction)

Parameters:

NameDirectionRequiredDescription
topology_nameInYesThe name of the blueprint
connector_aliasInYesSpecify the connector’s alias.
resource_source_nameInYesThe name of the source
resource_target_nameInYesThe name of the target
source_family_typeInYesSpecify the type of the source element: Resource, Service
target_family_typeInYesSpecify the type of the target element: Resource, Service
directionInYesSpecify the direction of the route: Uni, Bi

Sample:

packageEditor.add_visual_connector('blueprint1', 'ABC', 'Chassis1/Blade1/Port1','Vlan Auto 2','Resource','Service','Bi')