blob: 9102eac3ba4eb9162ae407520b010911a7ec9b02 [file] [log] [blame]
///////////////////////////////////////////////////////////////////////////////
// //
// Copyright (c) 2000-2019 Ericsson Telecom AB //
// //
// All rights reserved. This program and the accompanying materials //
// are made available under the terms of the Eclipse Public License v2.0 //
// which accompanies this distribution, and is available at //
// https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html //
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
// Module: EPTF_CLL_HostAdmin_BaseDefinitions
//
// Purpose:
// This module contains data type definitions for EPTF HostAdmin Base component.
//
// Module Parameters:
// -
//
// Current Owner:
// Gabor Tatarka (egbotat)
// Bence Molnar (ebenmol)
//
// Module depends on:
// <EPTF_CLL_Base_Definitions>
// <EPTF_CLL_Common_Definitions>
// <LOADMEASasp_PortType>
// <LOADMEASasp_Types>
//
// Last Review Date:
// 2008-02-14
//
// Detailed Comments:
//
///////////////////////////////////////////////////////////
module EPTF_CLL_HostAdmin_BaseDefinitions
{
//=========================================================================
// Imports
//=======================================================================
import from EPTF_CLL_Base_Definitions all;
import from EPTF_CLL_Common_Definitions all;
import from LOADMEASasp_PortType all;
import from LOADMEASasp_Types all;
//=========================================================================
// Component Types
//=========================================================================
/////////////////////////////////////////////////////////////////////////
//
// Component: EPTF_HostAdmin_Base_CT
//
// Purpose:
// Component type for EPTF_HostAdmin_Base
//
// Elements:
// v_EPTF_HostAdmin_Base_initialized - *boolean*
//
// v_EPTF_HostAdmin_testerHostLoad - *float* -load level of host
//
// v_EPTF_HostAdmin_numCPUs - *integer* - number of CPUs
// v_EPTF_HostAdmin_CPULoads - <EPTF_FloatList> - the load level of CPU
//
// v_EPTF_HostAdmin_physicalMemory - *integer* - physical Memory
// v_EPTF_HostAdmin_freeMemory - *integer* - the amount of free memory
//
// v_EPTF_HostAdmin_ASP_LOADMEAS - <ASP_LOADMEAS> - LOADMEASasp variable type
// v_EPTF_HostAdmin_CPUloadOnHost_PCO - <LOADMEASasp_PT> - LOADMESasp port type
//
// Detailed Comments:
// v_EPTf_HostAdmin_numCPUs and v_EPTF_HostAdmin_physicalMemory are constant
// throughout the lifetime of the component.
/////////////////////////////////////////////////////////////////////////
type component EPTF_HostAdmin_Base_CT extends EPTF_Base_CT
{
private var boolean v_EPTF_HostAdmin_Base_initialized := false;
public var float v_EPTF_HostAdmin_testerHostLoad := 0.0;
public var integer v_EPTF_HostAdmin_numCPUs := 0;
public var EPTF_FloatList v_EPTF_HostAdmin_CPULoads := {};
public var integer v_EPTF_HostAdmin_physicalMemory := 0;
public var integer v_EPTF_HostAdmin_freeMemory := 0;
private var ASP_LOADMEAS v_EPTF_HostAdmin_ASP_LOADMEAS;
private port LOADMEASasp_PT v_EPTF_HostAdmin_CPUloadOnHost_PCO;
}
} // module