Search in sources :

Example 1 with DomainConstraint

use of org.onosproject.net.intent.constraint.DomainConstraint in project onos by opennetworkinglab.

the class ConstraintCodecTest method domainConstraint.

/**
 * Tests domain constraint.
 */
@Test
public void domainConstraint() {
    Constraint constraint = getConstraint("DomainConstraint.json");
    assertThat(constraint, instanceOf(DomainConstraint.class));
}
Also used : DomainConstraint(org.onosproject.net.intent.constraint.DomainConstraint) WaypointConstraint(org.onosproject.net.intent.constraint.WaypointConstraint) AsymmetricPathConstraint(org.onosproject.net.intent.constraint.AsymmetricPathConstraint) DomainConstraint(org.onosproject.net.intent.constraint.DomainConstraint) MeteredConstraint(org.onosproject.net.intent.constraint.MeteredConstraint) ObstacleConstraint(org.onosproject.net.intent.constraint.ObstacleConstraint) Constraint(org.onosproject.net.intent.Constraint) TierConstraint(org.onosproject.net.intent.constraint.TierConstraint) AnnotationConstraint(org.onosproject.net.intent.constraint.AnnotationConstraint) BandwidthConstraint(org.onosproject.net.intent.constraint.BandwidthConstraint) LatencyConstraint(org.onosproject.net.intent.constraint.LatencyConstraint) LinkTypeConstraint(org.onosproject.net.intent.constraint.LinkTypeConstraint) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 Constraint (org.onosproject.net.intent.Constraint)1 AnnotationConstraint (org.onosproject.net.intent.constraint.AnnotationConstraint)1 AsymmetricPathConstraint (org.onosproject.net.intent.constraint.AsymmetricPathConstraint)1 BandwidthConstraint (org.onosproject.net.intent.constraint.BandwidthConstraint)1 DomainConstraint (org.onosproject.net.intent.constraint.DomainConstraint)1 LatencyConstraint (org.onosproject.net.intent.constraint.LatencyConstraint)1 LinkTypeConstraint (org.onosproject.net.intent.constraint.LinkTypeConstraint)1 MeteredConstraint (org.onosproject.net.intent.constraint.MeteredConstraint)1 ObstacleConstraint (org.onosproject.net.intent.constraint.ObstacleConstraint)1 TierConstraint (org.onosproject.net.intent.constraint.TierConstraint)1 WaypointConstraint (org.onosproject.net.intent.constraint.WaypointConstraint)1