Skip to main content
Version: Latest

Add Resources to a Blueprint

Description: Add a new resource to a specific blueprint.

Signature: add_resource_to_topology(topology_name, resource_full_name, is_shared=True, position_x=200, position_y=200)

Parameters:

NameDirectionRequiredDescription
topology_nameInYesThe name of the blueprint
resource_full_nameInYesSpecify the resource name. You can also include the full path from the root to the resource before the resource name, separated by slashes. For example: FolderName/ResourceName.
is_sharedInYesIndicate whether this resource can be shared with other users
position_xInNoIndicate the x position in the diagram layout
position_yInNoIndicate the y position in the diagram layout

Samples:

packageEditor.add_resource_to_topology('blueprint1','Chassis3',True,400,400)

packageEditor.add_resource_to_topology('blueprint1','Chassis3/Blade1/Port1',True,400,400)