Skip to main content
Version: Latest

Set an Attribute's Value in a Service

Description: Sets the value of an attribute included in a specific service.

Signature: set_attribute_to_service(topology_name, service_alias , attribute_name, attribute_value, publish)

Parameters:

NameDirectionRequiredDescription
topology_nameInYesThe name of the blueprint
service_aliasInYesSpecify the service's alias
attribute_nameInYesSpecify the name of the attribute in the format ServiceName.AttributeName
attribute_valueInYesSpecify the attribute's value
publishInNoSpecify if the attribute is published or not. Default is "False".

Samples:

packageEditor.set_attribute_to_service('TestTopology','Service','VLAN ID',121,True)