Search in sources :

Example 1 with IsisLevel

use of org.batfish.datamodel.IsisLevel in project batfish by batfish.

the class SetIsisLevel method execute.

@Override
public Result execute(Environment environment) {
    Result result = new Result();
    IsisLevel level = _level.evaluate(environment);
    IsisRoute.Builder isisRouteBuilder = (IsisRoute.Builder) environment.getOutputRoute();
    isisRouteBuilder.setLevel(level);
    return result;
}
Also used : IsisLevel(org.batfish.datamodel.IsisLevel) IsisRoute(org.batfish.datamodel.IsisRoute) Result(org.batfish.datamodel.routing_policy.Result)

Aggregations

IsisLevel (org.batfish.datamodel.IsisLevel)1 IsisRoute (org.batfish.datamodel.IsisRoute)1 Result (org.batfish.datamodel.routing_policy.Result)1