//---------------------------------------------------------------------------- // // Copyright (C) 2008 Intel Corporation // // File: RemoteAccessAdminFlow.h // // Contents: API code for Intel(R) Active Management Technology // (Intel� AMT) RemoteAccessAdmin Sample. // // Notes: This file contains the RemoteAccessAdminFlow methods. // //---------------------------------------------------------------------------- #ifndef REMOTE_ACCESS_ADMIN_FLOW_H #define REMOTE_ACCESS_ADMIN_FLOW_H #include #include "AMT_RemoteAccessPolicyRule.h" #include "AMT_RemoteAccessCredentialContext.h" #include "AMT_ManagementPresenceRemoteSAP.h" #include "AMT_MPSUsernamePassword.h" #include "AMT_RemoteAccessService.h" #include "AMT_UserInitiatedConnectionService.h" #include "CimWsman.h" using namespace Intel::WSManagement; using namespace Intel::Manageability::Cim::Typed; static const string AMT_COPYRITES_STRING = "Intel(r) AMT"; static const unsigned int RAS_POLICY_PERIODIC_INTERVAL = 0; static const unsigned int RAS_POLICY_PERIODIC_DAILY = 1; static const string triggerNames[4] = {"User Initiated", "Alert", "Periodic", "Home Provisioning"}; static const string enabledStateNames[17] = {"Unknown", "Other", "Enabled", "Disabled", "Shutting Down","Not Applicable", "Enabled but Offline", "In Test", "Deferred", "Quiesce", "Starting", "DMTF Reserved", "All Interfaces disabled", "BIOS Interface enabled", "OS Interface enabled", "BIOS and OS Interfaces enabled", "Vendor Reserved"}; // Main Methods void ManipulateMpServers(ICimWsmanClient* wsmanClient, bool verbose); void ManipulatRemoteAccessPolicies(ICimWsmanClient* wsmanClient, bool verbose); void ManipulateUserInterface(ICimWsmanClient* wsmanClient, bool verbose); void APITest(ICimWsmanClient* wsmanClient, bool verbose); void CleanupSample(ICimWsmanClient* wsmanClient, bool verbose); #endif //REMOTE_ACCESS_ADMIN_FLOW_H