use of org.batfish.representation.cisco.CiscoConfiguration in project batfish by batfish.
the class CiscoControlPlaneExtractor method enterCisco_configuration.
@Override
public void enterCisco_configuration(Cisco_configurationContext ctx) {
_configuration = new CiscoConfiguration(_unimplementedFeatures);
_configuration.setVendor(_format);
_currentVrf = Configuration.DEFAULT_VRF_NAME;
if (_format == ConfigurationFormat.CISCO_IOS) {
Logging logging = new Logging();
logging.setOn(true);
_configuration.getCf().setLogging(logging);
}
}
Aggregations