Interface IpsecpolicyAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Ipsecpolicy
@Generated("mdsal-binding-generator") public interface IpsecpolicyAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-vpnaas
grouping ipsecpolicy-attributes { leaf transform-protocol { type string; } leaf encapsulation-mode { type string; } leaf auth-algorithm { type string; } leaf encryption-algorithm { type string; } leaf pfs { type string; } container lifetime { leaf units { type string; } leaf value { type int32; } } }
The schema path to identify an instance is neutron-vpnaas/ipsecpolicy-attributes
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getAuthAlgorithm()
Return authAlgorithm, ornull
if it is not present.String
getEncapsulationMode()
Return encapsulationMode, ornull
if it is not present.String
getEncryptionAlgorithm()
Return encryptionAlgorithm, ornull
if it is not present.Lifetime
getLifetime()
Return lifetime, ornull
if it is not present.String
getPfs()
Return pfs, ornull
if it is not present.String
getTransformProtocol()
Return transformProtocol, ornull
if it is not present.Class<? extends IpsecpolicyAttributes>
implementedInterface()
default @NonNull String
requireAuthAlgorithm()
Return authAlgorithm, guaranteed to be non-null.default @NonNull String
requireEncapsulationMode()
Return encapsulationMode, guaranteed to be non-null.default @NonNull String
requireEncryptionAlgorithm()
Return encryptionAlgorithm, guaranteed to be non-null.default @NonNull String
requirePfs()
Return pfs, guaranteed to be non-null.default @NonNull String
requireTransformProtocol()
Return transformProtocol, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends IpsecpolicyAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTransformProtocol
String getTransformProtocol()
Return transformProtocol, ornull
if it is not present.Transform protocol.
- Returns:
String
transformProtocol, ornull
if it is not present.
-
requireTransformProtocol
default @NonNull String requireTransformProtocol()
Return transformProtocol, guaranteed to be non-null.Transform protocol.
- Returns:
String
transformProtocol, guaranteed to be non-null.- Throws:
NoSuchElementException
- if transformProtocol is not present
-
getEncapsulationMode
String getEncapsulationMode()
Return encapsulationMode, ornull
if it is not present.Encapsulation mode
- Returns:
String
encapsulationMode, ornull
if it is not present.
-
requireEncapsulationMode
default @NonNull String requireEncapsulationMode()
Return encapsulationMode, guaranteed to be non-null.Encapsulation mode
- Returns:
String
encapsulationMode, guaranteed to be non-null.- Throws:
NoSuchElementException
- if encapsulationMode is not present
-
getAuthAlgorithm
String getAuthAlgorithm()
Return authAlgorithm, ornull
if it is not present.Authentication hash algorithm.
- Returns:
String
authAlgorithm, ornull
if it is not present.
-
requireAuthAlgorithm
default @NonNull String requireAuthAlgorithm()
Return authAlgorithm, guaranteed to be non-null.Authentication hash algorithm.
- Returns:
String
authAlgorithm, guaranteed to be non-null.- Throws:
NoSuchElementException
- if authAlgorithm is not present
-
getEncryptionAlgorithm
String getEncryptionAlgorithm()
Return encryptionAlgorithm, ornull
if it is not present.Encryption algorithm
- Returns:
String
encryptionAlgorithm, ornull
if it is not present.
-
requireEncryptionAlgorithm
default @NonNull String requireEncryptionAlgorithm()
Return encryptionAlgorithm, guaranteed to be non-null.Encryption algorithm
- Returns:
String
encryptionAlgorithm, guaranteed to be non-null.- Throws:
NoSuchElementException
- if encryptionAlgorithm is not present
-
getPfs
String getPfs()
Return pfs, ornull
if it is not present.Perfect Forward Secrecy
- Returns:
String
pfs, ornull
if it is not present.
-
requirePfs
default @NonNull String requirePfs()
Return pfs, guaranteed to be non-null.Perfect Forward Secrecy
- Returns:
String
pfs, guaranteed to be non-null.- Throws:
NoSuchElementException
- if pfs is not present
-
getLifetime
Lifetime getLifetime()
Return lifetime, ornull
if it is not present.Security Association Lifetime
- Returns:
Lifetime
lifetime, ornull
if it is not present.
-
-