Search in sources :

Example 1 with CiscoConfiguration

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);
    }
}
Also used : Logging(org.batfish.datamodel.vendor_family.cisco.Logging) CiscoConfiguration(org.batfish.representation.cisco.CiscoConfiguration)

Aggregations

Logging (org.batfish.datamodel.vendor_family.cisco.Logging)1 CiscoConfiguration (org.batfish.representation.cisco.CiscoConfiguration)1