Operation: | Add IP Host / Edit IP Host
Description: | To Create/Edit IP Host.

Sample Configuration
    	<IPHost>
    		<Name>name</Name>
    		<IPFamily>IPv4/IPv6</IPFamily><!-- default IPv4 -->
    		<HostType>IP/Network/IPRange/IPList</HostType>
    		<IPAddress>1.1.1.1</IPAddress><!-- for type IP only -->
    		<!-- For Netwrok Type -->
    		<IPAddress>1.1.1.1</IPAddress>
    		<Subnet>/1(128.0.0.0)</Subnet>
    		<!-- Netwrok type ends -->
    		<!-- For IPRange -->
    		<StartIPAddress>startIPaddress</StartIPAddress>
    		<EndIPAddress>endIPaddress</EndIPAddress>
    		<!-- IPRange type ends -->
    		<!-- For IPList type -->			<ListOfIPAddresses>192.168.1.125,192.236.25.1</ListOfIPAddresses>
    		<!-- Netwrok type ends -->
    		<HostGroupList>
    			<HostGroup>hostgroupname</HostGroup>
    			<HostGroup>hostgroupname</HostGroup>
    			<HostGroup>hostgroupname</HostGroup>
    			:
    		</HostGroupList>
    	</IPHost>

Attribute/Parameter Information :

Parameter | Mandatory | Default | Description
--- | --- | --- | ---
Name | Yes |  | Description: Specify a name to identify the IP Host. Name confines to: Type is 'SCALAR'. Datatype is 'STRING'. First character is to be hash(#) or comma(,). Maximum characters allowed are 60.
IPFamily | No | IPv4 | Description: Select IP Family to which Host belongs: IPv4 or IPv6. IPFamily confines to: Type is 'SCALAR'. Datatype is 'STRING'. Only '0', '1' are allowed.
HostType | Yes |  | Description: Select the type of Host: IP, Network, IP Range or IP List. HostType confines to: Type is 'SCALAR'. Datatype is 'STRING'. Only '1', '2', '3', '4', '9' are allowed.
IPAddress | Yes |  | Description: Specify IP Address based on the host type selected. IPAddress confines to: Type is 'SCALAR'. Datatype is 'IPADDRESS'. Maximum characters allowed are 15.
Subnet | No |  | Description: Specify Subnet address if the host type selected is 'Network'. Subnet confines to: Type is 'SCALAR'. Datatype is 'IPADDRESS'. Maximum characters allowed are 15.
StartIPAddress | Yes |  | Description: Specify the starting IP address of the IP Range if host type selected is 'IP Range'. StartIPAddress confines to: Type is 'SCALAR'. Datatype is 'IPADDRESS'. Maximum characters allowed are 15. IP Class other than 'LOCALHOST' is allowed.
EndIPAddress | Yes |  | Description: Specify the end IP address of the IP Range if host type selected is 'IP Range'. EndIPAddress confines to: Type is 'SCALAR'. Datatype is 'IPADDRESS'. Maximum characters allowed are 15. IP Class other than 'LOCALHOST' is allowed.
ListOfIPAddresses | Yes |  | Description: Specify the list of IP addresses. ListOfIPAddresses confines to: Type is 'CSV'. Datatype is 'IPADDRESS'. Comma separated values are allowed. Maximum characters allowed are 60. IP Class other than 'LOCALHOST', 'UNSPECIFIED' is allowed.
HostGroup | No |  | Description: Select the Host Group to which the Host belongs. HostGroup confines to: Type is 'ARRAY'. Datatype is 'STRING'. Comma (,) is not allowed. Maximum characters allowed are 60. UTF-8 character(s) are allowed. Multiple values are allowed.

Status Message Information :

Operation | Status | Message
--- | --- | ---
Edit IP Host | 200 |
Edit IP Host | 202 |
Edit IP Host | 500 |
Edit IP Host | 502 |
Edit IP Host | 503 |
Edit IP Host | 541 |
Add IP Host | 200 |
Add IP Host | 500 |
Add IP Host | 502 |
Add IP Host | 503 |

) Copyright 2015 Sophos Limited. All rights reserved.
Sophos is registered trademarks of Sophos Limited and Sophos Group. All other product and company names mentioned are trademarks or registered trademarks of their respective owners.No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise unless you are either a valid licensee where the documentation can be reproduced in accordance with the license terms or you otherwise have the prior permission in writing of the copyright owner.