Search in sources :

Example 1 with PsFromProtocol

use of org.batfish.representation.juniper.PsFromProtocol in project batfish by batfish.

the class ConfigurationBuilder method exitPopsf_protocol.

@Override
public void exitPopsf_protocol(Popsf_protocolContext ctx) {
    RoutingProtocol protocol = toRoutingProtocol(ctx.protocol);
    PsFromProtocol fromProtocol = new PsFromProtocol(protocol);
    _currentPsTerm.getFroms().add(fromProtocol);
}
Also used : RoutingProtocol(org.batfish.datamodel.RoutingProtocol) PsFromProtocol(org.batfish.representation.juniper.PsFromProtocol)

Aggregations

RoutingProtocol (org.batfish.datamodel.RoutingProtocol)1 PsFromProtocol (org.batfish.representation.juniper.PsFromProtocol)1