148 lines
6.6 KiB
Plaintext
148 lines
6.6 KiB
Plaintext
// Copyright (c) 2007-2018, Intel Corporation. All rights reserved.
|
|
[Version ( "5.0.0" ),
|
|
Description (
|
|
"Represents the Remote Access Service in the Intel(R) AMT subsystem."
|
|
)]
|
|
class AMT_RemoteAccessService : CIM_Service {
|
|
|
|
[Description (
|
|
"Reflects the connection status of the remote tunnel"
|
|
)]
|
|
bool IsRemoteTunnelConnected;
|
|
|
|
[Description (
|
|
"Reflects the keep-alive timeout value of the remote tunnel (in seconds)"
|
|
)]
|
|
uint32 RemoteTunnelKeepAliveTimeout;
|
|
|
|
[Description (
|
|
"Adds a Management Presence Server to the Intel(R) AMT "
|
|
"subsystem. Creates an AMT_ManagementPresenceRemoteSAP "
|
|
"instance and an AMT_RemoteAccessCredentialContext "
|
|
"association to a credential. This credential may be an "
|
|
"existing AMT_PublicKeyCertificate instance (if the "
|
|
"created MPS is configured to use mutual authentication). "
|
|
"If the created MpServer is configured to use username "
|
|
"password authentication, an AMT_MPSUsernamePassword "
|
|
"instance is created and used as the associated "
|
|
"credential." ),
|
|
ValueMap { "0", "1", "16", "23", "36", "38" },
|
|
Values { "PT_STATUS_SUCCESS", "PT_STATUS_INTERNAL_ERROR",
|
|
"PT_STATUS_NOT_PERMITTTED",
|
|
"PT_STATUS_MAX_LIMIT_REACHED",
|
|
"PT_STATUS_INVALID_PARAMETER",
|
|
"PT_STATUS_FLASH_WRITE_LIMIT_EXCEEDED" }]
|
|
uint32 AddMpServer(
|
|
[Required, IN, Description (
|
|
"A string holding the IP address or FQDN of the server"
|
|
),
|
|
MaxLen ( 256 )]
|
|
string AccessInfo,
|
|
[Required, IN, Description (
|
|
"An enumerated integer describing the format and "
|
|
"interpretation of the AccessInfo property." ),
|
|
ValueMap { "3", "4", "201" },
|
|
Values { "IPv4 Address", "IPv6 Address", "FQDN" }]
|
|
uint16 InfoFormat,
|
|
[Required, IN, Description (
|
|
"The port to be used to establish a tunnel with the MPS."
|
|
)]
|
|
uint16 Port,
|
|
[Required, IN, Description (
|
|
"Authentication method to be used when the Intel(R) "
|
|
"AMT subsystem opens a tunnel to the MpServer" ),
|
|
ValueMap { "1", "2" },
|
|
Values { "Mutual Authentication",
|
|
"Username Password Authentication" }]
|
|
uint32 AuthMethod,
|
|
[IN, Description (
|
|
"A reference to a certificate. Required if "
|
|
"AuthMethod is set to mutual authentication" )]
|
|
AMT_PublicKeyCertificate REF Certificate,
|
|
[IN, Description (
|
|
"A Username to be used for the connection with the "
|
|
"MPS if Username-Pwd authentication is used. Limited to "
|
|
"64 alphanumeric characters" )]
|
|
string Username,
|
|
[IN, Description (
|
|
"A Password to be used for the connection with the "
|
|
"MPS if Username-Pwd authentication is used. Limited to 64 "
|
|
"characters" )]
|
|
string Password,
|
|
[IN, Description (
|
|
"A common name used when AccessInfo is an IP address."
|
|
)]
|
|
string CN,
|
|
[OUT, Description (
|
|
"A reference to the created MPS if the operation succeeded."
|
|
)]
|
|
AMT_ManagementPresenceRemoteSAP REF MpServer);
|
|
|
|
[Description (
|
|
"Adds a Remote Access policy to the Intel(R) AMT "
|
|
"subsystem. The policy defines an event that will trigger "
|
|
"an establishment of a tunnel between AMT and a "
|
|
"pre-configured MPS. Creates an "
|
|
"AMT_RemoteAccessPolicyRule instance and associates it to "
|
|
"a given list of AMT_ManagementPresenceRemoteSAP "
|
|
"instances with AMT_PolicySetAppliesToElement association "
|
|
"instances." ),
|
|
ValueMap { "0", "1", "36", "38", "2058" },
|
|
Values { "PT_STATUS_SUCCESS", "PT_STATUS_INTERNAL_ERROR",
|
|
"PT_STATUS_INVALID_PARAMETER",
|
|
"PT_STATUS_FLASH_WRITE_LIMIT_EXCEEDED",
|
|
"PT_STATUS_DUPLICATE" }]
|
|
uint32 AddRemoteAccessPolicyRule(
|
|
[Required, IN, Description (
|
|
"The event that will trigger the establishment of "
|
|
"the remote connection to the MpServer." ),
|
|
ValueMap { "0", "1", "2", "3" },
|
|
Values { "User Initiated", "Alert", "Periodic",
|
|
"Home Provisioning" }]
|
|
uint16 Trigger,
|
|
[Required, IN, Description (
|
|
"Defines the tunnel\'s lifetime in seconds, 0 means "
|
|
"no lifetime- the tunnel should stay open until it "
|
|
"is closed by CloseRemoteAccessConnection or when a "
|
|
"different policy with higher priority needs to be "
|
|
"processed." )]
|
|
uint32 TunnelLifeTime,
|
|
[IN, Description (
|
|
"Data associated with the policy, up to 32 bytes. "
|
|
"The data should be in a network order. The "
|
|
"extended data for a policy with a periodic trigger "
|
|
"contains first a periodic type and after that the "
|
|
"data for that type. For periodic type 0 [Interval "
|
|
"- The CIRA connection will be established every "
|
|
"fixed number of seconds] - the data should include "
|
|
"a uint32 value that indicates the time period in "
|
|
"seconds between tunnel establishments. For "
|
|
"periodic type 1 [Daily - The CIRA connection will "
|
|
"be established every day in a specific pre-defined "
|
|
"time (hour and minutes)] - the data should include "
|
|
"two uint32 values which define the wanted hour of "
|
|
"the day and minutes of that hour. For the other "
|
|
"triggers extended data is not defined and not "
|
|
"needed. The length and data should be zero." ),
|
|
Octetstring]
|
|
uint8 ExtendedData[32],
|
|
[IN, Description (
|
|
"A list of MPSs the policy applies to. Maximum length is 2 MPSs." )]
|
|
AMT_ManagementPresenceRemoteSAP REF MpServer[],
|
|
[IN, Description (
|
|
"A list of Internal MPSs the policy applies to. Maximum length is 2 MPSs." )]
|
|
AMT_ManagementPresenceRemoteSAP REF InternalMpServer[],
|
|
[OUT, Description (
|
|
"A reference to the created policy if the operation succeeded."
|
|
)]
|
|
AMT_RemoteAccessPolicyRule REF PolicyRule);
|
|
|
|
[Description (
|
|
"Closes a remote access connection if one is opened." ),
|
|
ValueMap { "0", "2051" },
|
|
Values { "PT_STATUS_SUCCESS", "PT_STATUS_INVALID_COMMAND" }]
|
|
uint32 CloseRemoteAccessConnection(
|
|
);
|
|
|
|
};
|