This Methodconnects instances of SecurityGroupType to thisPubSubKeyPushTarget. This indicates that the SKSshall use the push model to distribute the keys of the SecurityGroupto the PubSubKeyPushTarget.

The SKS shall push keys following this assignment. If an assignment does already exist, the entry is ignored.

If the assignment for a SecurityGroupalready exists, a Good_EntryReplaced should be returned for that SecurityGroupand a new push of the existing keys shall be triggered to the push target.

The Clientshall be authorized to modify the configuration for the SKSfunctionality and shall use at least a signed communication channel when invoking this Methodon the Server.

Signature

ConnectSecurityGroups(

[in]NodeId[] SecurityGroupIds,

[out]StatusCode[]ConnectResults

);

Argument

Description

SecurityGroupIds

The NodeIdsof the SecurityGroupsto connect to the PushTarget.

ConnectResults

The result codes for the SecurityGroups to connect.

Method Result Codes

ResultCode

Description

Bad_UserAccessDenied

The Sessionuser is not allowed to connect SecurityGroupsto the push target.

Bad_SecurityModeInsufficient

The communication channel is not using signing.

Operation Result Codes

ResultCode

Description

Good_EntryReplaced

The PushTarget was already assigned to the SecurityGroup, a new push was triggered

Bad_NodeIdUnknown

A SecurityGroupNodeIdis unknown.

Bad_NodeIdInvalid

A SecurityGroupNodeIdis not a NodeIdof a SecurityGroupType Object.

Table 182specifies the AddressSpacerepresentation for the ConnectSecurityGroups Method.

Table 182– ConnectSecurityGroups Method AddressSpace definition

Attribute

Value

BrowseName

ConnectSecurityGroups

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

HasProperty

Variable

InputArguments

Argument[]

PropertyType

Mandatory

HasProperty

Variable

OutputArguments

Argument[]

PropertyType

Mandatory

ConformanceUnits

PubSub Model SKS Push