Intel AMT Features > Storage Administration and Operations > Use Cases > Admin: Add a Partner Application FPACL Entry
CollapseAll image

Admin: Add a Partner Application FPACL Entry

Partner applications are those with an FPACL entry. Once the FPACL entry exists, the RegisterApplication operation with the given enterprise, vendor and name values will open a session for the partner application and use the Partner area of the 3PDS storage.

1.  Retrieve the instance of AMT_ThirdPartyDataStorageAdministrationService, where the “Name” key equals “Intel(r) AMT Third Party Data Storage Administration Service”.

2.  Invoke AMT_ThirdPartyDataStorageAdministrationService.AddStorageFpaclEntry to add the new partner application. Pass it the following values:

Parameter

Description/Value

AttrType

The Attribute Type: Should always be 1.

ApplicationName

The name of the application. 64 characters maximum.

Vendorname

The name of the vendor: 64 characters maximum.

IsPartner

Should always be true.

TotalAllocationSize

The total number of bytes that the application can use. This should be a multiple of 4KB.

3.  The method returns the FPACL handle as an output parameter. It can be used for subsequent operations on the FPACL entry.

 Note:

Only the vendor name and the application name are stored in the FPACL entry. The association with an enterprise is done the first time the application registers.

 

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

$thirdPartyDataStorageAdministrationServiceRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_ThirdPartyDataStorageAdministrationService WHERE Name='Intel(r) AMT Third Party Data Storage Administration Service'")

$inputObject =$thirdPartyDataStorageAdministrationServiceRef.CreateMethodInput("AddStorageFpaclEntry")

$inputObject.SetProperty("AttrType","1")

$inputObject.SetProperty("ApplicationName","SampleApp")

$inputObject.SetProperty("VendorName","VenIntel")

$inputObject.SetProperty("IsPartner","true")

$inputObject.SetProperty("TotalAllocationSize","49152")

$outputObject =$thirdPartyDataStorageAdministrationServiceRef.InvokeMethod($inputObject)

$returnValue =$outputObject.GetProperty("ReturnValue")

if($returnValue -like "0")

{

    $handle =$outputObject.GetProperty("Handle")

}

 

 

Instance Diagram

Not applicable

Classes Used in This Flow

SDK Sample

If there is a sample demonstrating this flow, it is included in the SDK installation file. See SDK Installation Layout for details.

 

See Also:

   Storage Concepts and Objects

   Application Development Guidelines

   Examples of Using the Storage Feature

Copyright © 2006-2022, Intel Corporation. All rights reserved.