Class GatewayMacsecReference

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class GatewayMacsecReference
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    MACsec configuration information of a Direct Link gateway.
    • 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