@Test public void basics() { PathIntent intent = createOne(); assertEquals("incorrect id", APPID, intent.appId()); assertEquals("incorrect match", MATCH, intent.selector()); assertEquals("incorrect action", NOP, intent.treatment()); assertEquals("incorrect path", PATH1, intent.path()); assertEquals("incorrect key", KEY, intent.key()); }
public Path path() { return path; }
PathIntent extends ConnectivityIntent { public Path path() { return path; } }
PathIntent extends ConnectivityIntent { public Path path() { return path; } protected  PathIntent(ApplicationId appId,
                         Key key,
                         TrafficSelector selector,
                         TrafficTreatment treatment,
                         Path path,
                         List<Constraint> constraints,
                         int priority); protected  PathIntent(); }
PathIntent extends ConnectivityIntent { public Path path() { return path; } protected  PathIntent(ApplicationId appId,
                         Key key,
                         TrafficSelector selector,
                         TrafficTreatment treatment,
                         Path path,
                         List<Constraint> constraints,
                         int priority); protected  PathIntent(); static Builder builder(); static void validate(List<Link> links); Path path(); @Override String toString(); }
PathIntent extends ConnectivityIntent { public Path path() { return path; } protected  PathIntent(ApplicationId appId,
                         Key key,
                         TrafficSelector selector,
                         TrafficTreatment treatment,
                         Path path,
                         List<Constraint> constraints,
                         int priority); protected  PathIntent(); static Builder builder(); static void validate(List<Link> links); Path path(); @Override String toString();  }