Interface ApplyPolicyConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface ApplyPolicyConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for routing policiesThis class represents the following YANG schema fragment defined in module openconfig-routing-policy
grouping apply-policy-config { leaf-list import-policy { type leafref { path /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:name; } ordered-by user; } leaf default-import-policy { type default-policy-type; default REJECT-ROUTE; } leaf-list export-policy { type leafref { path /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:name; } ordered-by user; } leaf default-export-policy { type default-policy-type; default REJECT-ROUTE; } }
The schema path to identify an instance is openconfig-routing-policy/apply-policy-config
-
-
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 Modifier and Type Method Description DefaultPolicyType
getDefaultExportPolicy()
explicitly set a default policy if no policy definition in the export policy chain is satisfied.DefaultPolicyType
getDefaultImportPolicy()
explicitly set a default policy if no policy definition in the import policy chain is satisfied.@Nullable List<String>
getExportPolicy()
list of policy names in sequence to be applied on sending a routing update in the current context, e.g., for the current peer group, neighbor, address family, etc.@Nullable List<String>
getImportPolicy()
list of policy names in sequence to be applied on receiving a routing update in the current context, e.g., for the current peer group, neighbor, address family, etc.Class<? extends ApplyPolicyConfig>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends ApplyPolicyConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getImportPolicy
@Nullable List<String> getImportPolicy()
list of policy names in sequence to be applied on receiving a routing update in the current context, e.g., for the current peer group, neighbor, address family, etc.- Returns:
java.util.List
importPolicy
, ornull
if not present
-
getDefaultImportPolicy
DefaultPolicyType getDefaultImportPolicy()
explicitly set a default policy if no policy definition in the import policy chain is satisfied.- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.DefaultPolicyType
defaultImportPolicy
, ornull
if not present
-
getExportPolicy
@Nullable List<String> getExportPolicy()
list of policy names in sequence to be applied on sending a routing update in the current context, e.g., for the current peer group, neighbor, address family, etc.- Returns:
java.util.List
exportPolicy
, ornull
if not present
-
getDefaultExportPolicy
DefaultPolicyType getDefaultExportPolicy()
explicitly set a default policy if no policy definition in the export policy chain is satisfied.- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.DefaultPolicyType
defaultExportPolicy
, ornull
if not present
-
-