-
AppExpert Applications and Templates
-
Configure application authentication, authorization, and auditing
-
Creating and Managing Template Files
-
Exporting a Content Switching Virtual Server Configuration to a Template File
-
Understanding Citrix ADC Application Templates and Deployment Files
-
-
Advanced Policy Expressions: Working with Dates, Times, and Numbers
-
Advanced Policy Expressions: Parsing HTTP, TCP, and UDP Data
-
Advanced Policy Expressions: IP and MAC Addresses, Throughput, VLAN IDs
-
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Understanding Citrix ADC Application Templates and Deployment Files
When you export a Citrix ADC application, the following two files are automatically created:
- Citrix ADC application template file. Contains application-configuration information such as application units, rules, and configured policies.
- Deployment file. Contains deployment-specific information such as public endpoints, services, associated IP addresses, and configured variables.
In a template file or deployment file, each unit of application-configuration information is encapsulated in a specific XML element that is meant for that unit type. For example, each public endpoint and associated endpoint details are encapsulated within the <appendpoint> and </appendpoint> tags, and all the endpoint elements are encapsulated within the <appendpoint_list> and </appendpoint_list> tags.
Note: After you export a Citrix ADC application, you can add elements, remove elements, and modify existing elements before importing the application to a Citrix ADC appliance.
Example of a Citrix ADC Application Template
Following is an example of a template file that was created from a Citrix ADC application called SharePoint_Team_Site:
<?xml version="1.0" encoding="UTF-8" ?>
<template>
<template_info>
<application_name>SharePoint_Team_Site</application_name>
<templateversion_major>1</templateversion_major>
<templateversion_minor>1</templateversion_minor>
<author>Ed</author>
<introduction>An application for managing a SharePoint team site with images, reports, and, XML content.</introduction>
<summary>This template includes variables</summary>
<version_major>9</version_major>
<version_minor>3</version_minor>
<build_number>38</build_number>
</template_info>
<apptemplate>
<rewrite>
<rewriteaction_list>
<rewriteaction>
<name>Rw_name</name>
<type>replace</type>
<target>HTTP.REQ.BODY(10000).AFTER_REGEX(re/number/).BEFORE_REGEX(re/address/)</target>
<stringbuilderexpr>"NA"</stringbuilderexpr>
<allow_unsafe_pi1>NO</allow_unsafe_pi1>
</rewriteaction>
<rewriteaction>
.
.
.
</rewriteaction>
.
.
.
</rewriteaction_list>
<rewritepolicy_list>
<rewritepolicy>
<name>Rw_number_NA</name>
<rule>HTTP.REQ.BODY(100000).CONTAINS("admin")</rule>
<action>Rw_name</action>
</rewritepolicy>
<rewritepolicy>
.
.
.
</rewritepolicy>
.
.
.
</rewritepolicy_list>
</rewrite>
<appunit_list>
<appunit>
<name>SharePoint_Team_Sitedefault</name>
<rule />
<expressiontype>PE</expressiontype>
<servicetype>HTTP</servicetype>
<ipv46>0.0.0.0</ipv46>
<ipmask>*</ipmask>
<port>0</port>
<range>1</range>
<persistencetype>NONE</persistencetype>
<timeout>2</timeout>
<persistencebackup>NONE</persistencebackup>
<backuppersistencetimeout>2</backuppersistencetimeout>
<lbmethod>LEASTCONNECTION</lbmethod>
<persistmask>255.255.255.255</persistmask>
<v6persistmasklen>128</v6persistmasklen>
<pq>OFF</pq>
<sc>OFF</sc>
<m>IP</m>
<datalength>0</datalength>
<dataoffset>0</dataoffset>
<sessionless>DISABLED</sessionless>
<state>ENABLED</state>
<connfailover>DISABLED</connfailover>
<clttimeout>180</clttimeout>
<somethod>NONE</somethod>
<sopersistence>DISABLED</sopersistence>
<redirectportrewrite>DISABLED</redirectportrewrite>
<downstateflush>DISABLED</downstateflush>
<gt2gb>DISABLED</gt2gb>
<ipmapping>0.0.0.0</ipmapping>
<disableprimaryondown>DISABLED</disableprimaryondown>
<insertvserveripport>OFF</insertvserveripport>
<authentication>OFF</authentication>
<authn401>OFF</authn401>
<push>DISABLED</push>
<pushlabel>none</pushlabel>
<l2conn>OFF</l2conn>
</appunit>
<appunit>
.
.
.
</appunit>
.
.
.
</appunit_list>
</apptemplate>
<parameters>
<property_list>
<property>
<variable_definition_list>
<variable_definition>
<name>body_size</name>
<defaultvalue>10000</defaultvalue>
<description>Evaluation Scope</description>
<startindex>14</startindex>
<length>5</length>
</variable_definition>
.
.
.
</variable_definition_list>
<object_type>rewriteaction</object_type>
<object_name>Rw_name</object_name>
<name>target</name>
</property>
.
.
.
</property_list>
</parameters>
</template>
<!--NeedCopy-->
Example of a Deployment File
Following is the deployment file associated with the SharePoint_Team_Site application in the preceding example:
<?xml version="1.0" encoding="UTF8" ?>
<template_deployment>
<template_info>
<application_name>SharePoint_Team_Site</application_name>
<templateversion_major>1</templateversion_major>
<templateversion_minor>1</templateversion_minor>
<author>Ed</author>
<introduction>An application for managing a SharePoint team site with images, reports, and, XML content.</introduction>
<summary>This template includes variables</summary>
<version_major>9</version_major>
<version_minor>3</version_minor>
<build_number>38</build_number>
</template_info>
<appendpoint_list>
<appendpoint>
<ipv46>10.111.111.1</ipv46>
<port>80</port>
<servicetype>HTTP</servicetype>
</appendpoint>
</appendpoint_list>
<service_list>
<service>
<ip>10.102.29.5</ip>
<port>80</port>
<servicetype>HTTP</servicetype>
</service>
<service>
.
.
.
</service>
.
.
.
</service_list>
<variable_list>
<variable>
<name>body_size</name>
<description>Evaluation Scope</description>
<value>10000</value>
</variable>
<variable>
.
.
.
</variable>
.
.
.
</variable_list>
</template_deployment>
<!--NeedCopy-->
Share
Share
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.