APiImporter – IP Subnets

•IPv4 IP Network hierarchy

•IP Pool > IP Sub Net > IP Address

•IP Subnetworks describe an IP range

•File Structure:

CM_clip0531

 

•Subnets created and updated with properties by ApiImporter

•After Import in CM:

CM_clip0532

.Net-API – IP Subnets

IP Subnet is created with properties:

•Subnet (IP Range)

•IP Pool id (optional)

•Parent subnet Id (if any)

•Name (optional)

CM_clip0533

 

 

IP Pool cannot be updated later.

ApiImporter – IP Addresses – File Structure

IP Addresses

 

CM_clip0534

 

Read and updated with all other IP address properties

ApiImporter – IP Addresses

Before

CM_clip0535

After

CM_clip0536

.Net-API – IP Addresses with Ports

New property in class IpAddress
 

CM_clip0537

 

Is updated with IpAddress Details

Throws error if port id does not exist or if the port is already assigned to other IP Address

ApiImporter – Duct Lines – File Structure

•Duct Line is an ordered group of Ducts

•Cable Line is an ordered group of Cables

•Duct Line File Structure Example:
CM_clip0538

•46 = DuctLine, 45 = CableLine

•Duct Line Content File Structure

CM_clip0539

ApiImporter – Duct Lines in CM

•Created:

CM_clip0540

•With Content:

CM_clip0541

Net-API – Duct Lines

•New classes DuctLine.cs and CableLine.cs

•Behave identical except content

•Inherit from CompLine.cs

•Important properties (all readonly):

o        LocationIdA and LocationIdZ

o        ComponentIdA and ComponentIdZ

Additionally, all other known properties like description Owner, State, etc

Create with:

CM_clip0542

 

Net-API – Duct Lines - New Methods

Insert Content:

CM_clip0543

 

Read Content, get list of component ids:

CM_clip0544

 

Remove Content:

 

CM_clip0545