Add a Policy Table

Note: This query is not available to Policy servers in NW-CMP mode.

You can use OSSI to add a policy table, or if the policy-table name does not exist in the CMP, you can use the interface to modify a table.

When naming a new table, the length limitation for the name is 255 characters; it can only contain the characters A–Z, a–z, 0–9, period (.), hyphen (-), and underline (_). The description field is a free-form text that identifies the policy table and has a limit of 250 characters.

Note: If the length of either the name or description is exceeded, of it the name contains invalid characters, the import fails.

The following example shows the code to import a policy table named Sample1.

<?xml version="1.0" encoding="UTF-8" ?> 
<XmlInterfaceRequest>
<AddPolicyTableData>
  <Name>Sample 1</Name> 
  <Description>Sample 1</Description> 
<Table>
 <Header>
  <Field Type="smartString255" Key="true" Field="TA">TA</Field> 
</Header>
 <Record Name="1330657994893">
  <Field Field="TA">TA</Field> 
</Record>
<Record Name="1330657994894">
  <Field Field="TA">TAsssss</Field>
</Record>
</Table>
</AddPolicyTableData>
<</XmlInterfaceRequest>