Manual Reference Source
import NodeFilter from 'cloudify-stage/basic/NodeFilter.js'
public class | source

NodeFilter

Extends:

react~React.Component → NodeFilter

NodeFilter - a component showing dropdowns for filtering blueprints, deployments, nodes and nodes instances. Data (list of blueprints, deployments, nodes and node instances) is dynamically fetched from manager.

Access

Stage.Basic.NodeFilter

Usage

NodeFilter

let value = {blueprintId: '', deploymentId: '', nodeId: '', nodeInstance: ''}
<NodeFilter name='nodeFilter' value={value} />

Static Member Summary

Static Public Members
public static

propTypes

Static Public Members

public static propTypes: * source

propTypes

Properties:

NameTypeAttributeDescription
name string

name of the field

value string

value of the field (object containing the following string valued keys: blueprintId, deploymentId, nodeId, nodeInstanceId)

onChange func
  • optional
  • default: _.noop

function to be called on value change

allowMultiple bool
  • optional
  • default: false

if set to true, then it will be allowed to select more than one blueprint, deployment, node and node instance

allowMultipleBlueprints bool
  • optional
  • default: false

if set to true, then it will be allowed to select more than one blueprint

allowMultipleDeployments bool
  • optional
  • default: false

if set to true, then it will be allowed to select more than one deployment

allowMultipleNodes bool
  • optional
  • default: false

if set to true, then it will be allowed to select more than one node

allowMultipleNodeInstances bool
  • optional
  • default: false

if set to true, then it will be allowed to select more than one node instance

allowedBlueprints Array
  • optional
  • default: null

array specifing allowed blueprints to be selected

allowedDeployments Array
  • optional
  • default: null

array specifing allowed deployments to be selected

allowedNodes Array
  • optional
  • default: null

array specifing allowed nodes to be selected

allowedNodeInstances Array
  • optional
  • default: null

array specifing allowed node instances to be selected

showBlueprints bool
  • optional
  • default: true

if set to false, then it will be not allowed to select blueprint

showDeployments bool
  • optional
  • default: true

if set to false, then it will be not allowed to select deployment

showNodes bool
  • optional
  • default: true

if set to false, then it will be not allowed to select node

showNodeInstances bool
  • optional
  • default: true

if set to false, then it will be not allowed to select node instance