Interface SystemNtpState
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
State
@Generated("mdsal-binding-generator")
public interface SystemNtpState
extends org.opendaylight.yangtools.yang.binding.DataObject
Operational state data for system-wide NTP operation.
This class represents the following YANG schema fragment defined in module openconfig-system
grouping system-ntp-state {
leaf auth-mismatch {
type oc-yang:counter64;
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn authMismatch, ornullif it is not present.Class<? extends SystemNtpState>default @NonNull Counter64Return authMismatch, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends SystemNtpState> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAuthMismatch
Counter64 getAuthMismatch()Return authMismatch, ornullif it is not present.Count of the number of NTP packets received that were not processed due to authentication mismatch.- Returns:
Counter64authMismatch, ornullif it is not present.
-
requireAuthMismatch
Return authMismatch, guaranteed to be non-null.Count of the number of NTP packets received that were not processed due to authentication mismatch.- Returns:
Counter64authMismatch, guaranteed to be non-null.- Throws:
NoSuchElementException- if authMismatch is not present
-