Search in sources :

Example 1 with Interface_idContext

use of org.batfish.grammar.flatjuniper.FlatJuniperParser.Interface_idContext in project batfish by batfish.

the class ConfigurationBuilder method exitSeikg_external_interface.

@Override
public void exitSeikg_external_interface(Seikg_external_interfaceContext ctx) {
    Interface_idContext interfaceId = ctx.interface_id();
    int line = ctx.interface_id().getStart().getLine();
    Interface iface = initInterface(interfaceId);
    _currentIkeGateway.setExternalInterface(iface);
    _currentIkeGateway.setExternalInterfaceLine(line);
}
Also used : Interface_idContext(org.batfish.grammar.flatjuniper.FlatJuniperParser.Interface_idContext) PsFromInterface(org.batfish.representation.juniper.PsFromInterface) Interface(org.batfish.representation.juniper.Interface)

Aggregations

Interface_idContext (org.batfish.grammar.flatjuniper.FlatJuniperParser.Interface_idContext)1 Interface (org.batfish.representation.juniper.Interface)1 PsFromInterface (org.batfish.representation.juniper.PsFromInterface)1