Chapter 7 Using an XML Document to Configure the CSS
Creating XML Code
7-4
Cisco Content Services Switch Administration Guide
OL-5647-02
XML Document Example
The following example is a complete XML document. The XML document
creates three services, an owner, and a content rule, and assigns one of the newly
created services to the content rule.
<?xml version=”1.0” standalone=”yes”?>
<config>
<service name=”
router
”>
<ip_address>
10.0.3.1
</ip_address>
<action>
active
</action>
</service>
<service name=”
sname2
”>
<ip_address>
10.0.3.2
</ip_address>
<weight>
4
</weight>
<action>
active
</action>
</service>
<service name=”
sname3
”>
<ip_address>
10.0.3.3
</ip_address>
<weight>
5
</weight>
<protocol>
udp
</protocol>
<action>
suspend
</action>
</service>
<service name=”
nick
”>
<ip_address>
10.0.3.93
</ip_address>
<action>
active
</action>
</service>
<owner name=”
test
”>
<content name=”
rule
”>
<vip_address>
10.0.3.100
</vip_address>
<protocol>
udp
</protocol>
<port>
8080
</port>
<add_service>
nick
</add_service>
<action>
active
</action>
</content>
</owner>
</config>
Содержание 11500 Series
Страница 16: ...Contents xvi Cisco Content Services Switch Administration Guide OL 5647 02 ...
Страница 18: ...Figures xx Cisco Content Services Switch Administration Guide OL 5647 02 ...
Страница 120: ...Chapter 3 Configuring User Profiles Where to Go Next 3 16 Cisco Content Services Switch Administration Guide OL 5647 02 ...