不受支持的热资源类型¶
这些资源已启用,但未正式支持。
OS::Aodh::Alarm¶
实现 Aodh 报警服务的资源。
允许为样本集合设置基于阈值评估的警报的资源。此外,您可以定义在监视的资源状态满足指定条件时要采取的操作。例如,它可以监视给定实例的内存消耗,当实例已运行超过 10 分钟时达到 70%,则会调用某个操作。
必需属性¶
可选属性¶
- alarm_actions¶
- 状态转换为警报时要调用的 URL (webhook) 列表。期望列表值。可以在不替换的情况下更新。
- alarm_queues¶
-
状态转换为警报时要发布到 Zaqar 队列的列表。期望列表值。可以在不替换的情况下更新。默认为
[]列表内容- 可选。期望字符串值。可以在不替换的情况下更新。值必须是 zaqar.queue 类型
- comparison_operator¶
- 用于将指定统计信息与阈值进行比较的运算符。期望字符串值。可以在不替换的情况下更新。允许的值:“le”、“ge”、“eq”、“lt”、“gt”、“ne”
- description¶
- 警报的描述。期望字符串值。可以在不替换的情况下更新。
- enabled¶
- 如果启用警报评估/操作,则为 True。期望布尔值。可以在不替换的情况下更新。默认为
"true" - evaluation_periods¶
- 要评估的周期数。期望整数值。可以在不替换的情况下更新。
- insufficient_data_actions¶
- 状态转换为 insufficient-data 时要调用的 URL (webhook) 列表。期望列表值。可以在不替换的情况下更新。
- insufficient_data_queues¶
-
状态转换为 insufficient-data 时要发布到 Zaqar 队列的列表。期望列表值。可以在不替换的情况下更新。默认为
[]列表内容- 可选。期望字符串值。可以在不替换的情况下更新。值必须是 zaqar.queue 类型
- matching_metadata¶
- 除了 meter_name 之外,计量应匹配此资源元数据 (key=value)。期望 Map 值。可以在不替换的情况下更新。默认为
{} - ok_actions¶
- 状态转换为 ok 时要调用的 URL (webhook) 列表。期望列表值。可以在不替换的情况下更新。
- ok_queues¶
-
状态转换为 ok 时要发布到 Zaqar 队列的列表。期望列表值。可以在不替换的情况下更新。默认为
[]列表内容- 可选。期望字符串值。可以在不替换的情况下更新。值必须是 zaqar.queue 类型
- period¶
- 评估周期(秒)。期望整数值。可以在不替换的情况下更新。
- query¶
-
查询因素列表,每个因素将 Sample 属性与一个值进行比较。隐式地与 matching_metadata(如果有)结合使用。期望列表值。可以在不替换的情况下更新。列表内容
- 期望 Map 值。可以在不替换的情况下更新。Map 属性
- field¶
- 可选。要比较的属性名称。形式为 metadata.user_metadata.X 或 metadata.metering.X 的名称等效于可以通过 matching_metadata 访问的内容;前者用于 Nova 计量,后者用于所有其他计量。要查看 Sample 的属性,请使用 `ceilometer –debug sample-list`。期望字符串值。可以在不替换的情况下更新。
- op¶
- 可选。比较运算符。期望字符串值。可以在不替换的情况下更新。允许的值:“le”、“ge”、“eq”、“lt”、“gt”、“ne”
- type¶
-
可选。属性的类型。期望字符串值。可以在不替换的情况下更新。默认为
"string"允许的值:“integer”、“float”、“string”、“boolean”、“datetime” - value¶
- 可选。要比较的字符串值。期望字符串值。可以在不替换的情况下更新。
- repeat_actions¶
- 如果阈值达到并且警报的状态已更改,则为 False 以触发操作。默认情况下,每次达到阈值时都会调用操作。期望布尔值。可以在不替换的情况下更新。默认为
"true" - severity¶
-
警报的严重程度。期望字符串值。可以在不替换的情况下更新。默认为
"low"允许的值:“low”、“moderate”、“critical” - statistic¶
- 要评估的计量统计信息。期望字符串值。可以在不替换的情况下更新。允许的值:“count”、“avg”、“sum”、“min”、“max”
- time_constraints¶
-
描述警报的时间约束。仅当评估时间在此时间约束内时才评估警报。约束的起始点用 cron 表达式指定,而持续时间以秒为单位。期望列表值。更新会导致替换。默认为
[]列表内容- 期望 Map 值。更新会导致替换。Map 属性
属性¶
- show¶
资源的详细信息。
HOT 语法¶
heat_template_version: 2015-04-30
...
resources:
...
the_resource:
type: OS::Aodh::Alarm
properties:
alarm_actions: [Value, Value, ...]
alarm_queues: [String, String, ...]
comparison_operator: String
description: String
enabled: Boolean
evaluation_periods: Integer
insufficient_data_actions: [Value, Value, ...]
insufficient_data_queues: [String, String, ...]
matching_metadata: {...}
meter_name: String
ok_actions: [Value, Value, ...]
ok_queues: [String, String, ...]
period: Integer
query: [{"field": String, "type": String, "op": String, "value": String}, {"field": String, "type": String, "op": String, "value": String}, ...]
repeat_actions: Boolean
severity: String
statistic: String
threshold: Number
time_constraints: [{"name": String, "start": String, "description": String, "duration": Integer, "timezone": String}, {"name": String, "start": String, "description": String, "duration": Integer, "timezone": String}, ...]
OS::Neutron::ExtraRoute¶
用于指定 Neutron 路由器额外路由的资源。
资源允许指定路由器的下一跳 IP 和目标网络。
必需属性¶
属性¶
- show¶
资源的详细信息。
HOT 语法¶
heat_template_version: 2015-04-30
...
resources:
...
the_resource:
type: OS::Neutron::ExtraRoute
properties:
destination: String
nexthop: String
router_id: String
OS::Neutron::FlowClassifier¶
“Heat 模板资源用于 networking-sfc flow-classifier。
此资源用于选择可以访问服务链的流量。匹配任何流分类器的流量将定向到链中的第一个端口。
可选属性¶
- description¶
- 流分类器的描述。期望字符串值。可以在不替换的情况下更新。
- destination_ip_prefix¶
- 目标 IP 前缀或子网。期望字符串值。更新会导致替换。值必须是 net_cidr 类型
- destination_port_range_max¶
- 目标协议端口最大值。期望整数值。更新会导致替换。该值必须在 1 到 65535 的范围内。
- destination_port_range_min¶
- 目标协议端口最小值。期望整数值。更新会导致替换。该值必须在 1 到 65535 的范围内。
- ethertype¶
- L2 ethertype。期望字符串值。更新会导致替换。默认为
"IPv4"允许的值:“IPv4”、“IPv6” - logical_destination_port¶
- neutron 目标端口的 ID 或名称。期望字符串值。更新会导致替换。值必须是 neutron.port 类型
- logical_source_port¶
- neutron 源端口的 ID 或名称。期望字符串值。更新会导致替换。值必须是 neutron.port 类型
- name¶
- 流分类器的名称。期望字符串值。可以在不替换的情况下更新。
- protocol¶
- 流分类器的 IP 协议。期望字符串值。更新会导致替换。允许的值:“tcp”、“udp”、“icmp”
- source_ip_prefix¶
- 源 IP 前缀或子网。期望字符串值。更新会导致替换。值必须是 net_cidr 类型
- source_port_range_max¶
- 源协议端口最大值。期望整数值。更新会导致替换。该值必须在 1 到 65535 的范围内。
- source_port_range_min¶
- 源协议端口最小值。期望整数值。更新会导致替换。该值必须在 1 到 65535 的范围内。
- l7_parameters¶
-
L7 参数的字典。期望 Map 值。更新会导致替换。
属性¶
- show¶
资源的详细信息。
HOT 语法¶
heat_template_version: 2015-04-30
...
resources:
...
the_resource:
type: OS::Neutron::FlowClassifier
properties:
description: String
destination_ip_prefix: String
destination_port_range_max: Integer
destination_port_range_min: Integer
ethertype: String
logical_destination_port: String
logical_source_port: String
name: String
protocol: String
source_ip_prefix: String
source_port_range_max: Integer
source_port_range_min: Integer
OS::Neutron::PortChain¶
用于 neutron networking-sfc 的资源。
此资源用于通过安排 networking-sfc 端口对组和流分类器列表来定义服务功能路径,以指定进入链的分类流量。
必需属性¶
- port_pair_groups¶
- 应用于端口链的端口对组列表。期望列表值。可以在不替换的情况下更新。列表内容
- 可选。端口对组 ID 或名称。期望字符串值。可以在不替换的情况下更新。值必须是 neutron.port_pair_group 类型
可选属性¶
- chain_parameters¶
- 链参数的字典。当前,默认情况下仅支持 correlation=mpls。期望 Map 值。更新会导致替换。默认为
{"correlation": "mpls"} - description¶
- 端口链的描述。期望字符串值。可以在不替换的情况下更新。
- flow_classifiers¶
- 应用于端口链的流分类器列表。期望列表值。可以在不替换的情况下更新。默认为
[]列表内容- 可选。流分类器 ID 或名称。期望字符串值。可以在不替换的情况下更新。值必须是 neutron.flow_classifier 类型
- name¶
- 端口链的名称。期望字符串值。可以在不替换的情况下更新。
属性¶
- show¶
资源的详细信息。
HOT 语法¶
heat_template_version: 2015-04-30
...
resources:
...
the_resource:
type: OS::Neutron::PortChain
properties:
chain_parameters: {...}
description: String
flow_classifiers: [String, String, ...]
name: String
port_pair_groups: [String, String, ...]
OS::Neutron::PortPair¶
用于 neutron networking-sfc 端口对的资源。
此插件需要 networking-sfc>=1.0.0。因此,要启用此插件,请安装此库并重新启动 heat-engine。
端口对表示服务功能实例。可以指定服务功能的入端口和出端口。如果服务功能有一个双向端口,则入端口的值与出端口的值相同。
必需属性¶
可选属性¶
属性¶
- show¶
资源的详细信息。
HOT 语法¶
heat_template_version: 2015-04-30
...
resources:
...
the_resource:
type: OS::Neutron::PortPair
properties:
description: String
egress: String
ingress: String
name: String
service_function_parameters: {...}
OS::Neutron::PortPairGroup¶
Heat 模板资源用于 networking-sfc 端口对组。
可以在端口对组中包含多个端口对,以便指定一组功能等效的服务功能,用于负载分配。
必需属性¶
- port_pairs¶
- 要应用的端口对 ID 或名称列表。期望列表值。可以在不替换的情况下更新。列表内容
- 可选。端口对 ID 或名称。期望字符串值。可以在不替换的情况下更新。值必须为 neutron.port_pair 类型
可选属性¶
属性¶
- show¶
资源的详细信息。
HOT 语法¶
heat_template_version: 2015-04-30
...
resources:
...
the_resource:
type: OS::Neutron::PortPairGroup
properties:
description: String
name: String
port_pairs: [String, String, ...]