compute-rule-checker

compute-rule-checker check

Usage

  usage: symp compute-rule-checker check
[-f {adaptive_table,json,shell,table,value,yaml}]
                                         [-c COLUMN] [--max-width <integer>]
                                         [--noindent] [--prefix PREFIX]
                                         [-m [NAME=VALUE [NAME=VALUE ...]]]
                                         [--node-tag NODE_TAG]
                                         [--project-id PROJECT_ID]
                                         rule_type compute_tags

Description

Precheck whether a compute rule can be created.

Returns

Returns dict: Result

Mandatory

positional arguments:
  rule_type             Type of rule
  compute_tags          A comma-seperated list of compute tags

Optional

optional arguments:
  -h, --help            show this help message and exit
  --node-tag NODE_TAG   A node tag
  --project-id PROJECT_ID
                        The rule's project ID