DRM 策略 (policy) 资源显示在 <Envelope> 段,可以包含带以下键的 <gprop:GenericProperty> 标记:
policy_name-DRM 策略的名称
policy_enable-指定 DRM 策略启用还是禁用
policy_priority-DRM 策略的优先级
policy_vcpu_min-域的虚拟 CPU 资源的最小数量
policy_vcpu_max-域的虚拟 CPU 资源的最大数量
policy_util_lower-触发策略分析的最低利用率级别
policy_util_upper-触发策略分析的最高利用率级别
policy_tod_begin-DRM 策略的有效启动时间
policy_tod_end-DRM 策略的有效停止时间
policy_sample_rate-抽样率,这是以秒为单位的周期时间
policy_elastic_margin-介于 CPU 利用率上下限之间的缓冲量
policy_attack-在任一资源控制周期内可添加的最大资源量
policy_decay-在任一资源控制周期内可删除的最大资源量
<Envelope> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>policy</rasd:OtherResourceType> <gprop:GenericProperty key="policy_name">test-policy</gprop:GenericProperty> <gprop:GenericProperty key="policy_enable">on</gprop:GenericProperty> <gprop:GenericProperty key="policy_priority">1</gprop:GenericProperty> <gprop:GenericProperty key="policy_vcpu_min">12</gprop:GenericProperty> <gprop:GenericProperty key="policy_vcpu_max">13</gprop:GenericProperty> <gprop:GenericProperty key="policy_util_lower">8</gprop:GenericProperty> <gprop:GenericProperty key="policy_util_upper">9</gprop:GenericProperty> <gprop:GenericProperty key="policy_tod_begin">07:08:09</gprop:GenericProperty> <gprop:GenericProperty key="policy_tod_end">09:08:07</gprop:GenericProperty> <gprop:GenericProperty key="policy_sample_rate">1</gprop:GenericProperty> <gprop:GenericProperty key="policy_elastic_margin">8</gprop:GenericProperty> <gprop:GenericProperty key="policy_attack">8</gprop:GenericProperty> <gprop:GenericProperty key="policy_decay">9</gprop:GenericProperty> </Item> </Section> </Envelope>