Restricted IP Normalizer

The restricted IP normalizer determines whether an IP address is in a restricted list.

POST /objects/Normalizer/RestrictedIp shows how to create a new restricted IP normalizer.
Table 1. POST /objects/Normalizer/RestrictedIp
URL
POST	http://localhost:8080/matrixx/data/objects/Normalizer/RestrictedIp
Input
<?xml version="1.0" encoding="UTF-8"?>
<RestrictedIpNormalizer name="Zone Restricted List Processing (IP Address)">
    <EffectiveDate>2012-10-22T00:00:00</EffectiveDate>
    <ValueList default='0'>
        <value color="#ff0000" description="restrict" id="0" index="0" name="restrict"/>
        <value color="#FFFFFF" description="allow" id="1" index="1" name="allow"/>
    </ValueList>
    <ResultList>
        <result index="0" value="100.100.0.0/24"/>
        <result index="0" value="101.101.0.0/255.255.255.0"/>
        <result index="0" value="201.101.0.0"/>
    </ResultList>
</RestrictedIpNormalizer> 
Response
<CreateResponse>
    <type>Normalizer</type>
    <DomainId>1</DomainId>
    <Result>0</Result>
    <ResultText>Success</ResultText>
    <ObjectId>1088</ObjectId>
    <Revision>0</Revision>
</CreateResponse> 
GET /objects/Normalizer/RestrictedIp/{id} shows how to retrieve a RestrictedIp normalizer from the in-memory pricing database.
Table 2. GET /objects/Normalizer/RestrictedIp/{id}
URL
GET	http://localhost:8080/matrixx/data/objects/Normalizer/RestrictedIp/1088
Response
<?xml version="1.0" encoding="UTF-8"?>
<RestrictedIpNormalizer name="Zone Restricted List Processing (IP Address)">
    <EffectiveDate>2012-10-22T00:00:00</EffectiveDate>
    <ValueList default='0'>
        <value color="#ff0000" description="restrict" id="0" index="0" name="restrict"/>
        <value color="#FFFFFF" description="allow" id="1" index="1" name="allow"/>
    </ValueList>
    <ResultList>
        <result index="0" value="100.100.0.0/24"/>
        <result index="0" value="101.101.0.0/255.255.255.0"/>
        <result index="0" value="201.101.0.0"/>
    </ResultList>
</RestrictedIpNormalizer>  
PUT /objects/Normalizer/RestrictedIp/{id} shows how to update an existing RestrictedIp normalizer.
Table 3. PUT /objects/Normalizer/RestrictedIp/{id}
URL
PUT	http://localhost:8080/matrixx/data/objects/Normalizer/RestrictedIp/1088
Input
<?xml version="1.0" encoding="UTF-8"?>
<RestrictedIpNormalizer name="Zone Restricted List Processing (IP Address)">
    <EffectiveDate>2012-11-22T00:00:00</EffectiveDate>
    <ResultList>
        <result index="0" value="100.100.0.0/24"/>
        <result index="0" value="101.101.0.0/255.255.255.0"/>
        <result index="0" value="201.101.0.0"/>
        <result index="2" value="201.102.0.0"/>
    </ResultList>
</RestrictedIpNormalizer> 
Response
<UpdateResponse>
    <type>Normalizer</type>
    <Result>0</Result>
    <ResultText>Success</ResultText>
    <ObjectId>1088</ObjectId>
    <Revision>1</Revision>
</UpdateResponse>