Node class

The Node class represents a node in the cloud deployment. A node is an instance of an OSGi container with a particular profile applied.

Node class APIs

The following tables list the basic APIs, operation APIs, and relationship APIs for the Node class.

Basic APIs

Name

HTTP
method

URI

Description

search

POST

csm/Node/search

Searches for Node objects.

Operation APIs

Name

HTTP
method

URI

Description

acceptIncomingRequests

POST

csm/Node/guid/acceptIncomingRequests

Sets specified node to accept incoming requests.

acceptIncomingRequestsOnAllNodes

POST

csm/Node/acceptIncomingRequestsOnAllNodes

Accepts incoming requests on all nodes.

getIncomingRequestsAcceptanceMode

POST

csm/Node/guid/getIncomingRequestsAcceptanceMode

Retrieves the acceptance mode for incoming requests on the specified node.

getIncomingRequestsOnAllNodesAcceptanceMode

POST

csm/Node/getIncomingRequestsOnAllNodesAcceptanceMode

Retrieves the acceptance mode for all nodes.

rejectIncomingRequests

POST

csm/Node/guid/rejectIncomingRequests

Rejects incoming requests on the specified node.

rejectIncomingRequestsOnAllNodes

POST

csm/Node/rejectIncomingRequestsOnAllNodes

Rejects incoming requests on all nodes.

Relationship APIs

The Node class has no relationship APIs.

Node class relationships and attributes

The following tables list the relationships and attributes of the Node class.

Relationships

Name

Type

Multi-
plicity

Description

cloudServices

CloudService

0..*

Cloud services hosted on the node

installationProfiles

InstallationProfile

0..*

Installation profiles for the node

providers

Provider

0..*

Providers associated with the node

cloudClass

CloudClass

1

Fully-qualified name of the class to which the object belongs

provider

Provider

1

Provider that created the object

tags

Tag

0..*

Tags associated with the object

Attributes

Name

Type

Multi-
plicity

Description

host

String

0..1

Host name

port

Integer

0..1

Port number

uriProtocol

URIProtocolType

0..1

URI protocol

description

String

0..1

Text that describes the object

guid

String

1

Globally unique identifier for the object

labels

String

0..*

modifiedDate

Date

0..1

Date the Cloudobject was modified

name

String

1

Human-readable name of the object

Was this page helpful? Yes No Submitting... Thank you

Comments