Interface SystemNtpServerTop
- 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:
Ntp
@Generated("mdsal-binding-generator")
public interface SystemNtpServerTop
extends org.opendaylight.yangtools.yang.binding.DataObject
Top-level grouping for the list of NTP servers
This class represents the following YANG schema fragment defined in module openconfig-system
grouping system-ntp-server-top {
container servers {
list server {
key address;
leaf address {
type leafref {
path ../config/address;
}
}
container config {
uses system-ntp-server-config;
}
container state {
config false;
uses system-ntp-server-config;
uses system-ntp-server-state;
}
}
}
}
-
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 servers, ornullif it is not present.Class<? extends SystemNtpServerTop>@NonNull ServersReturn servers, or an empty instance if it is not present.
-
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 SystemNtpServerTop> 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
-
getServers
Servers getServers()Return servers, ornullif it is not present.Enclosing container for the list of NTP servers- Returns:
Serversservers, ornullif it is not present.
-
nonnullServers
@NonNull Servers nonnullServers()Return servers, or an empty instance if it is not present.- Returns:
Serversservers, or an empty instance if it is not present.
-