Interface GraphTopology

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<GraphTopology>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<GraphData>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface GraphTopology
    extends org.opendaylight.yangtools.yang.binding.ChildOf<GraphData>, org.opendaylight.yangtools.yang.binding.Augmentable<GraphTopology>

    This class represents the following YANG schema fragment defined in module graph

     container graph-topology {
       list graph {
         key name;
         leaf name {
           type string;
         }
         leaf domain-scope {
           type enumeration {
             enum intra-domain {
               value 1;
             }
             enum inter-domain {
               value 2;
             }
           }
           default intra-domain;
         }
         leaf asn {
           type uint32;
         }
         list vertex {
           key vertex-id;
           uses vertex;
         }
         list edge {
           key edge-id;
           uses edge;
         }
         list prefix {
           key prefix;
           uses prefix;
         }
       }
     }
     
    The schema path to identify an instance is graph/graph-topology

    To create instances of this class use GraphTopologyBuilder.

    See Also:
    GraphTopologyBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable List<Graph> getGraph()
        Graph representation of the Network Topology
        Returns:
        java.util.List graph, or null if not present
      • nonnullGraph

        default @NonNull List<Graph> nonnullGraph()
        Returns:
        java.util.List graph, or an empty list if it is not present