func (a *redfishiDracVirtualMediaAccessDetails) NeedsMAC() bool {
	return true
}
NeedsMAC returns true when the host is going to need a separate
port created rather than having it discovered.
package bmc
import (
	"fmt"
	"net/url"
	metal3v1alpha1 "github.com/metal3-io/baremetal-operator/apis/metal3.io/v1alpha1"
)
func init() {
	schemes := []string{"http", "https"}
	RegisterFactory("idrac-virtualmedia", newRedfishiDracVirtualMediaAccessDetails, schemes)
}
func newRedfishiDracVirtualMediaAccessDetails(parsedURL *url.URL, disableCertificateVerification bool) (AccessDetails, error) {
	return &redfishiDracVirtualMediaAccessDetails{
		bmcType:                        parsedURL.Scheme,
		host:                           parsedURL.Host,
		path:                           parsedURL.Path,
		disableCertificateVerification: disableCertificateVerification,
	}, nil
}
type redfishiDracVirtualMediaAccessDetails struct {
	bmcType                        string
	host                           string
	path                           string
	disableCertificateVerification bool
}
func (a *redfishiDracVirtualMediaAccessDetails) Type() string {
	return a.bmcType
}