Class GatewayMacsecReference
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.direct_link.v1.model.GatewayMacsecReference
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GatewayMacsecReference extends com.ibm.cloud.sdk.core.service.model.GenericModelMACsec configuration information of a Direct Link gateway.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGatewayMacsecReference.SecurityPolicyDetermines how packets without MACsec headers are handled.static interfaceGatewayMacsecReference.StatusCurrent status of MACsec on this direct link.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSecurityPolicy()Gets the securityPolicy.StringgetStatus()Gets the status.List<GatewayMacsecStatusReason>getStatusReasons()Gets the statusReasons.BooleanisActive()Gets the active.
-
-
-
Method Detail
-
isActive
public Boolean isActive()
Gets the active. Indicates if the MACsec feature is currently active (true) or inactive (false) for a gateway.- Returns:
- the active
-
getSecurityPolicy
public String getSecurityPolicy()
Gets the securityPolicy. Determines how packets without MACsec headers are handled. `must_secure` - Packets without MACsec headers are dropped. This policy should be used to prefer security over network availability. `should_secure` - Packets without MACsec headers are allowed. This policy should be used to prefer network availability over security.- Returns:
- the securityPolicy
-
getStatus
public String getStatus()
Gets the status. Current status of MACsec on this direct link. Status `offline` is returned when MACsec is inactive and during direct link creation. Status `deleting` is returned when MACsec during removal of MACsec from the direct link and during direct link deletion. See `status_reasons[]` for possible remediation of the `failed` `status`.- Returns:
- the status
-
getStatusReasons
public List<GatewayMacsecStatusReason> getStatusReasons()
Gets the statusReasons. Context for certain values of `status`.- Returns:
- the statusReasons
-
-