ieee8021x

package
v2.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package ieee8021x facilitates communication with Intel® AMT devices and specifies a set of IEEE 802.1x Port-Based Network Access Control settings that can be applied to a ISO OSI layer 2 ProtocolEndpoint.

Index

Constants

View Source
const CIMIEEE8021xSettings string = "CIM_IEEE8021xSettings"

Variables

This section is empty.

Functions

This section is empty.

Types

type Body

type Body struct {
	XMLName           xml.Name `xml:"Body"`
	EnumerateResponse common.EnumerateResponse
	PullResponse      PullResponse `xml:"PullResponse"`
	GetResponse       IEEE8021xSettingsResponse
}

Response Types.

type IEEE8021xSettingsRequest

type IEEE8021xSettingsRequest struct {
	H             string   `xml:"xmlns:w,attr"`
	XMLName       xml.Name `xml:"CIM_IEEE8021xSettings"`
	ElementName   string   `xml:"w:ElementName"`   // The user-friendly name for this instance of SettingData.
	InstanceID    string   `xml:"w:InstanceID"`    // Within the scope of the instantiating Namespace, InstanceID opaquely and uniquely identifies an instance of this class.
	Enabled       int      `xml:"w:Enabled"`       // Indicates whether the 802.1x profile is enabled.
	AvailableInS0 bool     `xml:"w:AvailableInS0"` // Indicates the activity setting of the 802.1X module in S0 state.
	PxeTimeout    int      `xml:"w:PxeTimeout"`    // Timeout in seconds, in which the Intel(R) AMT will hold an authenticated 802.1X session.
}

type IEEE8021xSettingsResponse

type IEEE8021xSettingsResponse struct {
	XMLName                         xml.Name `xml:"CIM_IEEE8021xSettings"`
	ElementName                     string   `xml:"ElementName"`
	InstanceID                      string   `xml:"InstanceID"`
	AuthenticationProtocol          int      `xml:"AuthenticationProtocol"`
	RoamingIdentity                 string   `XML:"RoamingIdentity"`
	ServerCertificateName           string   `xml:"ServerCertificateName"`
	ServerCertificateNameComparison int      `xml:"ServerCertificateNameComparison"`
	Username                        string   `xml:"Username"`
	Password                        string   `xml:"Password"`
	Domain                          string   `xml:"Domain"`
	ProtectedAccessCredential       string   `xml:"ProtectedAccessCredential"`
	PACPassword                     string   `xml:"PACPassword"`
	PSK                             string   `xml:"PSK"`
}

Response Types.

type PullResponse

type PullResponse struct {
	XMLName                xml.Name                    `xml:"PullResponse"`
	IEEE8021xSettingsItems []IEEE8021xSettingsResponse `xml:"Items>CIM_IEEE8021xSettings"`
}

Response Types.

type Response

type Response struct {
	*client.Message
	XMLName xml.Name       `xml:"Envelope"`
	Header  message.Header `xml:"Header"`
	Body    Body           `xml:"Body"`
}

Response Types.

func (*Response) JSON

func (r *Response) JSON() string

JSON marshals the type into JSON format.

func (*Response) YAML

func (r *Response) YAML() string

YAML marshals the type into YAML format.

type Settings

type Settings struct {
	// contains filtered or unexported fields
}

func NewIEEE8021xSettingsWithClient

func NewIEEE8021xSettingsWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) Settings

NewIEEE8021xSettings returns a new instance of the IEEE8021xSettings struct.

func (Settings) Enumerate

func (settings Settings) Enumerate() (response Response, err error)

Enumerate returns an enumeration context which is used in a subsequent Pull call.

func (Settings) Pull

func (settings Settings) Pull(enumerationContext string) (response Response, err error)

Pull returns the instances of this class. An enumeration context provided by the Enumerate call is used as input.

type Time

type Time struct {
	DateTime string `xml:"Datetime"`
}

Response Types.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL