Skip to content

Conversation

@ShradhaGupta31
Copy link

  • Modify rpc configure to support amt enable & disable features using SetAmtOperationalState HECI command
  • Added test files for enableamt.go & disableamt.go

addresses : #1002

@github-actions
Copy link

github-actions bot commented Jan 9, 2026

Unit tests (Go)

763 tests  +12   759 ✅ +8   3s ⏱️ ±0s
 20 suites ± 0     0 💤 ±0 
  1 files   ± 0     4 ❌ +4 

For more details on these failures, see this check.

Results for commit 7981cf8. ± Comparison against base commit 033be03.

- Modify rpc configure to support amt enable & disable features using SetAmtOperationalState
HECI command
- Added test files for enableamt.go & disableamt.go

addresses : #1002

Signed-off-by: ShradhaGupta31 <[email protected]>
@ShradhaGupta31
Copy link
Author

ShradhaGupta31 commented Jan 9, 2026

Functionality check(AMT 21.0.2)

$ sudo ./rpc-v1 amtinfo
time="2026-01-09T05:34:59Z" level=info msg="TLS is enforced on local ports"
Version : 21.0.2
Build Number : 1415
SKU : 16392
Features : AMT Pro Corporate
UUID : 19ee4f98-df59-4f58-ae19-59df984fee19
Control Mode : pre-provisioning state
Operational State : enabled
DNS Suffix :
DNS Suffix (OS) : localdomain6
Hostname (OS) : localhost
RAS Network : outside enterprise
RAS Remote Status : not connected
RAS Trigger : user initiated
RAS MPS Hostname :
---Wired Adapter---
DHCP Enabled : true
DHCP Mode : passive
Link Status : up
AMT IP Address : 0.0.0.0
OS IP Address : 10.49.96.100
MAC Address : 98:4f:ee:19:59:df
---Wireless Adapter---
DHCP Enabled : false
DHCP Mode : passive
Link Status : down
AMT IP Address : 0.0.0.0
OS IP Address : 0.0.0.0
MAC Address : 00:00:00:00:00:00

$ sudo ./rpc-v3 configure enable-amt
time="2026-01-09T05:43:11Z" level=info msg="TLS is enforced on local ports"
time="2026-01-09T05:43:11Z" level=info msg="Enabling AMT..."
time="2026-01-09T05:43:11Z" level=info msg="AMT is already enabled"

user@localhost:~/shradha$ sudo ./rpc-v3 configure disable-amt
time="2026-01-09T05:43:24Z" level=info msg="TLS is enforced on local ports"
time="2026-01-09T05:43:24Z" level=info msg="Disabling AMT..."
time="2026-01-09T05:43:24Z" level=warning msg="AMT transition may not be allowed in current state (response: 0xE2)"
time="2026-01-09T05:43:24Z" level=info msg="This typically means the device is not in unprovisioned state"
time="2026-01-09T05:43:24Z" level=info msg="Attempting to disable AMT anyway..."
time="2026-01-09T05:43:24Z" level=info msg="AMT disabled successfully"

$ sudo ./rpc-v3 amtinfo
time="2026-01-09T05:43:39Z" level=info msg="TLS is enforced on local ports"
Version : 21.0.2
Build Number : 1415
SKU : 16392
Features : AMT Pro Corporate
UUID : 19ee4f98-df59-4f58-ae19-59df984fee19
Control Mode : pre-provisioning state
Operational State : disabled
DNS Suffix :
DNS Suffix (OS) : localdomain6
Hostname (OS) : localhost
RAS Network : outside enterprise
RAS Remote Status : not connected
RAS Trigger : user initiated
RAS MPS Hostname :
---Wired Adapter---
DHCP Enabled : true
DHCP Mode : passive
Link Status : up
AMT IP Address : 0.0.0.0
OS IP Address : 10.49.96.100
MAC Address : 98:4f:ee:19:59:df
---Wireless Adapter---
DHCP Enabled : false
DHCP Mode : passive
Link Status : down
AMT IP Address : 0.0.0.0
OS IP Address : 0.0.0.0
MAC Address : 00:00:00:00:00:00

$ sudo ./rpc-v3 configure enable-amt
time="2026-01-09T05:44:18Z" level=info msg="TLS is enforced on local ports"
time="2026-01-09T05:44:18Z" level=info msg="Enabling AMT..."
time="2026-01-09T05:44:18Z" level=warning msg="AMT transition may not be allowed in current state (response: 0xE0)"
time="2026-01-09T05:44:18Z" level=info msg="This typically means the device is not in unprovisioned state"
time="2026-01-09T05:44:18Z" level=info msg="Attempting to enable AMT anyway..."
time="2026-01-09T05:44:18Z" level=error msg="Failed to enable AMT: error setting AMT operational state enabled: AMT_STATUS_NOT_PERMITTED"
time="2026-01-09T05:44:18Z" level=error msg="failed to enable AMT: error setting AMT operational state enabled: AMT_STATUS_NOT_PERMITTED"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant