You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been hacking a lot of the code in this project:
moving some stuff around
making it more customizable,
making it more usable to different AMT Classes (CIM_, IPS_ and AMT_* -- matching the different namespace to the appropriate classes),
using requests.session instead of requests.post all over the place,
and making the requests code allow you to ignore certificate warnings, etc in SSL Mode (if you need to)
Lastly, I wondered if we want to keep the code Python 2 compatible or not (hopefully not considering its not really supported anymore).
A lot of the changes I've made likely aren't Python 2 compatible, but I wonder if Python2 compatability should really be a thing anymore or not.... However, I don't even have a test system with Python 2 anymore.
P.S. Thanks for showing me the auth and get methods, as that got me started on the "Enumeration"s.
Here's an example of the code reduced to a simple python script:
import getpass
import amt.client
import amt.wsman
if 'mypass' not in locals().keys() or not mypass:
# I rerun this a lot and likely have set my password in a previous running
mypass = getpass.getpass()
client = amt.client.Client('somepc.somedomain.local', mypass, vncpasswd=mypass, protocol="https", verify_ssl=False, disable_ssl_warnings=True)
class_name = 'CIM_ComputerSystem'
rows = client.enumerate(class_name)
@smanross, just to let you known there's a more-up-to-date fork of this project at https://github.com/nomis/intel-amt (but at this point I'm afraid that both are more-or-less inactive).
Howdy,
I wanted to learn a bit more about the SOAP protocol, and possibly contribute to the project.
I've been working with Intel vPro PCs (AMT V12), not the NUCs.
I've been able to get an "enumerate request" working, and just wanted to know if it's worth putting in the pull request to the project or not.
Similar to runnung this winrm code on a windows command line:
I've been hacking a lot of the code in this project:
Lastly, I wondered if we want to keep the code Python 2 compatible or not (hopefully not considering its not really supported anymore).
A lot of the changes I've made likely aren't Python 2 compatible, but I wonder if Python2 compatability should really be a thing anymore or not.... However, I don't even have a test system with Python 2 anymore.
P.S. Thanks for showing me the auth and get methods, as that got me started on the "Enumeration"s.
Here's an example of the code reduced to a simple python script:
output:
Please and Thank You,
Steven
The text was updated successfully, but these errors were encountered: