/*****
 ***
 * @(#)HP OpenView Release B.0X.XX (will be replaced by copy_proot)
 * @(#)Copyright (c) 1990-199X Hewlett-Packard Company (updated by copy_proot)
 *
 * L2Nets discovery cut/paste
 * SR: 5003389650
 * HPUX_10_0:	@(#) PATCH PHSS_13342, 971124
 * HPUX_9_0:	@(#) PATCH PHSS_13341, 971124
 * SUNOS5:	@(#) PATCH PSOV_01848, 971124
 *
 *  top_fields -- defines fields specific to the topology manager, ovtopmd.
 ***
 *****/

/*****
 ***
 *	Count fields -- The global object contains all of these, networks
 *	contain segment and interface counts, nodes and segments contain 
 *	interface counts.
 ***
 *****/

Field "TopM Station Count" {
	Type	Integer32;
}

Field "TopM Network Count" {
	Type	Integer32;
}

Field "TopM Segment Count" {
	Type	Integer32;
}

Field "TopM Node Count" {
	Type	Integer32;
}

Field "TopM Connector Count" {
	Type	Integer32;
}

Field "TopM Interface Count" {
	Type	Integer32;
}

Field "TopM Gateway Count" {
	Type	Integer32;
}

/*****
 ***
 * 	Object IDS -- These provide references to other objects.  For example,
 *	a segment will reference what network it is contained in.
 ***
 *****/

Field "TopM Network ID" {
	Type	Integer32;
}

Field "TopM Segment ID" {
	Type	Integer32;
}

Field "TopM Node ID" {
	Type	Integer32;
}

/*****
 ***
 *	Network Specific Information.
 *	The default segment ID is the ovw object ID of the segment where
 *	interfaces are attached when we have no better guess.
 ***
 *****/

Field "TopM Default Seg ID" {
	Type	Integer32;
}

Field "isL2Net" {
	Type	Boolean;
	Flags	capability, locate;
}


/*****
 ***
 *	Node specific information
 *
 *	The Interface list is use purely to provide a convenient summary 
 *	in the UI.  Interface information is generally better gotten via
 *	the interface specific fields (mostly defined in ip_fields).
 *
 *	The isMcClusterMember capability will be set for any node that
 *	netmon determines to be a member of some type of HP-UX MC
 *	cluster (for example: an MC Service Guard cluster).
 ***
 *****/

Field "TopM Interface List" {
	Type	StringType;
	Flags	list;
}

Field "isMcClusterMember" {
	Type	Boolean;
	Flags	capability, locate;
}

Field "isCollectionStationNode" {
	Type	Boolean;
	Flags	capability, locate;
}

/*****
 ***
 *	Station specific information
 *
 * 	Collection stations are remote nodes that are acting as managers,
 *	and from which is being used to provide consolidated information
 *	to the local management station.
 *
 *	TopM Station <field> -- various fields describing station information.
 *
 *	TopM Status Interval -- interval specifying how often the collection
 *	station is checked for status.
 *
 *	isCollectionStation -- True for object representing management systems
 *	acting as collection stations for this management station.  Note that
 *	this is applied to the station object, which is a different object
 *	than the node object where the station software executes.
 *
 *	isLocalStation -- True for the station object representing the
 *	local collection station.
 ***
 *****/

Field "TopM Station Name" {
	Type	StringType;
	Flags	name;
}

Field "TopM Station Type" {
	Type	Enumeration;
	Flags	capability;
	Enumeration 	"Unset",
			"OV Network Node Manager",
			"OV Node Manager For Workgroups",
			"OV Network Node Manager for Windows/NT";
}

Field "TopM Station Description" {
	Type	StringType;
}

Field "TopM Overlap Mode" {
	Type	Enumeration;
	Enumeration 	"Allow Overlap",
			"Delete Secondary",
			"Unmanage Secondary";
}

Field "TopM Status Interval" {
	Type	StringType;
}

Field "isCollectionStation" {
	Type	Boolean;
	Flags	capability;
}

Field "isLocalStation" {
	Type	Boolean;
	Flags	capability;
}

Field "TopM License Expiration" {
	Type	StringType;
}

Field "TopM Licensed Nodes" {
	Type	Integer32;
}

Field "TopM Licensed Connectors" {
	Type	Integer32;
}

Field "TopM Managed Nodes" {
	Type	Integer32;
}
