pre-commit fix mixed line endings in XML files (#10148)

https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#mixed-line-ending
This commit is contained in:
John Bampton 2025-01-03 18:42:09 +10:00 committed by GitHub
parent 0f3ea8ceb2
commit 5bae1188ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
82 changed files with 57573 additions and 57573 deletions

View File

@ -57,7 +57,7 @@ repos:
- id: fix-byte-order-marker
- id: forbid-submodules
- id: mixed-line-ending
exclude: \.(cs|xml)$
exclude: \.cs$
- id: trailing-whitespace
files: \.(bat|cfg|cs|css|gitignore|header|in|install|java|md|properties|py|rb|sh|sql|txt|vue|xml|xsl|yaml|yml)$
args: [--markdown-linebreak-ext=md]

View File

@ -16,56 +16,56 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxrs="http://cxf.apache.org/jaxrs"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<context:component-scan base-package="org.apache.cloudstack" />
<jaxrs:server id="EngineService" address="/">
<jaxrs:serviceBeans>
<ref bean="ZoneRestService" />
<ref bean="PodRestService" />
<ref bean="ClusterRestService" />
<ref bean="VirtualMachineRestService" />
<ref bean="VolumeRestService" />
</jaxrs:serviceBeans>
<jaxrs:providers>
<bean class="com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider" />
</jaxrs:providers>
</jaxrs:server>
<bean id="onwireRegistry" class="org.apache.cloudstack.framework.serializer.OnwireClassRegistry"
init-method="scan" >
<property name="packages">
<list>
<value>org.apache.cloudstack.framework</value>
</list>
</property>
</bean>
<bean id="messageSerializer" class="org.apache.cloudstack.framework.serializer.JsonMessageSerializer">
<property name="onwireClassRegistry" ref="onwireRegistry" />
</bean>
<bean id="transportProvider" class="org.apache.cloudstack.framework.server.ServerTransportProvider" init-method="initialize">
<property name="workerPoolSize" value="5" />
<property name="nodeId" value="Node1" />
<property name="messageSerializer" ref="messageSerializer" />
</bean>
<bean id="rpcProvider" class="org.apache.cloudstack.framework.rpc.RpcProviderImpl" init-method="initialize">
<constructor-arg ref="transportProvider" />
<property name="messageSerializer" ref="messageSerializer" />
</bean>
<bean id="eventBus" class = "org.apache.cloudstack.framework.eventbus.EventBusBase" />
</beans>
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxrs="http://cxf.apache.org/jaxrs"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<context:component-scan base-package="org.apache.cloudstack" />
<jaxrs:server id="EngineService" address="/">
<jaxrs:serviceBeans>
<ref bean="ZoneRestService" />
<ref bean="PodRestService" />
<ref bean="ClusterRestService" />
<ref bean="VirtualMachineRestService" />
<ref bean="VolumeRestService" />
</jaxrs:serviceBeans>
<jaxrs:providers>
<bean class="com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider" />
</jaxrs:providers>
</jaxrs:server>
<bean id="onwireRegistry" class="org.apache.cloudstack.framework.serializer.OnwireClassRegistry"
init-method="scan" >
<property name="packages">
<list>
<value>org.apache.cloudstack.framework</value>
</list>
</property>
</bean>
<bean id="messageSerializer" class="org.apache.cloudstack.framework.serializer.JsonMessageSerializer">
<property name="onwireClassRegistry" ref="onwireRegistry" />
</bean>
<bean id="transportProvider" class="org.apache.cloudstack.framework.server.ServerTransportProvider" init-method="initialize">
<property name="workerPoolSize" value="5" />
<property name="nodeId" value="Node1" />
<property name="messageSerializer" ref="messageSerializer" />
</bean>
<bean id="rpcProvider" class="org.apache.cloudstack.framework.rpc.RpcProviderImpl" init-method="initialize">
<constructor-arg ref="transportProvider" />
<property name="messageSerializer" ref="messageSerializer" />
</bean>
<bean id="eventBus" class = "org.apache.cloudstack.framework.eventbus.EventBusBase" />
</beans>

View File

@ -16,31 +16,31 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
metadata-complete="true"
version="3.0">
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/beans.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<servlet>
-->
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
metadata-complete="true"
version="3.0">
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/beans.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<servlet>
<display-name>CXF Servlet</display-name>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>
org.apache.cxf.transport.servlet.CXFServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>
</web-app>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>
org.apache.cxf.transport.servlet.CXFServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>
</web-app>

View File

@ -1,51 +1,51 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloudstack-plugins</artifactId>
<version>4.21.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>cloud-plugin-hypervisor-baremetal</artifactId>
<name>Apache CloudStack Plugin - Hypervisor Baremetal</name>
<dependencies>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>${cs.jaxb.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>${cs.jaxb.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>${cs.jaxb.impl.version}</version>
</dependency>
</dependencies>
</project>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloudstack-plugins</artifactId>
<version>4.21.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>cloud-plugin-hypervisor-baremetal</artifactId>
<name>Apache CloudStack Plugin - Hypervisor Baremetal</name>
<dependencies>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>${cs.jaxb.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>${cs.jaxb.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>${cs.jaxb.impl.version}</version>
</dependency>
</dependencies>
</project>

View File

@ -1,37 +1,37 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclpolicyrefdn%">
<policyPolicyNameRef
dn="%aclpolicyrefdn%"
order="%order%"
policyName="%aclpolicyname%"
status="created"/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclpolicyrefdn%">
<policyPolicyNameRef
dn="%aclpolicyrefdn%"
order="%order%"
policyName="%aclpolicyname%"
status="created"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclpolicyrefdn="org-root/org-vlan-123/org-VDC-vlan-123/pset-Ingress-ACL-Policy-Set-vlan-123/polref-aaa"
aclpolicyname="aaa"

View File

@ -1,35 +1,35 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclpolicysetdn%">
<policyPolicySet
descr="%descr%"
dn="%aclpolicysetdn%"
name="%aclpolicysetname%"
status="created"/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclpolicysetdn%">
<policyPolicySet
descr="%descr%"
dn="%aclpolicysetdn%"
name="%aclpolicysetname%"
status="created"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclpolicysetdn="org-root/org-vlan-123/org-VDC-vlan-123/pset-foo"
aclpolicysetname="foo"

View File

@ -1,34 +1,34 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMo
dn=""
cookie="%cookie%"
inHierarchical="false">
<inConfig>
<policyRuleBasedPolicy
descr=""
dn="%aclpolicydn%"
name="%aclpolicyname%"
status="created"/>
</inConfig>
</configConfMo>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMo
dn=""
cookie="%cookie%"
inHierarchical="false">
<inConfig>
<policyRuleBasedPolicy
descr=""
dn="%aclpolicydn%"
name="%aclpolicyname%"
status="created"/>
</inConfig>
</configConfMo>
<!--
aclpolicydn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy"
aclpolicyname="test_policy"

View File

@ -1,81 +1,81 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-ip-2"
id="2"
name=""
placement="none"
status="created"
value="%ip%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-ip-2"
id="2"
name=""
placement="none"
status="created"
value="%ip%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
descr=value
actiontype="drop" or "permit"
ip="public ip at destination"

View File

@ -1,155 +1,155 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2">
<policyProtocol
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2"
id="2"
name=""
placement="none"
status="created"
value="%protocolvalue%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3">
<policyRuleCondition
dn="%aclruledn%/rule-cond-3"
id="3"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-3/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2"
id="2"
name=""
placement="begin"
status="created"
value="%ip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-4">
<policyRuleCondition
dn="%aclruledn%/rule-cond-4"
id="4"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-4/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-port-2">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-port-2"
id="2"
name=""
placement="begin"
status="created"
value="%startport%"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-port-3">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-port-3"
id="3"
name=""
placement="end"
status="created"
value="%endport%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
descr=value
actiontype="drop" or "permit"
protocolvalue="TCP" or "UDP"
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2">
<policyProtocol
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2"
id="2"
name=""
placement="none"
status="created"
value="%protocolvalue%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3">
<policyRuleCondition
dn="%aclruledn%/rule-cond-3"
id="3"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-3/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2"
id="2"
name=""
placement="begin"
status="created"
value="%ip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-4">
<policyRuleCondition
dn="%aclruledn%/rule-cond-4"
id="4"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-4/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-port-2">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-port-2"
id="2"
name=""
placement="begin"
status="created"
value="%startport%"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-port-3">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-port-3"
id="3"
name=""
placement="end"
status="created"
value="%endport%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
descr=value
actiontype="drop" or "permit"
protocolvalue="TCP" or "UDP"
ip="public ip at destination"
startport="start port at destination"
endport="end port at destination"

View File

@ -1,90 +1,90 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%natruledn%">
<policyRule
descr="%descr%"
dn="%natruledn%"
name="%natrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%natruledn%/nat-action">
<natpolicyNatAction
actionType="static"
destTranslatedIpPool="%ippoolname%"
destTranslatedPortPool=""
dn="%natruledn%/nat-action"
id="0"
isBidirectionalEnabled="yes"
isDnsEnabled="no"
isNoProxyArpEnabled="no"
isRoundRobinIpEnabled="no"
srcTranslatedIpPatPool=""
srcTranslatedIpPool=""
srcTranslatedPortPool=""
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2">
<policyRuleCondition
dn="%natruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%natruledn%/rule-cond-2/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%natruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%natruledn%/rule-cond-2/nw-expr2/nw-ip-2"
id="2"
name=""
placement="none"
status="created"
value="%ip%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
natruledn="org-root/org-vlan-123/org-VDC-vlan-123/natpol-aaa/rule-bbb"
natrulename="bbb"
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%natruledn%">
<policyRule
descr="%descr%"
dn="%natruledn%"
name="%natrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%natruledn%/nat-action">
<natpolicyNatAction
actionType="static"
destTranslatedIpPool="%ippoolname%"
destTranslatedPortPool=""
dn="%natruledn%/nat-action"
id="0"
isBidirectionalEnabled="yes"
isDnsEnabled="no"
isNoProxyArpEnabled="no"
isRoundRobinIpEnabled="no"
srcTranslatedIpPatPool=""
srcTranslatedIpPool=""
srcTranslatedPortPool=""
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2">
<policyRuleCondition
dn="%natruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%natruledn%/rule-cond-2/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%natruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%natruledn%/rule-cond-2/nw-expr2/nw-ip-2"
id="2"
name=""
placement="none"
status="created"
value="%ip%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
natruledn="org-root/org-vlan-123/org-VDC-vlan-123/natpol-aaa/rule-bbb"
natrulename="bbb"
descr=value
ippoolname="ccc"
ip="10.147.30.230"

View File

@ -1,167 +1,167 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2">
<policyProtocol
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2"
id="2"
name=""
placement="none"
status="created"
value="%protocolvalue%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3">
<policyRuleCondition
dn="%aclruledn%/rule-cond-3"
id="3"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-3/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="source"
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2"
id="2"
name=""
placement="begin"
status="created"
value="%sourcestartip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3"
id="3"
name=""
placement="end"
status="created"
value="%sourceendip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-4">
<policyRuleCondition
dn="%aclruledn%/rule-cond-4"
id="4"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-4/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-port-2">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-port-2"
id="2"
name=""
placement="begin"
status="created"
value="%deststartport%"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-port-3">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-port-3"
id="3"
name=""
placement="end"
status="created"
value="%destendport%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
descr=value
actiontype="drop" or "permit"
protocolvalue = "TCP" or "UDP"
sourcestartip="source start ip"
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2">
<policyProtocol
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2"
id="2"
name=""
placement="none"
status="created"
value="%protocolvalue%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3">
<policyRuleCondition
dn="%aclruledn%/rule-cond-3"
id="3"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-3/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="source"
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2"
id="2"
name=""
placement="begin"
status="created"
value="%sourcestartip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3"
id="3"
name=""
placement="end"
status="created"
value="%sourceendip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-4">
<policyRuleCondition
dn="%aclruledn%/rule-cond-4"
id="4"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-4/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-port-2">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-port-2"
id="2"
name=""
placement="begin"
status="created"
value="%deststartport%"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-port-3">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-port-3"
id="3"
name=""
placement="end"
status="created"
value="%destendport%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
descr=value
actiontype="drop" or "permit"
protocolvalue = "TCP" or "UDP"
sourcestartip="source start ip"
sourceendip="source end ip"
deststartport="start port at destination"
destendport="end port at destination"

View File

@ -1,93 +1,93 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="source"
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-ip-2"
id="2"
name=""
placement="begin"
status="created"
value="%sourcestartip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-ip-3">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-ip-3"
id="3"
name=""
placement="end"
status="created"
value="%sourceendip%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
descr=value
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="source"
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-ip-2"
id="2"
name=""
placement="begin"
status="created"
value="%sourcestartip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-ip-3">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-ip-3"
id="3"
name=""
placement="end"
status="created"
value="%sourceendip%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
descr=value
actiontype="drop" or "permit"
sourcestartip="source start ip"
sourceendip="source end ip"

View File

@ -1,120 +1,120 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2">
<policyProtocol
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2"
id="2"
name=""
placement="none"
status="created"
value="%protocolvalue%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3">
<policyRuleCondition
dn="%aclruledn%/rule-cond-3"
id="3"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-3/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="source"
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2"
id="2"
name=""
placement="begin"
status="created"
value="%sourcestartip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3"
id="3"
name=""
placement="end"
status="created"
value="%sourceendip%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
descr=value
actiontype="drop" or "permit"
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2">
<policyProtocol
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2"
id="2"
name=""
placement="none"
status="created"
value="%protocolvalue%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3">
<policyRuleCondition
dn="%aclruledn%/rule-cond-3"
id="3"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-3/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="source"
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2"
id="2"
name=""
placement="begin"
status="created"
value="%sourcestartip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3"
id="3"
name=""
placement="end"
status="created"
value="%sourceendip%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
descr=value
actiontype="drop" or "permit"
protocolvalue = "TCP" or "UDP" or "ICMP"
sourcestartip="source start ip"
sourceendip="source end ip"

View File

@ -1,120 +1,120 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2">
<policyProtocol
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2"
id="2"
name=""
placement="none"
status="created"
value="%protocolvalue%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3">
<policyRuleCondition
dn="%aclruledn%/rule-cond-3"
id="3"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-3/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="source"
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2"
id="2"
name=""
placement="begin"
status="created"
value="%sourcestartip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3"
id="3"
name=""
placement="end"
status="created"
value="%sourceendip%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
descr=value
actiontype="drop" or "permit"
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2">
<policyProtocol
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2"
id="2"
name=""
placement="none"
status="created"
value="%protocolvalue%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3">
<policyRuleCondition
dn="%aclruledn%/rule-cond-3"
id="3"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-3/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="source"
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2"
id="2"
name=""
placement="begin"
status="created"
value="%sourcestartip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3"
id="3"
name=""
placement="end"
status="created"
value="%sourceendip%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
descr=value
actiontype="drop" or "permit"
protocolvalue = "TCP" or "UDP" or "ICMP"
sourcestartip = "source start IP"
sourceendip = "source end IP"

View File

@ -1,167 +1,167 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2">
<policyProtocol
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2"
id="2"
name=""
placement="none"
status="created"
value="%protocolvalue%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3">
<policyRuleCondition
dn="%aclruledn%/rule-cond-3"
id="3"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-3/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="source"
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2"
id="2"
name=""
placement="begin"
status="created"
value="%sourcestartip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3"
id="3"
name=""
placement="end"
status="created"
value="%sourceendip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-4">
<policyRuleCondition
dn="%aclruledn%/rule-cond-4"
id="4"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-4/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-port-2">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-port-2"
id="2"
name=""
placement="begin"
status="created"
value="%deststartport%"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-port-3">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-port-3"
id="3"
name=""
placement="end"
status="created"
value="%destendport%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
descr=value
actiontype="drop" or "permit"
protocolvalue = "TCP" or "UDP"
sourcestartip="source start ip"
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclruledn%">
<policyRule
descr="%descr%"
dn="%aclruledn%"
name="%aclrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-action-0">
<fwpolicyAction
actionType="%actiontype%"
dn="%aclruledn%/rule-action-0"
id="0"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2">
<policyRuleCondition
dn="%aclruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2">
<policyProtocol
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-2/nw-expr2/nw-protocol-2"
id="2"
name=""
placement="none"
status="created"
value="%protocolvalue%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3">
<policyRuleCondition
dn="%aclruledn%/rule-cond-3"
id="3"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-3/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="source"
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-2"
id="2"
name=""
placement="begin"
status="created"
value="%sourcestartip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3">
<policyIPAddress
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-3/nw-expr2/nw-ip-3"
id="3"
name=""
placement="end"
status="created"
value="%sourceendip%"/>
</pair>
<pair key="%aclruledn%/rule-cond-4">
<policyRuleCondition
dn="%aclruledn%/rule-cond-4"
id="4"
order="unspecified"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2">
<policyNetworkExpression
dn="%aclruledn%/rule-cond-4/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-port-2">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-port-2"
id="2"
name=""
placement="begin"
status="created"
value="%deststartport%"/>
</pair>
<pair key="%aclruledn%/rule-cond-4/nw-expr2/nw-port-3">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%aclruledn%/rule-cond-4/nw-expr2/nw-port-3"
id="3"
name=""
placement="end"
status="created"
value="%destendport%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
aclruledn="org-root/org-vlan-123/org-VDC-vlan-123/pol-test_policy/rule-dummy"
aclrulename="dummy"
descr=value
actiontype="drop" or "permit"
protocolvalue = "TCP" or "UDP"
sourcestartip="source start ip"
sourceendip="source end ip"
deststartport="start port at destination"
destendport="end port at destination"

View File

@ -1,57 +1,57 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%ippooldn%">
<policyObjectGroup
descr="%descr%"
dn="%ippooldn%"
name="%ippoolname%"
status="created"/>
</pair>
<pair key="%ippooldn%/objgrp-expr-2">
<policyObjectGroupExpression
dn="%ippooldn%/objgrp-expr-2"
id="2"
opr="eq"
order="unspecified"
status="created"/>
</pair>
<pair key="%ippooldn%/objgrp-expr-2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%ippooldn%/objgrp-expr-2/nw-ip-2"
id="2"
name=""
placement="none"
status="created"
value="%ipvalue%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%ippooldn%">
<policyObjectGroup
descr="%descr%"
dn="%ippooldn%"
name="%ippoolname%"
status="created"/>
</pair>
<pair key="%ippooldn%/objgrp-expr-2">
<policyObjectGroupExpression
dn="%ippooldn%/objgrp-expr-2"
id="2"
opr="eq"
order="unspecified"
status="created"/>
</pair>
<pair key="%ippooldn%/objgrp-expr-2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%ippooldn%/objgrp-expr-2/nw-ip-2"
id="2"
name=""
placement="none"
status="created"
value="%ipvalue%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
ippooldn="org-root/org-vlan-123/org-VDC-vlan-123/objgrp-ccc"
ippoolname="ccc"
ipvalue="10.1.1.20"

View File

@ -1,37 +1,37 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%natpolicyrefdn%" >
<policyPolicyNameRef
dn="%natpolicyrefdn%"
order="%order%"
policyName="%natpolicyname%"
status="created"/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%natpolicyrefdn%" >
<policyPolicyNameRef
dn="%natpolicyrefdn%"
order="%order%"
policyName="%natpolicyname%"
status="created"/>
</pair>
</inConfigs>
</configConfMos>
<!--
natpolicyrefdn="org-root/org-TenantD/org-VDC-TenantD/natpset-TenantD-NAT-Policy-Set/polref-Source-NAT-Policy-TenantD"
natpolicyname="Source-NAT-Policy-TenantD"

View File

@ -1,33 +1,33 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%natpolicydn%">
<natpolicyNatRuleBasedPolicy
descr=""
dn="%natpolicydn%"
name="%natpolicyname%"
status="created"/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%natpolicydn%">
<natpolicyNatRuleBasedPolicy
descr=""
dn="%natpolicydn%"
name="%natpolicyname%"
status="created"/>
</pair>
</inConfigs>
</configConfMos>

View File

@ -1,165 +1,165 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%natruledn%">
<policyRule
descr="%descr%"
dn="%natruledn%"
name="%natrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%natruledn%/nat-action">
<natpolicyNatAction
actionType="static"
destTranslatedIpPool="%ippoolname%"
destTranslatedPortPool="%portpoolname%"
dn="%natruledn%/nat-action"
id="0"
isBidirectionalEnabled="yes"
isDnsEnabled="no"
isNoProxyArpEnabled="no"
isRoundRobinIpEnabled="no"
srcTranslatedIpPatPool=""
srcTranslatedIpPool=""
srcTranslatedPortPool=""
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2">
<policyRuleCondition
dn="%natruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%natruledn%/rule-cond-2/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%natruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%natruledn%/rule-cond-2/nw-expr2/nw-ip-2"
id="2"
name=""
placement="none"
status="created"
value="%ip%"/>
</pair>
<pair key="%natruledn%/rule-cond-3">
<policyRuleCondition
dn="%natruledn%/rule-cond-3"
id="3"
order="unspecified"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-3/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%natruledn%/rule-cond-3/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-3/nw-expr2">
<policyNetworkExpression
dn="%natruledn%/rule-cond-3/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-3/nw-expr2/nw-port-2">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%natruledn%/rule-cond-3/nw-expr2/nw-port-2"
id="2"
name=""
placement="begin"
status="created"
value="%startport%"/>
</pair>
<pair key="%natruledn%/rule-cond-3/nw-expr2/nw-port-3">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%natruledn%/rule-cond-3/nw-expr2/nw-port-3"
id="3"
name=""
placement="end"
status="created"
value="%endport%"/>
</pair>
<pair key="%natruledn%/rule-cond-4">
<policyRuleCondition
dn="%natruledn%/rule-cond-4"
id="4"
order="unspecified"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-4/nw-expr2">
<policyNetworkExpression
dn="%natruledn%/rule-cond-4/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-4/nw-expr2/nw-protocol-2">
<policyProtocol
dataType="string"
descr=""
dn="%natruledn%/rule-cond-4/nw-expr2/nw-protocol-2"
id="2"
name=""
placement="none"
status="created"
value="%protocolvalue%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
natruledn="org-root/org-vlan-123/org-VDC-vlan-123/natpol-aaa/rule-bbb"
natrulename="bbb"
descr=value
ippoolname="ccc"
portpoolname="ddd"
ip="10.147.30.230"
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%natruledn%">
<policyRule
descr="%descr%"
dn="%natruledn%"
name="%natrulename%"
order="%order%"
status="created"/>
</pair>
<pair key="%natruledn%/nat-action">
<natpolicyNatAction
actionType="static"
destTranslatedIpPool="%ippoolname%"
destTranslatedPortPool="%portpoolname%"
dn="%natruledn%/nat-action"
id="0"
isBidirectionalEnabled="yes"
isDnsEnabled="no"
isNoProxyArpEnabled="no"
isRoundRobinIpEnabled="no"
srcTranslatedIpPatPool=""
srcTranslatedIpPool=""
srcTranslatedPortPool=""
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2">
<policyRuleCondition
dn="%natruledn%/rule-cond-2"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%natruledn%/rule-cond-2/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2/nw-expr2">
<policyNetworkExpression
dn="%natruledn%/rule-cond-2/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-2/nw-expr2/nw-ip-2">
<policyIPAddress
dataType="string"
descr=""
dn="%natruledn%/rule-cond-2/nw-expr2/nw-ip-2"
id="2"
name=""
placement="none"
status="created"
value="%ip%"/>
</pair>
<pair key="%natruledn%/rule-cond-3">
<policyRuleCondition
dn="%natruledn%/rule-cond-3"
id="3"
order="unspecified"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-3/nw-expr2/nw-attr-qual">
<policyNwAttrQualifier
attrEp="destination"
dn="%natruledn%/rule-cond-3/nw-expr2/nw-attr-qual"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-3/nw-expr2">
<policyNetworkExpression
dn="%natruledn%/rule-cond-3/nw-expr2"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-3/nw-expr2/nw-port-2">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%natruledn%/rule-cond-3/nw-expr2/nw-port-2"
id="2"
name=""
placement="begin"
status="created"
value="%startport%"/>
</pair>
<pair key="%natruledn%/rule-cond-3/nw-expr2/nw-port-3">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%natruledn%/rule-cond-3/nw-expr2/nw-port-3"
id="3"
name=""
placement="end"
status="created"
value="%endport%"/>
</pair>
<pair key="%natruledn%/rule-cond-4">
<policyRuleCondition
dn="%natruledn%/rule-cond-4"
id="4"
order="unspecified"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-4/nw-expr2">
<policyNetworkExpression
dn="%natruledn%/rule-cond-4/nw-expr2"
id="2"
opr="eq"
status="created"/>
</pair>
<pair key="%natruledn%/rule-cond-4/nw-expr2/nw-protocol-2">
<policyProtocol
dataType="string"
descr=""
dn="%natruledn%/rule-cond-4/nw-expr2/nw-protocol-2"
id="2"
name=""
placement="none"
status="created"
value="%protocolvalue%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
natruledn="org-root/org-vlan-123/org-VDC-vlan-123/natpol-aaa/rule-bbb"
natrulename="bbb"
descr=value
ippoolname="ccc"
portpoolname="ddd"
ip="10.147.30.230"
startport="22"
endport="22"
protocolvalue="TCP"

View File

@ -1,71 +1,71 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%portpooldn%">
<policyObjectGroup
descr="%descr%"
dn="%portpooldn%"
name="%portpoolname%"
status="created"/>
</pair>
<pair key="%portpooldn%/objgrp-expr-2">
<policyObjectGroupExpression
dn="%portpooldn%/objgrp-expr-2"
id="2"
opr="range"
order="unspecified"
status="created"/>
</pair>
<pair key="%portpooldn%/objgrp-expr-2/nw-port-2">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%portpooldn%/objgrp-expr-2/nw-port-2"
id="2"
name=""
placement="begin"
status="created"
value="%startport%"/>
</pair>
<pair key="%portpooldn%/objgrp-expr-2/nw-port-3">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%portpooldn%/objgrp-expr-2/nw-port-3"
id="3"
name=""
placement="end"
status="created"
value="%endport%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
portpooldn="org-root/org-vlan-123/org-VDC-vlan-123/objgrp-ddd"
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%portpooldn%">
<policyObjectGroup
descr="%descr%"
dn="%portpooldn%"
name="%portpoolname%"
status="created"/>
</pair>
<pair key="%portpooldn%/objgrp-expr-2">
<policyObjectGroupExpression
dn="%portpooldn%/objgrp-expr-2"
id="2"
opr="range"
order="unspecified"
status="created"/>
</pair>
<pair key="%portpooldn%/objgrp-expr-2/nw-port-2">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%portpooldn%/objgrp-expr-2/nw-port-2"
id="2"
name=""
placement="begin"
status="created"
value="%startport%"/>
</pair>
<pair key="%portpooldn%/objgrp-expr-2/nw-port-3">
<policyNetworkPort
appType="Other"
dataType="string"
descr=""
dn="%portpooldn%/objgrp-expr-2/nw-port-3"
id="3"
name=""
placement="end"
status="created"
value="%endport%"/>
</pair>
</inConfigs>
</configConfMos>
<!--
portpooldn="org-root/org-vlan-123/org-VDC-vlan-123/objgrp-ddd"
portpoolname="ddd"
startport="22"
endport="22"

View File

@ -1,30 +1,30 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclpolicysetdn%">
<policyPolicySet
dn="%aclpolicysetdn%"
name="%aclpolicysetname%"
status="deleted,modified"/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclpolicysetdn%">
<policyPolicySet
dn="%aclpolicysetdn%"
name="%aclpolicysetname%"
status="deleted,modified"/>
</pair>
</inConfigs>
</configConfMos>

View File

@ -1,33 +1,33 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclpolicydn%">
<policyRuleBasedPolicy
descr=""
dn="%aclpolicydn%"
name="%aclpolicyname%"
status="deleted,modified"/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%aclpolicydn%">
<policyRuleBasedPolicy
descr=""
dn="%aclpolicydn%"
name="%aclpolicyname%"
status="deleted,modified"/>
</pair>
</inConfigs>
</configConfMos>

View File

@ -1,30 +1,30 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%edgefwdn%">
<fwEdgeFirewall
dn="%edgefwdn%"
name="%edgefwname%"
status="deleted"/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%edgefwdn%">
<fwEdgeFirewall
dn="%edgefwdn%"
name="%edgefwname%"
status="deleted"/>
</pair>
</inConfigs>
</configConfMos>

View File

@ -1,38 +1,38 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%espdn%">
<policyVirtualNetworkEdgeProfile
connTimeoutRef=""
dn="%espdn%"
egressAclPsetRef=""
ingressAclPsetRef=""
inspectRef=""
ipAuditRef=""
name="%name%"
natPsetRef=""
status="deleted,modified"
tcpInterceptRef=""
vpnRef=""/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%espdn%">
<policyVirtualNetworkEdgeProfile
connTimeoutRef=""
dn="%espdn%"
egressAclPsetRef=""
ingressAclPsetRef=""
inspectRef=""
ipAuditRef=""
name="%name%"
natPsetRef=""
status="deleted,modified"
tcpInterceptRef=""
vpnRef=""/>
</pair>
</inConfigs>
</configConfMos>

View File

@ -1,30 +1,30 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%natpolicysetdn%">
<natpolicyNatPolicySet
dn="%natpolicysetdn%"
name="%natpolicysetname%"
status="deleted,modified"/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%natpolicysetdn%">
<natpolicyNatPolicySet
dn="%natpolicysetdn%"
name="%natpolicysetname%"
status="deleted,modified"/>
</pair>
</inConfigs>
</configConfMos>

View File

@ -1,33 +1,33 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%natpolicydn%">
<natpolicyNatRuleBasedPolicy
descr=""
dn="%natpolicydn%"
name="%natpolicyname%"
status="deleted,modified"/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%natpolicydn%">
<natpolicyNatRuleBasedPolicy
descr=""
dn="%natpolicydn%"
name="%natpolicyname%"
status="deleted,modified"/>
</pair>
</inConfigs>
</configConfMos>

View File

@ -1,31 +1,31 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%ruledn%">
<policyRule
descr=""
dn="%ruledn%"
name="%rulename%"
status="deleted"/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%ruledn%">
<policyRule
descr=""
dn="%ruledn%"
name="%rulename%"
status="deleted"/>
</pair>
</inConfigs>
</configConfMos>

View File

@ -1,30 +1,30 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%dn%">
<orgTenant
dn="%dn%"
name="%name%"
status="deleted,modified"/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%dn%">
<orgTenant
dn="%dn%"
name="%name%"
status="deleted,modified"/>
</pair>
</inConfigs>
</configConfMos>

View File

@ -1,30 +1,30 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%dn%">
<orgDatacenter
dn="%dn%"
name="%name%"
status="deleted,modified"/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%dn%">
<orgDatacenter
dn="%dn%"
name="%name%"
status="deleted,modified"/>
</pair>
</inConfigs>
</configConfMos>

View File

@ -1,30 +1,30 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%binddn%">
<fwResourceBinding
assignedToDn="%fwdn%"
dn="%binddn%"
status="deleted"/>
</pair>
</inConfigs>
</configConfMos>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%binddn%">
<fwResourceBinding
assignedToDn="%fwdn%"
dn="%binddn%"
status="deleted"/>
</pair>
</inConfigs>
</configConfMos>

View File

@ -1,30 +1,30 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<orgResolveInScope
dn="%vdcdn%"
cookie="%cookie%"
inClass="policyRuleBasedPolicy"
inSingleLevel="false"
inHierarchical="false">
<inFilter>
</inFilter>
</orgResolveInScope>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<orgResolveInScope
dn="%vdcdn%"
cookie="%cookie%"
inClass="policyRuleBasedPolicy"
inSingleLevel="false"
inHierarchical="false">
<inFilter>
</inFilter>
</orgResolveInScope>
<!--
vdcdn="org-root/org-vlan-123/org-VDC-vlan-123"

View File

@ -1,26 +1,26 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configResolveChildren
cookie="%cookie%"
inDn="%dn%"
inHierarchical="true">
<inFilter>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<configResolveChildren
cookie="%cookie%"
inDn="%dn%"
inHierarchical="true">
<inFilter>
</inFilter>
</configResolveChildren>

View File

@ -1,30 +1,30 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<orgResolveInScope
dn="%vdcdn%"
cookie="%cookie%"
inClass="natpolicyNatRuleBasedPolicy"
inSingleLevel="false"
inHierarchical="false">
<inFilter>
</inFilter>
</orgResolveInScope>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<orgResolveInScope
dn="%vdcdn%"
cookie="%cookie%"
inClass="natpolicyNatRuleBasedPolicy"
inSingleLevel="false"
inHierarchical="false">
<inFilter>
</inFilter>
</orgResolveInScope>
<!--
vdcdn="org-root/org-vlan-123/org-VDC-vlan-123"

View File

@ -1,30 +1,30 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<orgResolveInScope
dn="%vdcdn%"
cookie="%cookie%"
inClass="policyPolicyNameRef"
inSingleLevel="false"
inHierarchical="false">
<inFilter>
</inFilter>
</orgResolveInScope>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<orgResolveInScope
dn="%vdcdn%"
cookie="%cookie%"
inClass="policyPolicyNameRef"
inSingleLevel="false"
inHierarchical="false">
<inFilter>
</inFilter>
</orgResolveInScope>
<!--
vdcdn="org-root/org-vlan-123/org-VDC-vlan-123"

View File

@ -1,14 +1,14 @@
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
you under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<beans xmlns="http://www.springframework.org/schema/beans"
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
you under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
@ -22,13 +22,13 @@
<context:annotation-config />
<!-- @DB support -->
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
<!-- @DB support -->
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
</list>
</property>
</bean>
@ -52,6 +52,6 @@
<bean id="TestConfiguration"
class="com.cloud.network.security.SecurityGroupManagerTestConfiguration" />
<bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor">
<property name="requiredParameterValue" value="false" />
</bean>
</beans>
<property name="requiredParameterValue" value="false" />
</bean>
</beans>

View File

@ -1,14 +1,14 @@
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
you under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<beans xmlns="http://www.springframework.org/schema/beans"
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
you under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
@ -22,17 +22,17 @@
<context:annotation-config />
<!-- @DB support -->
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="actionEventInterceptor" class="com.cloud.event.ActionEventInterceptor" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
<ref bean="actionEventInterceptor" />
</list>
<!-- @DB support -->
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="actionEventInterceptor" class="com.cloud.event.ActionEventInterceptor" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
<ref bean="actionEventInterceptor" />
</list>
</property>
</bean>
@ -43,6 +43,6 @@
<bean id="TestConfiguration"
class="com.cloud.snapshot.SnapshotDaoTestConfiguration" />
<bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor" >
<property name="requiredParameterValue" value="false" />
</bean>
</beans>
<property name="requiredParameterValue" value="false" />
</bean>
</beans>

View File

@ -1,44 +1,44 @@
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
you under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
you under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
<context:annotation-config />
<!-- @DB support -->
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="actionEventInterceptor" class="com.cloud.event.ActionEventInterceptor" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
<ref bean="actionEventInterceptor" />
</list>
</property>
</bean>
<bean id="TestConfiguration"
class="com.cloud.storage.dao.StoragePoolDaoTestConfiguration" />
<bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor" >
<property name="requiredParameterValue" value="false" />
</bean>
</beans>
<context:annotation-config />
<!-- @DB support -->
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="actionEventInterceptor" class="com.cloud.event.ActionEventInterceptor" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
<ref bean="actionEventInterceptor" />
</list>
</property>
</bean>
<bean id="TestConfiguration"
class="com.cloud.storage.dao.StoragePoolDaoTestConfiguration" />
<bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor" >
<property name="requiredParameterValue" value="false" />
</bean>
</beans>

View File

@ -1,44 +1,44 @@
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
you under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
you under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
<context:annotation-config />
<context:component-scan base-package="org.apache.cloudstack, com.cloud" />
<!-- @DB support -->
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="actionEventInterceptor" class="com.cloud.event.ActionEventInterceptor" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
<ref bean="actionEventInterceptor" />
</list>
</property>
</bean>
<bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor">
<property name="requiredParameterValue" value="false" />
</bean>
</beans>
<context:annotation-config />
<context:component-scan base-package="org.apache.cloudstack, com.cloud" />
<!-- @DB support -->
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="actionEventInterceptor" class="com.cloud.event.ActionEventInterceptor" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
<ref bean="actionEventInterceptor" />
</list>
</property>
</bean>
<bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor">
<property name="requiredParameterValue" value="false" />
</bean>
</beans>

View File

@ -1,14 +1,14 @@
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
you under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<beans xmlns="http://www.springframework.org/schema/beans"
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
you under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
@ -26,54 +26,54 @@
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="actionEventInterceptor" class="com.cloud.event.ActionEventInterceptor" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
<ref bean="actionEventInterceptor" />
</list>
</property>
</bean>
<!--
Network Elements
-->
<bean id="SecurityGroupProvider" class="com.cloud.network.element.SecurityGroupElement">
<property name="name" value="SecurityGroupProvider"/>
</bean>
<bean id="VirtualRouter" class="com.cloud.network.element.VirtualRouterElement">
<property name="name" value="VirtualRouter"/>
</bean>
<bean id="VpcVirtualRouter" class="com.cloud.vpc.dao.MockVpcVirtualRouterElement">
<property name="name" value="VpcVirtualRouter"/>
</bean>
<!--
Network Gurus
-->
<bean id="PublicNetworkGuru" class="com.cloud.network.guru.PublicNetworkGuru">
<property name="name" value="PublicNetworkGuru"/>
</bean>
<bean id="PodBasedNetworkGuru" class="com.cloud.network.guru.PodBasedNetworkGuru">
<property name="name" value="PodBasedNetworkGuru"/>
</bean>
<bean id="ControlNetworkGuru" class="com.cloud.network.guru.ControlNetworkGuru">
<property name="name" value="ControlNetworkGuru"/>
</bean>
<bean id="DirectNetworkGuru" class="com.cloud.network.guru.DirectNetworkGuru">
<property name="name" value="DirectNetworkGuru"/>
</bean>
<bean id="DirectPodBasedNetworkGuru" class="com.cloud.network.guru.DirectPodBasedNetworkGuru">
<property name="name" value="DirectPodBasedNetworkGuru"/>
</bean>
<bean id="PrivateNetworkGuru" class="com.cloud.network.guru.PrivateNetworkGuru">
<property name="name" value="PrivateNetworkGuru"/>
</bean>
<bean id="TestConfiguration"
class="com.cloud.vpc.VpcTestConfiguration" />
<bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor">
<property name="requiredParameterValue" value="false" />
</bean>
</beans>
<bean id="actionEventInterceptor" class="com.cloud.event.ActionEventInterceptor" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
<ref bean="actionEventInterceptor" />
</list>
</property>
</bean>
<!--
Network Elements
-->
<bean id="SecurityGroupProvider" class="com.cloud.network.element.SecurityGroupElement">
<property name="name" value="SecurityGroupProvider"/>
</bean>
<bean id="VirtualRouter" class="com.cloud.network.element.VirtualRouterElement">
<property name="name" value="VirtualRouter"/>
</bean>
<bean id="VpcVirtualRouter" class="com.cloud.vpc.dao.MockVpcVirtualRouterElement">
<property name="name" value="VpcVirtualRouter"/>
</bean>
<!--
Network Gurus
-->
<bean id="PublicNetworkGuru" class="com.cloud.network.guru.PublicNetworkGuru">
<property name="name" value="PublicNetworkGuru"/>
</bean>
<bean id="PodBasedNetworkGuru" class="com.cloud.network.guru.PodBasedNetworkGuru">
<property name="name" value="PodBasedNetworkGuru"/>
</bean>
<bean id="ControlNetworkGuru" class="com.cloud.network.guru.ControlNetworkGuru">
<property name="name" value="ControlNetworkGuru"/>
</bean>
<bean id="DirectNetworkGuru" class="com.cloud.network.guru.DirectNetworkGuru">
<property name="name" value="DirectNetworkGuru"/>
</bean>
<bean id="DirectPodBasedNetworkGuru" class="com.cloud.network.guru.DirectPodBasedNetworkGuru">
<property name="name" value="DirectPodBasedNetworkGuru"/>
</bean>
<bean id="PrivateNetworkGuru" class="com.cloud.network.guru.PrivateNetworkGuru">
<property name="name" value="PrivateNetworkGuru"/>
</bean>
<bean id="TestConfiguration"
class="com.cloud.vpc.VpcTestConfiguration" />
<bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor">
<property name="requiredParameterValue" value="false" />
</bean>
</beans>

View File

@ -1,79 +1,79 @@
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
you under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
<context:annotation-config />
<!-- @DB support -->
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="actionEventInterceptor" class="com.cloud.event.ActionEventInterceptor" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
<ref bean="actionEventInterceptor" />
</list>
</property>
</bean>
<bean id="nicIpAliasDaoImpl" class="com.cloud.vm.dao.NicIpAliasDaoImpl" />
<bean id="ConfigurationManager" class="com.cloud.configuration.ConfigurationManagerImpl">
<property name="name" value="ConfigurationManager"/>
</bean>
<bean id="dataCenterGuestIpv6PrefixDaoImpl" class="com.cloud.dc.dao.DataCenterGuestIpv6PrefixDaoImpl" />
<bean id="ipv6GuestPrefixSubnetNetworkMapDaoImpl" class="com.cloud.network.dao.Ipv6GuestPrefixSubnetNetworkMapDaoImpl" />
<bean id="networkDetailsDaoImpl" class="com.cloud.network.dao.NetworkDetailsDaoImpl" />
<bean id="domainRouterDaoImpl" class="com.cloud.vm.dao.DomainRouterDaoImpl" />
<bean id="routerNetworkDaoImpl" class="com.cloud.network.dao.RouterNetworkDaoImpl" />
<bean id="userStatisticsDaoImpl" class="com.cloud.user.dao.UserStatisticsDaoImpl" />
<bean id="ipv6ServiceImpl" class="com.cloud.network.Ipv6ServiceImpl" />
<bean id="managementServiceConfigurationImpl" class="com.cloud.configuration.ManagementServiceConfigurationImpl" />
<bean class="org.apache.cloudstack.networkoffering.ChildTestConfiguration" />
<bean id="UservmDetailsDaoImpl" class="com.cloud.vm.dao.UserVmDetailsDaoImpl" />
<bean id="hostGpuGroupsDaoImpl" class="com.cloud.gpu.dao.HostGpuGroupsDaoImpl" />
<bean id="vGPUTypesDaoImpl" class="com.cloud.gpu.dao.VGPUTypesDaoImpl" />
<bean id="usageEventDaoImpl" class="com.cloud.event.dao.UsageEventDaoImpl" />
<bean id="usageEventDetailsDaoImpl" class="com.cloud.event.dao.UsageEventDetailsDaoImpl" />
<bean id="storagePoolHostDaoImpl" class="com.cloud.storage.dao.StoragePoolHostDaoImpl" />
<bean id="storagePoolTagsDaoImpl" class="com.cloud.storage.dao.StoragePoolTagsDaoImpl" />
<bean id="primaryDataStoreDaoImpl" class="org.apache.cloudstack.storage.datastore.db.PrimaryDataStoreDaoImpl" />
<bean id="userIpAddressDetailsDao" class="org.apache.cloudstack.resourcedetail.dao.UserIpAddressDetailsDaoImpl" />
<bean id="loadBalancerVMMapDaoImpl" class="com.cloud.network.dao.LoadBalancerVMMapDaoImpl" />
<bean id="imageStoreDaoImpl" class="org.apache.cloudstack.storage.datastore.db.ImageStoreDaoImpl" />
<bean id="messageBus" class="org.apache.cloudstack.framework.messagebus.MessageBusBase" />
<bean id="DiskOfferingDetailsDaoImpl" class="org.apache.cloudstack.resourcedetail.dao.DiskOfferingDetailsDaoImpl" />
<bean id="networkOfferingJoinDaoImpl" class="com.cloud.api.query.dao.NetworkOfferingJoinDaoImpl" />
<bean id="networkOfferingDetailsDaoImpl" class="com.cloud.offerings.dao.NetworkOfferingDetailsDaoImpl" />
<bean id="vMTemplateZoneDaoImpl" class="com.cloud.storage.dao.VMTemplateZoneDaoImpl" />
<bean id="indirectAgentLBImpl" class="org.apache.cloudstack.agent.lb.IndirectAgentLBServiceImpl" />
<bean id="VsphereStoragePolicyDaoImpl" class="com.cloud.dc.dao.VsphereStoragePolicyDaoImpl" />
<bean id="annotationDaoImpl" class="org.apache.cloudstack.annotation.dao.AnnotationDaoImpl" />
<bean id="PassphraseDaoImpl" class="org.apache.cloudstack.secret.dao.PassphraseDaoImpl" />
<bean id="configurationGroupDaoImpl" class="org.apache.cloudstack.framework.config.dao.ConfigurationGroupDaoImpl" />
<bean id="configurationSubGroupDaoImpl" class="org.apache.cloudstack.framework.config.dao.ConfigurationSubGroupDaoImpl" />
<bean id="nsxControllerDaoImpl" class="com.cloud.network.dao.NsxProviderDaoImpl" />
<bean id="vlanDetailsDao" class="com.cloud.dc.dao.VlanDetailsDaoImpl" />
<bean id="publicIpQuarantineDaoImpl" class="com.cloud.network.dao.PublicIpQuarantineDaoImpl" />
<bean id="reservationDao" class="org.apache.cloudstack.reservation.dao.ReservationDaoImpl" />
</beans>
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
you under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
<context:annotation-config />
<!-- @DB support -->
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="actionEventInterceptor" class="com.cloud.event.ActionEventInterceptor" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
<ref bean="actionEventInterceptor" />
</list>
</property>
</bean>
<bean id="nicIpAliasDaoImpl" class="com.cloud.vm.dao.NicIpAliasDaoImpl" />
<bean id="ConfigurationManager" class="com.cloud.configuration.ConfigurationManagerImpl">
<property name="name" value="ConfigurationManager"/>
</bean>
<bean id="dataCenterGuestIpv6PrefixDaoImpl" class="com.cloud.dc.dao.DataCenterGuestIpv6PrefixDaoImpl" />
<bean id="ipv6GuestPrefixSubnetNetworkMapDaoImpl" class="com.cloud.network.dao.Ipv6GuestPrefixSubnetNetworkMapDaoImpl" />
<bean id="networkDetailsDaoImpl" class="com.cloud.network.dao.NetworkDetailsDaoImpl" />
<bean id="domainRouterDaoImpl" class="com.cloud.vm.dao.DomainRouterDaoImpl" />
<bean id="routerNetworkDaoImpl" class="com.cloud.network.dao.RouterNetworkDaoImpl" />
<bean id="userStatisticsDaoImpl" class="com.cloud.user.dao.UserStatisticsDaoImpl" />
<bean id="ipv6ServiceImpl" class="com.cloud.network.Ipv6ServiceImpl" />
<bean id="managementServiceConfigurationImpl" class="com.cloud.configuration.ManagementServiceConfigurationImpl" />
<bean class="org.apache.cloudstack.networkoffering.ChildTestConfiguration" />
<bean id="UservmDetailsDaoImpl" class="com.cloud.vm.dao.UserVmDetailsDaoImpl" />
<bean id="hostGpuGroupsDaoImpl" class="com.cloud.gpu.dao.HostGpuGroupsDaoImpl" />
<bean id="vGPUTypesDaoImpl" class="com.cloud.gpu.dao.VGPUTypesDaoImpl" />
<bean id="usageEventDaoImpl" class="com.cloud.event.dao.UsageEventDaoImpl" />
<bean id="usageEventDetailsDaoImpl" class="com.cloud.event.dao.UsageEventDetailsDaoImpl" />
<bean id="storagePoolHostDaoImpl" class="com.cloud.storage.dao.StoragePoolHostDaoImpl" />
<bean id="storagePoolTagsDaoImpl" class="com.cloud.storage.dao.StoragePoolTagsDaoImpl" />
<bean id="primaryDataStoreDaoImpl" class="org.apache.cloudstack.storage.datastore.db.PrimaryDataStoreDaoImpl" />
<bean id="userIpAddressDetailsDao" class="org.apache.cloudstack.resourcedetail.dao.UserIpAddressDetailsDaoImpl" />
<bean id="loadBalancerVMMapDaoImpl" class="com.cloud.network.dao.LoadBalancerVMMapDaoImpl" />
<bean id="imageStoreDaoImpl" class="org.apache.cloudstack.storage.datastore.db.ImageStoreDaoImpl" />
<bean id="messageBus" class="org.apache.cloudstack.framework.messagebus.MessageBusBase" />
<bean id="DiskOfferingDetailsDaoImpl" class="org.apache.cloudstack.resourcedetail.dao.DiskOfferingDetailsDaoImpl" />
<bean id="networkOfferingJoinDaoImpl" class="com.cloud.api.query.dao.NetworkOfferingJoinDaoImpl" />
<bean id="networkOfferingDetailsDaoImpl" class="com.cloud.offerings.dao.NetworkOfferingDetailsDaoImpl" />
<bean id="vMTemplateZoneDaoImpl" class="com.cloud.storage.dao.VMTemplateZoneDaoImpl" />
<bean id="indirectAgentLBImpl" class="org.apache.cloudstack.agent.lb.IndirectAgentLBServiceImpl" />
<bean id="VsphereStoragePolicyDaoImpl" class="com.cloud.dc.dao.VsphereStoragePolicyDaoImpl" />
<bean id="annotationDaoImpl" class="org.apache.cloudstack.annotation.dao.AnnotationDaoImpl" />
<bean id="PassphraseDaoImpl" class="org.apache.cloudstack.secret.dao.PassphraseDaoImpl" />
<bean id="configurationGroupDaoImpl" class="org.apache.cloudstack.framework.config.dao.ConfigurationGroupDaoImpl" />
<bean id="configurationSubGroupDaoImpl" class="org.apache.cloudstack.framework.config.dao.ConfigurationSubGroupDaoImpl" />
<bean id="nsxControllerDaoImpl" class="com.cloud.network.dao.NsxProviderDaoImpl" />
<bean id="vlanDetailsDao" class="com.cloud.dc.dao.VlanDetailsDaoImpl" />
<bean id="publicIpQuarantineDaoImpl" class="com.cloud.network.dao.PublicIpQuarantineDaoImpl" />
<bean id="reservationDao" class="org.apache.cloudstack.reservation.dao.ReservationDaoImpl" />
</beans>

View File

@ -1,88 +1,88 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
<context:annotation-config />
<context:component-scan base-package="org.apache.cloudstack, com.cloud" />
<!--
@DB support
-->
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="actionEventInterceptor" class="com.cloud.event.ActionEventInterceptor" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
<ref bean="actionEventInterceptor" />
</list>
</property>
</bean>
<bean class="com.cloud.network.security.SecurityGroupManagerTestConfiguration" />
<!--
RPC/Async/EventBus
-->
<bean id="onwireRegistry" class="org.apache.cloudstack.framework.serializer.OnwireClassRegistry"
init-method="scan" >
<property name="packages">
<list>
<value>org.apache.cloudstack.framework</value>
</list>
</property>
</bean>
<bean id="messageSerializer" class="org.apache.cloudstack.framework.serializer.JsonMessageSerializer">
<property name="onwireClassRegistry" ref="onwireRegistry" />
</bean>
<bean id="transportProvider" class="org.apache.cloudstack.framework.server.ServerTransportProvider" init-method="initialize">
<property name="workerPoolSize" value="5" />
<property name="nodeId" value="Node1" />
<property name="messageSerializer" ref="messageSerializer" />
</bean>
<bean id="rpcProvider" class="org.apache.cloudstack.framework.rpc.RpcProviderImpl" init-method="initialize">
<constructor-arg ref="transportProvider" />
<property name="messageSerializer" ref="messageSerializer" />
</bean>
<context:annotation-config />
<context:component-scan base-package="org.apache.cloudstack, com.cloud" />
<!--
@DB support
-->
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="actionEventInterceptor" class="com.cloud.event.ActionEventInterceptor" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
<ref bean="actionEventInterceptor" />
</list>
</property>
</bean>
<bean class="com.cloud.network.security.SecurityGroupManagerTestConfiguration" />
<!--
RPC/Async/EventBus
-->
<bean id="onwireRegistry" class="org.apache.cloudstack.framework.serializer.OnwireClassRegistry"
init-method="scan" >
<property name="packages">
<list>
<value>org.apache.cloudstack.framework</value>
</list>
</property>
</bean>
<bean id="messageSerializer" class="org.apache.cloudstack.framework.serializer.JsonMessageSerializer">
<property name="onwireClassRegistry" ref="onwireRegistry" />
</bean>
<bean id="transportProvider" class="org.apache.cloudstack.framework.server.ServerTransportProvider" init-method="initialize">
<property name="workerPoolSize" value="5" />
<property name="nodeId" value="Node1" />
<property name="messageSerializer" ref="messageSerializer" />
</bean>
<bean id="rpcProvider" class="org.apache.cloudstack.framework.rpc.RpcProviderImpl" init-method="initialize">
<constructor-arg ref="transportProvider" />
<property name="messageSerializer" ref="messageSerializer" />
</bean>
<bean id="eventBus" class = "org.apache.cloudstack.framework.eventbus.EventBusBase" />
<bean id="messageBus" class="org.apache.cloudstack.framework.messagebus.MessageBusBase" />
<bean id="apiServlet" class = "com.cloud.api.ApiServlet" />
</beans>
<bean id="apiServlet" class = "com.cloud.api.ApiServlet" />
</beans>

View File

@ -1,103 +1,103 @@
<config>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!-- HERE IS THE POST DEPLOYMENT SECTIION; YOU ADD HOSTS/SECONDARY AND PRIMARY STORAGE HERE -->
<command>
<name>addSecondaryStorage</name>
<parameters>
<item>
<name>zoneid</name>
<value>2</value>
</item>
<item>
<name>url</name>
<value>nfs://192.168.161.21/export/regression/secondary</value>
</item>
</parameters>
</command>
<command>
<name>addHost</name>
<parameters>
<item>
<name>zoneid</name>
<value>2</value>
</item>
<item>
<name>podid</name>
<value>2</value>
</item>
<item>
<name>url</name>
<value>http://192.168.161.25</value>
</item>
<item>
<name>username</name>
<value>root</value>
</item>
<item>
<name>password</name>
<value>password</value>
</item>
<item>
<name>clustername</name>
<value>firstcluster</value>
</item>
</parameters>
</command>
<command>
<name>sleep.sh</name>
<script>true</script>
<testcase>Sleep for 3 min to ensure that host is in UP state</testcase>
<parameters>
<item>
<name>s</name>
<value>180</value>
</item>
</parameters>
</command>
<command>
<name>createStoragePool</name>
<parameters>
<item>
<name>zoneid</name>
<value>2</value>
</item>
<item>
<name>podid</name>
<value>2</value>
</item>
<item>
<name>name</name>
<value>primary storage</value>
</item>
<item>
<name>url</name>
<value>nfs://192.168.161.21/export/regression/primary</value>
</item>
<item>
<name>clusterid</name>
<value>1</value>
</item>
</parameters>
</command>
</config>
<config>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!-- HERE IS THE POST DEPLOYMENT SECTIION; YOU ADD HOSTS/SECONDARY AND PRIMARY STORAGE HERE -->
<command>
<name>addSecondaryStorage</name>
<parameters>
<item>
<name>zoneid</name>
<value>2</value>
</item>
<item>
<name>url</name>
<value>nfs://192.168.161.21/export/regression/secondary</value>
</item>
</parameters>
</command>
<command>
<name>addHost</name>
<parameters>
<item>
<name>zoneid</name>
<value>2</value>
</item>
<item>
<name>podid</name>
<value>2</value>
</item>
<item>
<name>url</name>
<value>http://192.168.161.25</value>
</item>
<item>
<name>username</name>
<value>root</value>
</item>
<item>
<name>password</name>
<value>password</value>
</item>
<item>
<name>clustername</name>
<value>firstcluster</value>
</item>
</parameters>
</command>
<command>
<name>sleep.sh</name>
<script>true</script>
<testcase>Sleep for 3 min to ensure that host is in UP state</testcase>
<parameters>
<item>
<name>s</name>
<value>180</value>
</item>
</parameters>
</command>
<command>
<name>createStoragePool</name>
<parameters>
<item>
<name>zoneid</name>
<value>2</value>
</item>
<item>
<name>podid</name>
<value>2</value>
</item>
<item>
<name>name</name>
<value>primary storage</value>
</item>
<item>
<name>url</name>
<value>nfs://192.168.161.21/export/regression/primary</value>
</item>
<item>
<name>clusterid</name>
<value>1</value>
</item>
</parameters>
</command>
</config>

View File

@ -1,126 +1,126 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<delegatedadmin>
<!-- EXECUTE CLEANUP FOR DOMAINS -->
<command>
<name>registerUserKeys</name>
<parameters>
<item>
<name>id</name>
<value>2</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>apikey</name>
<param>apikey</param>
</item>
<item setparam="true">
<name>secretkey</name>
<param>secretkey</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<usercommand>true</usercommand>
<parameters>
<item>
<name>name</name>
<value>0-1</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>level1domain1id</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<usercommand>true</usercommand>
<parameters>
<item>
<name>name</name>
<value>0-2</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>level1domain2id</param>
</item>
</returnvalue>
</command>
<command>
<name>deleteUser</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin1id</param>
</item>
</parameters>
</command>
<command>
<name>deleteUser</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin2id</param>
</item>
</parameters>
</command>
<command>
<name>deleteDomain</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>level1domain1id</param>
</item>
<item>
<name>cleanup</name>
<value>true</value>
</item>
</parameters>
</command>
<command>
<name>deleteDomain</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>level1domain2id</param>
</item>
<item>
<name>cleanup</name>
<value>true</value>
</item>
</parameters>
</command>
</delegatedadmin>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<delegatedadmin>
<!-- EXECUTE CLEANUP FOR DOMAINS -->
<command>
<name>registerUserKeys</name>
<parameters>
<item>
<name>id</name>
<value>2</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>apikey</name>
<param>apikey</param>
</item>
<item setparam="true">
<name>secretkey</name>
<param>secretkey</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<usercommand>true</usercommand>
<parameters>
<item>
<name>name</name>
<value>0-1</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>level1domain1id</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<usercommand>true</usercommand>
<parameters>
<item>
<name>name</name>
<value>0-2</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>level1domain2id</param>
</item>
</returnvalue>
</command>
<command>
<name>deleteUser</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin1id</param>
</item>
</parameters>
</command>
<command>
<name>deleteUser</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin2id</param>
</item>
</parameters>
</command>
<command>
<name>deleteDomain</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>level1domain1id</param>
</item>
<item>
<name>cleanup</name>
<value>true</value>
</item>
</parameters>
</command>
<command>
<name>deleteDomain</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>level1domain2id</param>
</item>
<item>
<name>cleanup</name>
<value>true</value>
</item>
</parameters>
</command>
</delegatedadmin>

View File

@ -1,312 +1,312 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<delegatedadmin>
<!-- CREATE ALL USERS -->
<!-- Create 3 domains -->
<command>
<name>createDomain</name>
<parameters>
<item>
<name>name</name>
<value>0-1</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>level1domain1id</param>
</item>
</returnvalue>
</command>
<command>
<name>createDomain</name>
<parameters>
<item>
<name>name</name>
<value>0-2</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>level1domain2id</param>
</item>
</returnvalue>
</command>
<command>
<name>createDomain</name>
<parameters>
<item>
<name>name</name>
<value>0-1-1</value>
</item>
<item getparam="true">
<name>parentdomainid</name>
<param>level1domain1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>level2domain1id</param>
</item>
</returnvalue>
</command>
<command>
<name>createDomain</name>
<parameters>
<item>
<name>name</name>
<value>0-2-1</value>
</item>
<item getparam="true">
<name>parentdomainid</name>
<param>level1domain2id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>level2domain2id</param>
</item>
</returnvalue>
</command>
<!-- Create root admin 1 -->
<command>
<name>createUser</name>
<parameters>
<item random="true">
<name>username</name>
</item>
<item>
<name>password</name>
<value>123</value>
</item>
<item>
<name>firstname</name>
<value>123</value>
</item>
<item>
<name>lastname</name>
<value>123</value>
</item>
<item>
<name>email</name>
<value>123@gmail.com</value>
</item>
<item>
<name>accounttype</name>
<value>1</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>rootadmin1id</param>
</item>
<item setparam="true">
<name>account</name>
<param>rootadmin1account</param>
</item>
</returnvalue>
</command>
<!-- Create root admin 2 -->
<command>
<name>createUser</name>
<parameters>
<item random="true">
<name>username</name>
</item>
<item>
<name>password</name>
<value>123</value>
</item>
<item>
<name>firstname</name>
<value>123</value>
</item>
<item>
<name>lastname</name>
<value>123</value>
</item>
<item>
<name>email</name>
<value>123@gmail.com</value>
</item>
<item>
<name>accounttype</name>
<value>1</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>rootadmin2id</param>
</item>
<item setparam="true">
<name>account</name>
<param>rootadmin2account</param>
</item>
</returnvalue>
</command>
<!-- Create domain admin for domain1 in level 1 -->
<command>
<name>createUser</name>
<parameters>
<item random="true">
<name>username</name>
</item>
<item>
<name>password</name>
<value>123</value>
</item>
<item>
<name>firstname</name>
<value>123</value>
</item>
<item>
<name>lastname</name>
<value>123</value>
</item>
<item>
<name>email</name>
<value>123@gmail.com</value>
</item>
<item>
<name>accounttype</name>
<value>2</value>
</item>
<item getparam="true">
<name>domainid</name>
<param>level1domain1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>domain11adminid</param>
</item>
<item setparam="true">
<name>account</name>
<param>domain11adminaccount</param>
</item>
</returnvalue>
</command>
<!-- Create domain admin for domain2 in level 1 -->
<command>
<name>createUser</name>
<parameters>
<item random="true">
<name>username</name>
</item>
<item>
<name>password</name>
<value>123</value>
</item>
<item>
<name>firstname</name>
<value>123</value>
</item>
<item>
<name>lastname</name>
<value>123</value>
</item>
<item>
<name>email</name>
<value>123@gmail.com</value>
</item>
<item>
<name>accounttype</name>
<value>2</value>
</item>
<item getparam="true">
<name>domainid</name>
<param>level1domain2id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>domain12adminid</param>
</item>
<item setparam="true">
<name>account</name>
<param>domain12adminaccount</param>
</item>
</returnvalue>
</command>
<!-- Create domain admin for domain1 in level 2 -->
<command>
<name>createUser</name>
<parameters>
<item random="true">
<name>username</name>
</item>
<item>
<name>password</name>
<value>123</value>
</item>
<item>
<name>firstname</name>
<value>123</value>
</item>
<item>
<name>lastname</name>
<value>123</value>
</item>
<item>
<name>email</name>
<value>123@gmail.com</value>
</item>
<item>
<name>accounttype</name>
<value>2</value>
</item>
<item getparam="true">
<name>domainid</name>
<param>level2domain1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>domain21adminid</param>
</item>
<item setparam="true">
<name>account</name>
<param>domain21adminaccount</param>
</item>
</returnvalue>
</command>
</delegatedadmin>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<delegatedadmin>
<!-- CREATE ALL USERS -->
<!-- Create 3 domains -->
<command>
<name>createDomain</name>
<parameters>
<item>
<name>name</name>
<value>0-1</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>level1domain1id</param>
</item>
</returnvalue>
</command>
<command>
<name>createDomain</name>
<parameters>
<item>
<name>name</name>
<value>0-2</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>level1domain2id</param>
</item>
</returnvalue>
</command>
<command>
<name>createDomain</name>
<parameters>
<item>
<name>name</name>
<value>0-1-1</value>
</item>
<item getparam="true">
<name>parentdomainid</name>
<param>level1domain1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>level2domain1id</param>
</item>
</returnvalue>
</command>
<command>
<name>createDomain</name>
<parameters>
<item>
<name>name</name>
<value>0-2-1</value>
</item>
<item getparam="true">
<name>parentdomainid</name>
<param>level1domain2id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>level2domain2id</param>
</item>
</returnvalue>
</command>
<!-- Create root admin 1 -->
<command>
<name>createUser</name>
<parameters>
<item random="true">
<name>username</name>
</item>
<item>
<name>password</name>
<value>123</value>
</item>
<item>
<name>firstname</name>
<value>123</value>
</item>
<item>
<name>lastname</name>
<value>123</value>
</item>
<item>
<name>email</name>
<value>123@gmail.com</value>
</item>
<item>
<name>accounttype</name>
<value>1</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>rootadmin1id</param>
</item>
<item setparam="true">
<name>account</name>
<param>rootadmin1account</param>
</item>
</returnvalue>
</command>
<!-- Create root admin 2 -->
<command>
<name>createUser</name>
<parameters>
<item random="true">
<name>username</name>
</item>
<item>
<name>password</name>
<value>123</value>
</item>
<item>
<name>firstname</name>
<value>123</value>
</item>
<item>
<name>lastname</name>
<value>123</value>
</item>
<item>
<name>email</name>
<value>123@gmail.com</value>
</item>
<item>
<name>accounttype</name>
<value>1</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>rootadmin2id</param>
</item>
<item setparam="true">
<name>account</name>
<param>rootadmin2account</param>
</item>
</returnvalue>
</command>
<!-- Create domain admin for domain1 in level 1 -->
<command>
<name>createUser</name>
<parameters>
<item random="true">
<name>username</name>
</item>
<item>
<name>password</name>
<value>123</value>
</item>
<item>
<name>firstname</name>
<value>123</value>
</item>
<item>
<name>lastname</name>
<value>123</value>
</item>
<item>
<name>email</name>
<value>123@gmail.com</value>
</item>
<item>
<name>accounttype</name>
<value>2</value>
</item>
<item getparam="true">
<name>domainid</name>
<param>level1domain1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>domain11adminid</param>
</item>
<item setparam="true">
<name>account</name>
<param>domain11adminaccount</param>
</item>
</returnvalue>
</command>
<!-- Create domain admin for domain2 in level 1 -->
<command>
<name>createUser</name>
<parameters>
<item random="true">
<name>username</name>
</item>
<item>
<name>password</name>
<value>123</value>
</item>
<item>
<name>firstname</name>
<value>123</value>
</item>
<item>
<name>lastname</name>
<value>123</value>
</item>
<item>
<name>email</name>
<value>123@gmail.com</value>
</item>
<item>
<name>accounttype</name>
<value>2</value>
</item>
<item getparam="true">
<name>domainid</name>
<param>level1domain2id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>domain12adminid</param>
</item>
<item setparam="true">
<name>account</name>
<param>domain12adminaccount</param>
</item>
</returnvalue>
</command>
<!-- Create domain admin for domain1 in level 2 -->
<command>
<name>createUser</name>
<parameters>
<item random="true">
<name>username</name>
</item>
<item>
<name>password</name>
<value>123</value>
</item>
<item>
<name>firstname</name>
<value>123</value>
</item>
<item>
<name>lastname</name>
<value>123</value>
</item>
<item>
<name>email</name>
<value>123@gmail.com</value>
</item>
<item>
<name>accounttype</name>
<value>2</value>
</item>
<item getparam="true">
<name>domainid</name>
<param>level2domain1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>domain21adminid</param>
</item>
<item setparam="true">
<name>account</name>
<param>domain21adminaccount</param>
</item>
</returnvalue>
</command>
</delegatedadmin>

View File

@ -1,420 +1,420 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<delegatedadmin>
<!-- EXECUTE INITIAL SET OF COMMANDS AS USER1 -->
<command>
<name>registerUserKeys</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>userid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>apikey</name>
<param>apikey</param>
</item>
<item setparam="true">
<name>secretkey</name>
<param>secretkey</param>
</item>
</returnvalue>
</command>
<!-- VM RELATED COMMANDS -->
<command>
<name>deployVirtualMachine</name>
<usercommand>true</usercommand>
<parameters>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item getparam="true">
<name>templateid</name>
<param>globaltemplateid</param>
</item>
<item getparam="true">
<name>serviceofferingid</name>
<param>globalserviceofferingid</param>
</item>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>vmid</param>
</item>
</returnvalue>
</command>
<!-- VOLUME RELATED COMMANDS -->
<command>
<name>createVolume</name>
<usercommand>true</usercommand>
<parameters>
<item random="true">
<name>name</name>
</item>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>volumeid</param>
</item>
</returnvalue>
</command>
<!-- TEMPLATE RELATED COMMANDS - REGISTER AND CREATETEMPLATE COMMANDS -->
<command>
<name>createTemplate</name>
<usercommand>true</usercommand>
<parameters>
<item getparam="true">
<name>volumeid</name>
<param>volumeid</param>
</item>
<item random="true">
<name>name</name>
</item>
<item>
<name>displaytext</name>
<value>newtext</value>
</item>
<item>
<name>osTypeId</name>
<value>1</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>privatetemplateid</param>
</item>
</returnvalue>
</command>
<command>
<name>registerTemplate</name>
<testcase>Register template</testcase>
<usercommand>true</usercommand>
<parameters>
<item random="true">
<name>name</name>
</item>
<item random="true">
<name>displaytext</name>
</item>
<item getparam="true">
<name>url</name>
<param>globaltemplateurl</param>
</item>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item>
<name>ostypeid</name>
<value>1</value>
</item>
<item>
<name>format</name>
<value>vhd</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>registeredtemplateid</param>
</item>
</returnvalue>
</command>
<!-- ISO RELATED COMMANDS -->
<command>
<name>registerIso</name>
<usercommand>true</usercommand>
<testcase>Register iso</testcase>
<parameters>
<item random="true">
<name>name</name>
</item>
<item random="true" >
<name>displaytext</name>
</item>
<item getparam="true">
<name>url</name>
<param>globalisourl</param>
</item>
<item>
<name>ostypeid</name>
<value>53</value>
</item>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>isoid</param>
</item>
</returnvalue>
</command>
<!-- SNAPSHOT RELATED COMMANDS -->
<command>
<name>createSnapshot</name>
<usercommand>true</usercommand>
<parameters>
<item getparam="true">
<name>volumeid</name>
<param>volumeid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>snapshotid</param>
</item>
</returnvalue>
</command>
<command>
<name>createSnapshotPolicy</name>
<usercommand>true</usercommand>
<parameters>
<item getparam="true">
<name>volumeid</name>
<param>volumeid</param>
</item>
<item>
<name>intervaltype</name>
<value>hourly</value>
</item>
<item>
<name>schedule</name>
<value>10</value>
</item>
<item>
<name>maxsnaps</name>
<value>4</value>
</item>
<item>
<name>timezone</name>
<value>Africa/Casablanca</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>snapshotpolicyid</param>
</item>
</returnvalue>
</command>
<!-- Ip address section -->
<command>
<name>associateIpAddress</name>
<usercommand>true</usercommand>
<testcase>Associate ip address</testcase>
<parameters>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress</param>
</item>
</returnvalue>
</command>
<!-- Port forwarding section -->
<command>
<name>createPortForwardingService</name>
<testcase>Create port forwarding service</testcase>
<usercommand>true</usercommand>
<parameters>
<item random="true">
<name>name</name>
</item>
<item>
<name>description</name>
<value>none</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>pfgroupid</param>
</item>
</returnvalue>
</command>
<command>
<name>createPortForwardingService</name>
<testcase>Create port forwarding service</testcase>
<usercommand>true</usercommand>
<parameters>
<item random="true">
<name>name</name>
</item>
<item>
<name>description</name>
<value>none</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>pfgroupid1</param>
</item>
</returnvalue>
</command>
<command>
<name>createPortForwardingServiceRule</name>
<testcase>Create port forwarding service rule</testcase>
<usercommand>true</usercommand>
<parameters>
<item>
<name>publicport</name>
<value>22</value>
</item>
<item>
<name>privateport</name>
<value>22</value>
</item>
<item getparam="true">
<name>portforwardingserviceid</name>
<param>pfgroupid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>pfruleid</param>
</item>
</returnvalue>
</command>
<!-- Load balancer section -->
<command>
<name>createLoadBalancerRule</name>
<testcase>Create load balancer rule</testcase>
<usercommand>true</usercommand>
<parameters>
<item random="true">
<name>name</name>
</item>
<item getparam="true">
<name>publicip</name>
<param>ipaddress</param>
</item>
<item randomnumber="true">
<name>privateport</name>
</item>
<item randomnumber="true">
<name>publicport</name>
</item>
<item>
<name>algorithm</name>
<value>roundrobin</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>lbid</param>
</item>
</returnvalue>
</command>
<command>
<name>createLoadBalancerRule</name>
<testcase>Create load balancer rule</testcase>
<usercommand>true</usercommand>
<parameters>
<item random="true">
<name>name</name>
</item>
<item getparam="true">
<name>publicip</name>
<param>ipaddress</param>
</item>
<item randomnumber="true">
<name>privateport</name>
</item>
<item randomnumber="true">
<name>publicport</name>
</item>
<item>
<name>algorithm</name>
<value>roundrobin</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>lbid1</param>
</item>
</returnvalue>
</command>
<command>
<name>assignToLoadBalancerRule</name>
<testcase>Assign to load balancer</testcase>
<usercommand>true</usercommand>
<parameters>
<item getparam="true">
<name>id</name>
<param>lbid</param>
</item>
<item getparam="true">
<name>virtualmachineid</name>
<param>vmid</param>
</item>
</parameters>
</command>
</delegatedadmin>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<delegatedadmin>
<!-- EXECUTE INITIAL SET OF COMMANDS AS USER1 -->
<command>
<name>registerUserKeys</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>userid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>apikey</name>
<param>apikey</param>
</item>
<item setparam="true">
<name>secretkey</name>
<param>secretkey</param>
</item>
</returnvalue>
</command>
<!-- VM RELATED COMMANDS -->
<command>
<name>deployVirtualMachine</name>
<usercommand>true</usercommand>
<parameters>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item getparam="true">
<name>templateid</name>
<param>globaltemplateid</param>
</item>
<item getparam="true">
<name>serviceofferingid</name>
<param>globalserviceofferingid</param>
</item>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>vmid</param>
</item>
</returnvalue>
</command>
<!-- VOLUME RELATED COMMANDS -->
<command>
<name>createVolume</name>
<usercommand>true</usercommand>
<parameters>
<item random="true">
<name>name</name>
</item>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>volumeid</param>
</item>
</returnvalue>
</command>
<!-- TEMPLATE RELATED COMMANDS - REGISTER AND CREATETEMPLATE COMMANDS -->
<command>
<name>createTemplate</name>
<usercommand>true</usercommand>
<parameters>
<item getparam="true">
<name>volumeid</name>
<param>volumeid</param>
</item>
<item random="true">
<name>name</name>
</item>
<item>
<name>displaytext</name>
<value>newtext</value>
</item>
<item>
<name>osTypeId</name>
<value>1</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>privatetemplateid</param>
</item>
</returnvalue>
</command>
<command>
<name>registerTemplate</name>
<testcase>Register template</testcase>
<usercommand>true</usercommand>
<parameters>
<item random="true">
<name>name</name>
</item>
<item random="true">
<name>displaytext</name>
</item>
<item getparam="true">
<name>url</name>
<param>globaltemplateurl</param>
</item>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item>
<name>ostypeid</name>
<value>1</value>
</item>
<item>
<name>format</name>
<value>vhd</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>registeredtemplateid</param>
</item>
</returnvalue>
</command>
<!-- ISO RELATED COMMANDS -->
<command>
<name>registerIso</name>
<usercommand>true</usercommand>
<testcase>Register iso</testcase>
<parameters>
<item random="true">
<name>name</name>
</item>
<item random="true" >
<name>displaytext</name>
</item>
<item getparam="true">
<name>url</name>
<param>globalisourl</param>
</item>
<item>
<name>ostypeid</name>
<value>53</value>
</item>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>isoid</param>
</item>
</returnvalue>
</command>
<!-- SNAPSHOT RELATED COMMANDS -->
<command>
<name>createSnapshot</name>
<usercommand>true</usercommand>
<parameters>
<item getparam="true">
<name>volumeid</name>
<param>volumeid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>snapshotid</param>
</item>
</returnvalue>
</command>
<command>
<name>createSnapshotPolicy</name>
<usercommand>true</usercommand>
<parameters>
<item getparam="true">
<name>volumeid</name>
<param>volumeid</param>
</item>
<item>
<name>intervaltype</name>
<value>hourly</value>
</item>
<item>
<name>schedule</name>
<value>10</value>
</item>
<item>
<name>maxsnaps</name>
<value>4</value>
</item>
<item>
<name>timezone</name>
<value>Africa/Casablanca</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>snapshotpolicyid</param>
</item>
</returnvalue>
</command>
<!-- Ip address section -->
<command>
<name>associateIpAddress</name>
<usercommand>true</usercommand>
<testcase>Associate ip address</testcase>
<parameters>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress</param>
</item>
</returnvalue>
</command>
<!-- Port forwarding section -->
<command>
<name>createPortForwardingService</name>
<testcase>Create port forwarding service</testcase>
<usercommand>true</usercommand>
<parameters>
<item random="true">
<name>name</name>
</item>
<item>
<name>description</name>
<value>none</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>pfgroupid</param>
</item>
</returnvalue>
</command>
<command>
<name>createPortForwardingService</name>
<testcase>Create port forwarding service</testcase>
<usercommand>true</usercommand>
<parameters>
<item random="true">
<name>name</name>
</item>
<item>
<name>description</name>
<value>none</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>pfgroupid1</param>
</item>
</returnvalue>
</command>
<command>
<name>createPortForwardingServiceRule</name>
<testcase>Create port forwarding service rule</testcase>
<usercommand>true</usercommand>
<parameters>
<item>
<name>publicport</name>
<value>22</value>
</item>
<item>
<name>privateport</name>
<value>22</value>
</item>
<item getparam="true">
<name>portforwardingserviceid</name>
<param>pfgroupid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>pfruleid</param>
</item>
</returnvalue>
</command>
<!-- Load balancer section -->
<command>
<name>createLoadBalancerRule</name>
<testcase>Create load balancer rule</testcase>
<usercommand>true</usercommand>
<parameters>
<item random="true">
<name>name</name>
</item>
<item getparam="true">
<name>publicip</name>
<param>ipaddress</param>
</item>
<item randomnumber="true">
<name>privateport</name>
</item>
<item randomnumber="true">
<name>publicport</name>
</item>
<item>
<name>algorithm</name>
<value>roundrobin</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>lbid</param>
</item>
</returnvalue>
</command>
<command>
<name>createLoadBalancerRule</name>
<testcase>Create load balancer rule</testcase>
<usercommand>true</usercommand>
<parameters>
<item random="true">
<name>name</name>
</item>
<item getparam="true">
<name>publicip</name>
<param>ipaddress</param>
</item>
<item randomnumber="true">
<name>privateport</name>
</item>
<item randomnumber="true">
<name>publicport</name>
</item>
<item>
<name>algorithm</name>
<value>roundrobin</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>lbid1</param>
</item>
</returnvalue>
</command>
<command>
<name>assignToLoadBalancerRule</name>
<testcase>Assign to load balancer</testcase>
<usercommand>true</usercommand>
<parameters>
<item getparam="true">
<name>id</name>
<param>lbid</param>
</item>
<item getparam="true">
<name>virtualmachineid</name>
<param>vmid</param>
</item>
</parameters>
</command>
</delegatedadmin>

File diff suppressed because it is too large Load Diff

View File

@ -1,122 +1,122 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain11adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain21adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain11adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain21adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>

View File

@ -1,122 +1,122 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain11adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain12adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain11adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain12adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>

View File

@ -1,122 +1,122 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain11adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain11adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>

View File

@ -1,122 +1,122 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain21adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain11adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain21adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain11adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>

View File

@ -1,122 +1,122 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain21adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain12adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain21adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain12adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>

View File

@ -1,122 +1,122 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain21adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain21adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>

View File

@ -1,122 +1,122 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin2id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin2id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>

View File

@ -1,122 +1,122 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain11adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<pickuser>
<!-- PICK UP THE USERS FOR FUTURE EXECUTION - THIS PART CAN BE MODIFIED WITH DIFFERENT USERIDs -->
<!-- User who executes first set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootadmin1id</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid1</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid1</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype1</param>
</item>
<item setparam="true">
<name>account</name>
<param>account1</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid1</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname1</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel1</param>
</item>
</returnvalue>
</command>
<!-- User who executes second set of commands -->
<command>
<name>listUsers</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domain11adminid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>userid2</param>
</item>
<item setparam="true">
<name>domainid</name>
<param>domainid2</param>
</item>
<item setparam="true">
<name>accounttype</name>
<param>accounttype2</param>
</item>
<item setparam="true">
<name>account</name>
<param>account2</param>
</item>
</returnvalue>
</command>
<command>
<name>listDomains</name>
<parameters>
<item getparam="true">
<name>id</name>
<param>domainid2</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>name</name>
<param>domainname2</param>
</item>
<item setparam="true">
<name>level</name>
<param>domainlevel2</param>
</item>
</returnvalue>
</command>
</pickuser>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,367 +1,367 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<ha>
<command>
<name>deployVirtualMachine</name>
<testcase>Deploy ha disabled vm</testcase>
<parameters>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item getparam="true">
<name>serviceofferingid</name>
<param>globalserviceofferingid</param>
</item>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
<item getparam="true">
<name>templateid</name>
<param>globaltemplateid</param>
</item>
<item>
<name>account</name>
<value>admin</value>
</item>
<item>
<name>domainid</name>
<value>1</value>
</item>
<item>
<name>displayname</name>
<value>HADisabledVM</value>
</item>
<item>
<name>group</name>
<value>group1</value>
</item>
<item getparam="true">
<name>networkids</name>
<param>globalnetworkid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>vmid</param>
</item>
<item setparam="true">
<name>name</name>
<param>vmname</param>
</item>
<item setparam="true">
<name>hostid</name>
<param>hostid</param>
</item>
</returnvalue>
</command>
<command>
<name>deployVirtualMachine</name>
<testcase>Deploy ha enabled vm</testcase>
<parameters>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item getparam="true">
<name>serviceofferingid</name>
<param>globalserviceofferingid</param>
</item>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
<item getparam="true">
<name>templateid</name>
<param>globaltemplateid</param>
</item>
<item>
<name>account</name>
<value>admin</value>
</item>
<item>
<name>domainid</name>
<value>1</value>
</item>
<item>
<name>displayname</name>
<value>HAEnabledVM</value>
</item>
<item>
<name>group</name>
<value>group2</value>
</item>
<item getparam="true">
<name>networkids</name>
<param>globalnetworkid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>vmid_ha</param>
</item>
<item setparam="true">
<name>name</name>
<param>vmname_ha</param>
</item>
<item setparam="true">
<name>hostid</name>
<param>hostid_ha</param>
</item>
</returnvalue>
</command>
<command>
<name>updateVirtualMachine</name>
<testcase>Update virtual machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_ha</param>
</item>
<item>
<name>haenable</name>
<value>true</value>
</item>
</parameters>
</command>
<!-- Find out hosts ips were vms are running -->
<command>
<name>listHosts</name>
<testcase>List host with ha disabled machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>hostid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress</param>
</item>
</returnvalue>
</command>
<command>
<name>listHosts</name>
<testcase>List host with ha enabled machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>hostid_ha</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress_ha</param>
</item>
</returnvalue>
</command>
<!-- Get some parameters from the db -->
<command>
<name>select instance_name from vm_instance</name>
<mysql>true</mysql>
<testcase>Getting internal instance name for the vm with ha disabled</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>instance_name</name>
<param>instance_name</param>
</item>
</returnvalue>
</command>
<command>
<name>select instance_name from vm_instance</name>
<mysql>true</mysql>
<testcase>Getting internal instance name for the vm with ha enabled</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_ha</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>instance_name</name>
<param>instance_name_ha</param>
</item>
</returnvalue>
</command>
<!-- Kill both vms-->
<command>
<name>killvm.sh</name>
<script>true</script>
<testcase>Kill ha disabled vm on the backend</testcase>
<parameters>
<item getparam="true">
<name>h</name>
<param>ipaddress</param>
</item>
<item getparam="true">
<name>n</name>
<param>instance_name</param>
</item>
</parameters>
</command>
<command>
<name>killvm.sh</name>
<script>true</script>
<testcase>Kill ha enabled vm on the backend</testcase>
<parameters>
<item getparam="true">
<name>h</name>
<param>ipaddress_ha</param>
</item>
<item getparam="true">
<name>n</name>
<param>instance_name_ha</param>
</item>
</parameters>
</command>
<!-- Sleep for some time -->
<command>
<name>sleep.sh</name>
<script>true</script>
<testcase>Sleep for some time</testcase>
<parameters>
<item>
<name>s</name>
<value>300</value>
</item>
</parameters>
</command>
<!-- Check that vms are running - verify both api and backend -->
<command>
<name>listVirtualMachines</name>
<testcase>List virtual machine with ha disabled</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid</param>
</item>
</parameters>
<returnvalue>
<item>
<name>state</name>
<value>Stopped</value>
</item>
</returnvalue>
</command>
<command>
<name>listVirtualMachines</name>
<testcase>List virtual machine with ha enabled</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_ha</param>
</item>
</parameters>
<returnvalue>
<item>
<name>state</name>
<value>Running</value>
</item>
<item setparam="true">
<name>hostid</name>
<param>hostid_ha</param>
</item>
</returnvalue>
</command>
<command>
<name>listHosts</name>
<testcase>List host with ha enabled machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>hostid_ha</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress_ha</param>
</item>
</returnvalue>
</command>
<command>
<name>listvm.sh</name>
<script>true</script>
<testcase>List ha enabled machine</testcase>
<parameters>
<item getparam="true">
<name>h</name>
<param>ipaddress_ha</param>
</item>
<item getparam="true">
<name>n</name>
<param>instance_name_ha</param>
</item>
</parameters>
</command>
<!-- Cleanup section - destroy all the vms -->
<command>
<name>destroyVirtualMachine</name>
<testcase>Destroy ha disabled vm as a part of cleanup</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid</param>
</item>
</parameters>
</command>
<command>
<name>destroyVirtualMachine</name>
<testcase>Destroy ha enabled vm as a part of cleanup</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_ha</param>
</item>
</parameters>
</command>
</ha>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<ha>
<command>
<name>deployVirtualMachine</name>
<testcase>Deploy ha disabled vm</testcase>
<parameters>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item getparam="true">
<name>serviceofferingid</name>
<param>globalserviceofferingid</param>
</item>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
<item getparam="true">
<name>templateid</name>
<param>globaltemplateid</param>
</item>
<item>
<name>account</name>
<value>admin</value>
</item>
<item>
<name>domainid</name>
<value>1</value>
</item>
<item>
<name>displayname</name>
<value>HADisabledVM</value>
</item>
<item>
<name>group</name>
<value>group1</value>
</item>
<item getparam="true">
<name>networkids</name>
<param>globalnetworkid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>vmid</param>
</item>
<item setparam="true">
<name>name</name>
<param>vmname</param>
</item>
<item setparam="true">
<name>hostid</name>
<param>hostid</param>
</item>
</returnvalue>
</command>
<command>
<name>deployVirtualMachine</name>
<testcase>Deploy ha enabled vm</testcase>
<parameters>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item getparam="true">
<name>serviceofferingid</name>
<param>globalserviceofferingid</param>
</item>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
<item getparam="true">
<name>templateid</name>
<param>globaltemplateid</param>
</item>
<item>
<name>account</name>
<value>admin</value>
</item>
<item>
<name>domainid</name>
<value>1</value>
</item>
<item>
<name>displayname</name>
<value>HAEnabledVM</value>
</item>
<item>
<name>group</name>
<value>group2</value>
</item>
<item getparam="true">
<name>networkids</name>
<param>globalnetworkid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>vmid_ha</param>
</item>
<item setparam="true">
<name>name</name>
<param>vmname_ha</param>
</item>
<item setparam="true">
<name>hostid</name>
<param>hostid_ha</param>
</item>
</returnvalue>
</command>
<command>
<name>updateVirtualMachine</name>
<testcase>Update virtual machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_ha</param>
</item>
<item>
<name>haenable</name>
<value>true</value>
</item>
</parameters>
</command>
<!-- Find out hosts ips were vms are running -->
<command>
<name>listHosts</name>
<testcase>List host with ha disabled machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>hostid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress</param>
</item>
</returnvalue>
</command>
<command>
<name>listHosts</name>
<testcase>List host with ha enabled machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>hostid_ha</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress_ha</param>
</item>
</returnvalue>
</command>
<!-- Get some parameters from the db -->
<command>
<name>select instance_name from vm_instance</name>
<mysql>true</mysql>
<testcase>Getting internal instance name for the vm with ha disabled</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>instance_name</name>
<param>instance_name</param>
</item>
</returnvalue>
</command>
<command>
<name>select instance_name from vm_instance</name>
<mysql>true</mysql>
<testcase>Getting internal instance name for the vm with ha enabled</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_ha</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>instance_name</name>
<param>instance_name_ha</param>
</item>
</returnvalue>
</command>
<!-- Kill both vms-->
<command>
<name>killvm.sh</name>
<script>true</script>
<testcase>Kill ha disabled vm on the backend</testcase>
<parameters>
<item getparam="true">
<name>h</name>
<param>ipaddress</param>
</item>
<item getparam="true">
<name>n</name>
<param>instance_name</param>
</item>
</parameters>
</command>
<command>
<name>killvm.sh</name>
<script>true</script>
<testcase>Kill ha enabled vm on the backend</testcase>
<parameters>
<item getparam="true">
<name>h</name>
<param>ipaddress_ha</param>
</item>
<item getparam="true">
<name>n</name>
<param>instance_name_ha</param>
</item>
</parameters>
</command>
<!-- Sleep for some time -->
<command>
<name>sleep.sh</name>
<script>true</script>
<testcase>Sleep for some time</testcase>
<parameters>
<item>
<name>s</name>
<value>300</value>
</item>
</parameters>
</command>
<!-- Check that vms are running - verify both api and backend -->
<command>
<name>listVirtualMachines</name>
<testcase>List virtual machine with ha disabled</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid</param>
</item>
</parameters>
<returnvalue>
<item>
<name>state</name>
<value>Stopped</value>
</item>
</returnvalue>
</command>
<command>
<name>listVirtualMachines</name>
<testcase>List virtual machine with ha enabled</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_ha</param>
</item>
</parameters>
<returnvalue>
<item>
<name>state</name>
<value>Running</value>
</item>
<item setparam="true">
<name>hostid</name>
<param>hostid_ha</param>
</item>
</returnvalue>
</command>
<command>
<name>listHosts</name>
<testcase>List host with ha enabled machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>hostid_ha</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress_ha</param>
</item>
</returnvalue>
</command>
<command>
<name>listvm.sh</name>
<script>true</script>
<testcase>List ha enabled machine</testcase>
<parameters>
<item getparam="true">
<name>h</name>
<param>ipaddress_ha</param>
</item>
<item getparam="true">
<name>n</name>
<param>instance_name_ha</param>
</item>
</parameters>
</command>
<!-- Cleanup section - destroy all the vms -->
<command>
<name>destroyVirtualMachine</name>
<testcase>Destroy ha disabled vm as a part of cleanup</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid</param>
</item>
</parameters>
</command>
<command>
<name>destroyVirtualMachine</name>
<testcase>Destroy ha enabled vm as a part of cleanup</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_ha</param>
</item>
</parameters>
</command>
</ha>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,153 +1,153 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<volumes>
<command>
<name>deployVirtualMachine</name>
<parameters>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item getparam="true">
<name>serviceofferingid</name>
<param>globalserviceofferingid</param>
</item>
<item getparam="true">
<name>templateid</name>
<param>globaltemplateid</param>
</item>
<item>
<name>account</name>
<value>admin</value>
</item>
<item>
<name>domainid</name>
<value>1</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>vmid</param>
</item>
</returnvalue>
</command>
<!-- test case 1027 - try to create a volume in local storage setup (no shared storage) - should fail -->
<command>
<name>createVolume</name>
<testcase>1027</testcase>
<error>true</error>
<parameters>
<item>
<name>account</name>
<value>admin</value>
</item>
<item>
<name>domainid</name>
<value>1</value>
</item>
<item random="true">
<name>name</name>
</item>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
</parameters>
</command>
<!-- Test case 1032 - try to detach datadisk volume from the Centos vm in local storage setup - should fail -->
<command>
<name>listVolumes</name>
<parameters>
<item getparam="true">
<name>virtualmachineid</name>
<param>vmid</param>
</item>
<item>
<name>type</name>
<value>DATADISK</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>datadiskvolume</param>
</item>
</returnvalue>
</command>
<command>
<name>detachVolume</name>
<testcase>1032</testcase>
<error>true</error>
<parameters>
<item getparam="true">
<name>id</name>
<param>datadiskvolume</param>
</item>
</parameters>
</command>
<!-- Test case 1034 - try to detach root volume from the Centos vm in local storage setup - should fail -->
<command>
<name>listVolumes</name>
<parameters>
<item getparam="true">
<name>virtualmachineid</name>
<param>vmid</param>
</item>
<item>
<name>type</name>
<value>ROOT</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>rootdiskvolume</param>
</item>
</returnvalue>
</command>
<command>
<name>detachVolume</name>
<testcase>1034</testcase>
<error>true</error>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootdiskvolume</param>
</item>
</parameters>
</command>
</volumes>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<volumes>
<command>
<name>deployVirtualMachine</name>
<parameters>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item getparam="true">
<name>serviceofferingid</name>
<param>globalserviceofferingid</param>
</item>
<item getparam="true">
<name>templateid</name>
<param>globaltemplateid</param>
</item>
<item>
<name>account</name>
<value>admin</value>
</item>
<item>
<name>domainid</name>
<value>1</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>vmid</param>
</item>
</returnvalue>
</command>
<!-- test case 1027 - try to create a volume in local storage setup (no shared storage) - should fail -->
<command>
<name>createVolume</name>
<testcase>1027</testcase>
<error>true</error>
<parameters>
<item>
<name>account</name>
<value>admin</value>
</item>
<item>
<name>domainid</name>
<value>1</value>
</item>
<item random="true">
<name>name</name>
</item>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
</parameters>
</command>
<!-- Test case 1032 - try to detach datadisk volume from the Centos vm in local storage setup - should fail -->
<command>
<name>listVolumes</name>
<parameters>
<item getparam="true">
<name>virtualmachineid</name>
<param>vmid</param>
</item>
<item>
<name>type</name>
<value>DATADISK</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>datadiskvolume</param>
</item>
</returnvalue>
</command>
<command>
<name>detachVolume</name>
<testcase>1032</testcase>
<error>true</error>
<parameters>
<item getparam="true">
<name>id</name>
<param>datadiskvolume</param>
</item>
</parameters>
</command>
<!-- Test case 1034 - try to detach root volume from the Centos vm in local storage setup - should fail -->
<command>
<name>listVolumes</name>
<parameters>
<item getparam="true">
<name>virtualmachineid</name>
<param>vmid</param>
</item>
<item>
<name>type</name>
<value>ROOT</value>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>rootdiskvolume</param>
</item>
</returnvalue>
</command>
<command>
<name>detachVolume</name>
<testcase>1034</testcase>
<error>true</error>
<parameters>
<item getparam="true">
<name>id</name>
<param>rootdiskvolume</param>
</item>
</parameters>
</command>
</volumes>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,407 +1,407 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<vmsynctest>
<!-- 1. Deploy two VMs, One HA enabled, One HA disabled -->
<!-- 1.1 Deploy HA enabled VM -->
<command>
<name>deployVirtualMachine</name> <!--deploy vm 1-->
<testcase>deploy HA enabled VM test case</testcase>
<parameters>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
<item getparam="true">
<name>serviceofferingid</name>
<param>globalserviceofferingid</param>
</item>
<item getparam="true">
<name>templateid</name>
<param>globaltemplateid</param>
</item>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item>
<name>displayname</name>
<value>HAenabledVM</value>
</item>
<item>
<name>account</name>
<value>admin</value>
</item>
<item>
<name>domainid</name>
<value>1</value>
</item>
<item>
<name>group</name>
<value>group1</value>
</item>
<item getparam="true">
<name>networkids</name>
<param>globalnetworkid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>vmid_en</param>
</item>
<item setparam="true">
<name>name</name>
<param>vmname_en</param>
</item>
<item setparam="true">
<name>hostid</name>
<param>hostid_en</param>
</item>
</returnvalue>
</command>
<!-- 1.2 Deploy the HA disabled VM -->
<command>
<name>deployVirtualMachine</name> <!--deploy vm 1-->
<testcase>deploy HA disabled VM test case</testcase>
<parameters>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
<item getparam="true">
<name>serviceofferingid</name>
<param>globalserviceofferingid</param>
</item>
<item getparam="true">
<name>templateid</name>
<param>globaltemplateid</param>
</item>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item>
<name>displayname</name>
<value>HAdisabledVM</value>
</item>
<item>
<name>account</name>
<value>admin</value>
</item>
<item>
<name>domainid</name>
<value>1</value>
</item>
<item>
<name>group</name>
<value>group1</value>
</item>
<item getparam="true">
<name>networkids</name>
<param>globalnetworkid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>vmid_db</param>
</item>
<item setparam="true">
<name>name</name>
<param>vmname_db</param>
</item>
<item setparam="true">
<name>hostid</name>
<param>hostid_db</param>
</item>
</returnvalue>
</command>
<!-- 2. Enable and disable HA on the VMs respectively -->
<!-- 2.1 Enable HA -->
<command>
<name>updateVirtualMachine</name>
<testcase>HA enable virtual machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_en</param>
</item>
<item>
<name>displayname</name>
<value>HAenabledVirtualMachine</value>
</item>
<item>
<name>haenable</name>
<value>true</value>
</item>
</parameters>
</command>
<!-- 2.2 Disable HA -->
<command>
<name>updateVirtualMachine</name>
<testcase>HA disable virtual machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_db</param>
</item>
<item>
<name>displayname</name>
<value>HAdisabledVirtualMachine</value>
</item>
<item>
<name>haenable</name>
<value>false</value>
</item>
</parameters>
</command>
<!-- 3. Obtain the Host IP addresses for the Hosts accommodating the VMs -->
<!-- 3.1 Obtains the Host IP address of the HA enabled VM's Host machine -->
<command>
<name>listHosts</name>
<testcase>Obtain IP address of ha disabled VM's Host Test Case</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>hostid_db</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress_db</param>
</item>
</returnvalue>
</command>
<!-- 3.2 Obtains the Host IP address of the HA disabled VM's Host machine -->
<command>
<name>listHosts</name>
<testcase>Obtain IP address of ha enabled VM's Host Test Case</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>hostid_en</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress_en</param>
</item>
</returnvalue>
</command>
<!-- 4. Get VM instance name of the VMs from the db -->
<command>
<name>select instance_name from vm_instance</name>
<mysql>true</mysql>
<testcase>Obtaining the internal instance name for the ha disabled VM Test Case</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_db</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>instance_name</name>
<param>instance_name_db</param>
</item>
</returnvalue>
</command>
<command>
<name>select instance_name from vm_instance</name>
<mysql>true</mysql>
<testcase>Obtaining the internal instance name for the ha enabled VM Test Case</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_en</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>instance_name</name>
<param>instance_name_en</param>
</item>
</returnvalue>
</command>
<!-- 5. Kill the two VMs -->
<command>
<name>killvm.sh</name>
<testcase>Kill the HA enabled VM</testcase>
<script>true</script>
<parameters>
<item getparam="true">
<name>n</name>
<param>instance_name_en</param>
</item>
<item getparam="true">
<name>h</name>
<param>ipaddress_en</param>
</item>
</parameters>
</command>
<command>
<name>killvm.sh</name>
<testcase>Kill the HA disabled VM</testcase>
<script>true</script>
<parameters>
<item getparam="true">
<name>n</name>
<param>instance_name_db</param>
</item>
<item getparam="true">
<name>h</name>
<param>ipaddress_db</param>
</item>
</parameters>
</command>
<!--6. Wait for some time for the management server to respond -->
<command>
<name>sleep.sh</name>
<script>true</script>
<testcase>Sleep for some time</testcase>
<parameters>
<item>
<name>s</name>
<value>300</value>
</item>
</parameters>
</command>
<!-- Check that States of the vms at the database and at the agents - verify both api and backend -->
<!-- 7. Check the Management Server Database for the states of the killed VMs -->
<command>
<name>listVirtualMachines</name>
<testcase>List virtual machine with ha disabled</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_db</param>
</item>
</parameters>
<returnvalue>
<item>
<name>state</name>
<value>Stopped</value>
</item>
</returnvalue>
</command>
<command>
<name>listVirtualMachines</name>
<testcase>List virtual machine with ha enabled</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_en</param>
</item>
</parameters>
<returnvalue>
<item>
<name>state</name>
<value>Running</value>
</item>
<item setparam="true"> <!-- HA enabled VM may be restarted on any hosts -->
<name>hostid</name>
<param>hostid_en</param>
</item>
</returnvalue>
</command>
<!-- 9. Find the host IP address of the ha enabled VM -->
<command>
<name>listHosts</name>
<testcase>List host with ha enabled machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>hostid_en</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress_en</param>
</item>
</returnvalue>
</command>
<!-- 10. Verify whether the HA enabled VM is actually running on the host -->
<command>
<name>listvm.sh</name>
<script>true</script>
<testcase>List ha enabled machine</testcase>
<parameters>
<item getparam="true">
<name>h</name>
<param>ipaddress_en</param>
</item>
<item getparam="true">
<name>n</name>
<param>instance_name_en</param>
</item>
</parameters>
</command>
<!-- Cleanup section -->
<!-- 11. Destroy VMs-->
<command>
<name>destroyVirtualMachine</name>
<testcase>Destroy ha disabled vm as a part of cleanup</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_db</param>
</item>
</parameters>
</command>
<command>
<name>destroyVirtualMachine</name>
<testcase>Destroy ha enabled vm as a part of cleanup</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_en</param>
</item>
</parameters>
</command>
</vmsynctest>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<vmsynctest>
<!-- 1. Deploy two VMs, One HA enabled, One HA disabled -->
<!-- 1.1 Deploy HA enabled VM -->
<command>
<name>deployVirtualMachine</name> <!--deploy vm 1-->
<testcase>deploy HA enabled VM test case</testcase>
<parameters>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
<item getparam="true">
<name>serviceofferingid</name>
<param>globalserviceofferingid</param>
</item>
<item getparam="true">
<name>templateid</name>
<param>globaltemplateid</param>
</item>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item>
<name>displayname</name>
<value>HAenabledVM</value>
</item>
<item>
<name>account</name>
<value>admin</value>
</item>
<item>
<name>domainid</name>
<value>1</value>
</item>
<item>
<name>group</name>
<value>group1</value>
</item>
<item getparam="true">
<name>networkids</name>
<param>globalnetworkid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>vmid_en</param>
</item>
<item setparam="true">
<name>name</name>
<param>vmname_en</param>
</item>
<item setparam="true">
<name>hostid</name>
<param>hostid_en</param>
</item>
</returnvalue>
</command>
<!-- 1.2 Deploy the HA disabled VM -->
<command>
<name>deployVirtualMachine</name> <!--deploy vm 1-->
<testcase>deploy HA disabled VM test case</testcase>
<parameters>
<item getparam="true">
<name>diskofferingid</name>
<param>globaldiskofferingid</param>
</item>
<item getparam="true">
<name>serviceofferingid</name>
<param>globalserviceofferingid</param>
</item>
<item getparam="true">
<name>templateid</name>
<param>globaltemplateid</param>
</item>
<item getparam="true">
<name>zoneid</name>
<param>globalzoneid</param>
</item>
<item>
<name>displayname</name>
<value>HAdisabledVM</value>
</item>
<item>
<name>account</name>
<value>admin</value>
</item>
<item>
<name>domainid</name>
<value>1</value>
</item>
<item>
<name>group</name>
<value>group1</value>
</item>
<item getparam="true">
<name>networkids</name>
<param>globalnetworkid</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>id</name>
<param>vmid_db</param>
</item>
<item setparam="true">
<name>name</name>
<param>vmname_db</param>
</item>
<item setparam="true">
<name>hostid</name>
<param>hostid_db</param>
</item>
</returnvalue>
</command>
<!-- 2. Enable and disable HA on the VMs respectively -->
<!-- 2.1 Enable HA -->
<command>
<name>updateVirtualMachine</name>
<testcase>HA enable virtual machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_en</param>
</item>
<item>
<name>displayname</name>
<value>HAenabledVirtualMachine</value>
</item>
<item>
<name>haenable</name>
<value>true</value>
</item>
</parameters>
</command>
<!-- 2.2 Disable HA -->
<command>
<name>updateVirtualMachine</name>
<testcase>HA disable virtual machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_db</param>
</item>
<item>
<name>displayname</name>
<value>HAdisabledVirtualMachine</value>
</item>
<item>
<name>haenable</name>
<value>false</value>
</item>
</parameters>
</command>
<!-- 3. Obtain the Host IP addresses for the Hosts accommodating the VMs -->
<!-- 3.1 Obtains the Host IP address of the HA enabled VM's Host machine -->
<command>
<name>listHosts</name>
<testcase>Obtain IP address of ha disabled VM's Host Test Case</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>hostid_db</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress_db</param>
</item>
</returnvalue>
</command>
<!-- 3.2 Obtains the Host IP address of the HA disabled VM's Host machine -->
<command>
<name>listHosts</name>
<testcase>Obtain IP address of ha enabled VM's Host Test Case</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>hostid_en</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress_en</param>
</item>
</returnvalue>
</command>
<!-- 4. Get VM instance name of the VMs from the db -->
<command>
<name>select instance_name from vm_instance</name>
<mysql>true</mysql>
<testcase>Obtaining the internal instance name for the ha disabled VM Test Case</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_db</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>instance_name</name>
<param>instance_name_db</param>
</item>
</returnvalue>
</command>
<command>
<name>select instance_name from vm_instance</name>
<mysql>true</mysql>
<testcase>Obtaining the internal instance name for the ha enabled VM Test Case</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_en</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>instance_name</name>
<param>instance_name_en</param>
</item>
</returnvalue>
</command>
<!-- 5. Kill the two VMs -->
<command>
<name>killvm.sh</name>
<testcase>Kill the HA enabled VM</testcase>
<script>true</script>
<parameters>
<item getparam="true">
<name>n</name>
<param>instance_name_en</param>
</item>
<item getparam="true">
<name>h</name>
<param>ipaddress_en</param>
</item>
</parameters>
</command>
<command>
<name>killvm.sh</name>
<testcase>Kill the HA disabled VM</testcase>
<script>true</script>
<parameters>
<item getparam="true">
<name>n</name>
<param>instance_name_db</param>
</item>
<item getparam="true">
<name>h</name>
<param>ipaddress_db</param>
</item>
</parameters>
</command>
<!--6. Wait for some time for the management server to respond -->
<command>
<name>sleep.sh</name>
<script>true</script>
<testcase>Sleep for some time</testcase>
<parameters>
<item>
<name>s</name>
<value>300</value>
</item>
</parameters>
</command>
<!-- Check that States of the vms at the database and at the agents - verify both api and backend -->
<!-- 7. Check the Management Server Database for the states of the killed VMs -->
<command>
<name>listVirtualMachines</name>
<testcase>List virtual machine with ha disabled</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_db</param>
</item>
</parameters>
<returnvalue>
<item>
<name>state</name>
<value>Stopped</value>
</item>
</returnvalue>
</command>
<command>
<name>listVirtualMachines</name>
<testcase>List virtual machine with ha enabled</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_en</param>
</item>
</parameters>
<returnvalue>
<item>
<name>state</name>
<value>Running</value>
</item>
<item setparam="true"> <!-- HA enabled VM may be restarted on any hosts -->
<name>hostid</name>
<param>hostid_en</param>
</item>
</returnvalue>
</command>
<!-- 9. Find the host IP address of the ha enabled VM -->
<command>
<name>listHosts</name>
<testcase>List host with ha enabled machine</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>hostid_en</param>
</item>
</parameters>
<returnvalue>
<item setparam="true">
<name>ipaddress</name>
<param>ipaddress_en</param>
</item>
</returnvalue>
</command>
<!-- 10. Verify whether the HA enabled VM is actually running on the host -->
<command>
<name>listvm.sh</name>
<script>true</script>
<testcase>List ha enabled machine</testcase>
<parameters>
<item getparam="true">
<name>h</name>
<param>ipaddress_en</param>
</item>
<item getparam="true">
<name>n</name>
<param>instance_name_en</param>
</item>
</parameters>
</command>
<!-- Cleanup section -->
<!-- 11. Destroy VMs-->
<command>
<name>destroyVirtualMachine</name>
<testcase>Destroy ha disabled vm as a part of cleanup</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_db</param>
</item>
</parameters>
</command>
<command>
<name>destroyVirtualMachine</name>
<testcase>Destroy ha enabled vm as a part of cleanup</testcase>
<parameters>
<item getparam="true">
<name>id</name>
<param>vmid_en</param>
</item>
</parameters>
</command>
</vmsynctest>

View File

@ -1,52 +1,52 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
<context:annotation-config />
<context:component-scan base-package="org.apache.cloudstack, com.cloud" />
<!--
@DB support
-->
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
</list>
</property>
</bean>
</beans>
<context:annotation-config />
<context:component-scan base-package="org.apache.cloudstack, com.cloud" />
<!--
@DB support
-->
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
</list>
</property>
</bean>
</beans>