Interface TableConnection

  • All Superinterfaces:
    ApplyPolicyGroup, org.opendaylight.yangtools.yang.binding.Augmentable<TableConnection>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<TableConnections>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<TableConnectionKey>

    public interface TableConnection
    extends org.opendaylight.yangtools.yang.binding.ChildOf<TableConnections>, org.opendaylight.yangtools.yang.binding.Augmentable<TableConnection>, ApplyPolicyGroup, org.opendaylight.yangtools.yang.binding.Identifiable<TableConnectionKey>
    A list of connections between pairs of routing or forwarding tables, the of entries between which is specified by the import and export policy

    This class represents the following YANG schema fragment defined in module openconfig-network-instance

     list table-connection {
       key "src-table dst-table";
       leaf src-table {
         type leafref {
           path ../config/src-table;
         }
       }
       leaf dst-table {
         type leafref {
           path ../config/dst-table;
         }
       }
       container config {
         uses inter-table-policies-config;
       }
       container state {
         config false;
         uses inter-table-policies-config;
       }
       uses rpol:apply-policy-group;
     }
     
    The schema path to identify an instance is openconfig-network-instance/network-instance-top/network-instances/network-instance/table-connections/table-connection

    To create instances of this class use TableConnectionBuilder.

    See Also:
    TableConnectionBuilder, TableConnectionKey
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<TableConnection> implementedInterface()
        Specified by:
        implementedInterface in interface ApplyPolicyGroup
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getSrcTable

        @Nullable String getSrcTable()
        The name of the table which should be utilised as the source of forwarding or routing information
        Returns:
        java.lang.String srcTable, or null if not present
      • getDstTable

        @Nullable String getDstTable()
        The table to which routing entries should be exported
        Returns:
        java.lang.String dstTable, or null if not present
      • getConfig

        @Nullable Config getConfig()
        Configuration parameters relating to the connection between tables
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.network.instance.rev151018.network.instance.top.network.instances.network.instance.table.connections.table.connection.Config config, or null if not present
      • getState

        @Nullable State getState()
        State parameters relating to the connection between tables
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.network.instance.rev151018.network.instance.top.network.instances.network.instance.table.connections.table.connection.State state, or null if not present