Cisco Systems 78-11424-03 manual XML Document Example, 2-44, Configuring Content API

Models: 78-11424-03

1 50
Download 50 pages 2.4 Kb
Page 44
Image 44
XML Document Example

Chapter 2 Configuring User Profiles and CSS Parameters

Configuring Content API

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>

 

Cisco Content Services Switch Basic Configuration Guide

2-44

78-11424-03

Page 44
Image 44
Cisco Systems 78-11424-03 manual XML Document Example, 2-44, Configuring User Profiles and CSS Parameters