use of org.batfish.datamodel.vendor_family.cisco.LoggingHost in project batfish by batfish.
the class CiscoControlPlaneExtractor method enterLogging_address.
@Override
public void enterLogging_address(Logging_addressContext ctx) {
if (_no) {
return;
}
Logging logging = _configuration.getCf().getLogging();
String hostname = ctx.hostname.getText();
LoggingHost host = new LoggingHost(hostname);
logging.getHosts().put(hostname, host);
}
use of org.batfish.datamodel.vendor_family.cisco.LoggingHost in project batfish by batfish.
the class CiscoControlPlaneExtractor method exitLogging_server.
@Override
public void exitLogging_server(Logging_serverContext ctx) {
if (_no) {
return;
}
Logging logging = _configuration.getCf().getLogging();
String hostname = ctx.hostname.getText();
LoggingHost host = new LoggingHost(hostname);
logging.getHosts().put(hostname, host);
}
use of org.batfish.datamodel.vendor_family.cisco.LoggingHost in project batfish by batfish.
the class CiscoControlPlaneExtractor method exitLogging_host.
@Override
public void exitLogging_host(Logging_hostContext ctx) {
if (_no) {
return;
}
Logging logging = _configuration.getCf().getLogging();
String hostname = ctx.hostname.getText();
LoggingHost host = new LoggingHost(hostname);
logging.getHosts().put(hostname, host);
}
Aggregations