Search in sources :

Example 46 with BatfishException

use of org.batfish.common.BatfishException in project batfish by batfish.

the class CiscoControlPlaneExtractor method enterIp_community_list_expanded_stanza.

@Override
public void enterIp_community_list_expanded_stanza(Ip_community_list_expanded_stanzaContext ctx) {
    String name;
    int definitionLine;
    if (ctx.num != null) {
        name = ctx.num.getText();
        definitionLine = ctx.num.getLine();
    } else if (ctx.name != null) {
        name = ctx.name.getText();
        definitionLine = ctx.name.getStart().getLine();
    } else {
        throw new BatfishException("Invalid community-list name");
    }
    _currentExpandedCommunityList = _configuration.getExpandedCommunityLists().computeIfAbsent(name, n -> new ExpandedCommunityList(n, definitionLine));
}
Also used : BgpProcess(org.batfish.representation.cisco.BgpProcess) AsPathSet(org.batfish.representation.cisco.AsPathSet) If_mtuContext(org.batfish.grammar.cisco.CiscoParser.If_mtuContext) Ntp_serverContext(org.batfish.grammar.cisco.CiscoParser.Ntp_serverContext) Aaa_accountingContext(org.batfish.grammar.cisco.CiscoParser.Aaa_accountingContext) Inherit_peer_policy_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Inherit_peer_policy_bgp_tailContext) TunnelMode(org.batfish.representation.cisco.Tunnel.TunnelMode) Peer_sa_filterContext(org.batfish.grammar.cisco.CiscoParser.Peer_sa_filterContext) Ike_encryptionContext(org.batfish.grammar.cisco.CiscoParser.Ike_encryptionContext) RouteMapSetAsPathPrependLine(org.batfish.representation.cisco.RouteMapSetAsPathPrependLine) RangeContext(org.batfish.grammar.cisco.CiscoParser.RangeContext) Match_tag_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Match_tag_rm_stanzaContext) SshSettings(org.batfish.datamodel.vendor_family.cisco.SshSettings) Aaa(org.batfish.datamodel.vendor_family.cisco.Aaa) Ipv6BgpPeerGroup(org.batfish.representation.cisco.Ipv6BgpPeerGroup) T_source_interfaceContext(org.batfish.grammar.cisco.CiscoParser.T_source_interfaceContext) VarIsisLevel(org.batfish.datamodel.routing_policy.expr.VarIsisLevel) Hash_commentContext(org.batfish.grammar.cisco.CiscoParser.Hash_commentContext) Ssc_access_controlContext(org.batfish.grammar.cisco.CiscoParser.Ssc_access_controlContext) Cipt_modeContext(org.batfish.grammar.cisco.CiscoParser.Cipt_modeContext) RouteMapMatchAsPathAccessListLine(org.batfish.representation.cisco.RouteMapMatchAsPathAccessListLine) Cip_profileContext(org.batfish.grammar.cisco.CiscoParser.Cip_profileContext) Rp_community_set_elemContext(org.batfish.grammar.cisco.CiscoParser.Rp_community_set_elemContext) ConfigurationFormat(org.batfish.datamodel.ConfigurationFormat) Standard_access_list_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Standard_access_list_stanzaContext) Interface_nameContext(org.batfish.grammar.cisco.CiscoParser.Interface_nameContext) S_l2tp_classContext(org.batfish.grammar.cisco.CiscoParser.S_l2tp_classContext) As_path_set_stanzaContext(org.batfish.grammar.cisco.CiscoParser.As_path_set_stanzaContext) SwitchportMode(org.batfish.datamodel.SwitchportMode) MacAccessList(org.batfish.representation.cisco.MacAccessList) Router_isis_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Router_isis_stanzaContext) RoutePolicyPrefixSetName(org.batfish.representation.cisco.RoutePolicyPrefixSetName) CommunitySetElemHalfExpr(org.batfish.datamodel.routing_policy.expr.CommunitySetElemHalfExpr) Cable(org.batfish.datamodel.vendor_family.cisco.Cable) Ifvrrp_preemptContext(org.batfish.grammar.cisco.CiscoParser.Ifvrrp_preemptContext) Roa_interfaceContext(org.batfish.grammar.cisco.CiscoParser.Roa_interfaceContext) State(org.batfish.datamodel.State) VrrpInterface(org.batfish.representation.cisco.VrrpInterface) Dh_groupContext(org.batfish.grammar.cisco.CiscoParser.Dh_groupContext) Prefix_set_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Prefix_set_stanzaContext) Set_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_rp_stanzaContext) Access_list_ip6_rangeContext(org.batfish.grammar.cisco.CiscoParser.Access_list_ip6_rangeContext) Ip_dhcp_relay_serverContext(org.batfish.grammar.cisco.CiscoParser.Ip_dhcp_relay_serverContext) Iftunnel_protectionContext(org.batfish.grammar.cisco.CiscoParser.Iftunnel_protectionContext) RoutePolicyCommunitySetInline(org.batfish.representation.cisco.RoutePolicyCommunitySetInline) Neighbor_block_inheritContext(org.batfish.grammar.cisco.CiscoParser.Neighbor_block_inheritContext) VrrpGroup(org.batfish.representation.cisco.VrrpGroup) LiteralLong(org.batfish.datamodel.routing_policy.expr.LiteralLong) TcpFlags(org.batfish.datamodel.TcpFlags) Rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Rp_stanzaContext) Aaa_accounting_default_localContext(org.batfish.grammar.cisco.CiscoParser.Aaa_accounting_default_localContext) If_switchport_trunk_encapsulationContext(org.batfish.grammar.cisco.CiscoParser.If_switchport_trunk_encapsulationContext) RouteMapSetCommunityNoneLine(org.batfish.representation.cisco.RouteMapSetCommunityNoneLine) SnmpServer(org.batfish.datamodel.SnmpServer) RoutePolicyNextHopSelf(org.batfish.representation.cisco.RoutePolicyNextHopSelf) Interface_is_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Interface_is_stanzaContext) Ifvrrp_priorityContext(org.batfish.grammar.cisco.CiscoParser.Ifvrrp_priorityContext) No_shutdown_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.No_shutdown_rb_stanzaContext) Cqer_service_classContext(org.batfish.grammar.cisco.CiscoParser.Cqer_service_classContext) RouteMapSetCommunityLine(org.batfish.representation.cisco.RouteMapSetCommunityLine) Roa_rangeContext(org.batfish.grammar.cisco.CiscoParser.Roa_rangeContext) Ip_as_path_access_list_tailContext(org.batfish.grammar.cisco.CiscoParser.Ip_as_path_access_list_tailContext) ParseTreeWalker(org.antlr.v4.runtime.tree.ParseTreeWalker) RouteMapSetDeleteCommunityLine(org.batfish.representation.cisco.RouteMapSetDeleteCommunityLine) Cispol_hashContext(org.batfish.grammar.cisco.CiscoParser.Cispol_hashContext) Ifvrrp_ipContext(org.batfish.grammar.cisco.CiscoParser.Ifvrrp_ipContext) RouteMapSetLocalPreferenceLine(org.batfish.representation.cisco.RouteMapSetLocalPreferenceLine) BgpRedistributionPolicy(org.batfish.representation.cisco.BgpRedistributionPolicy) If_ip_helper_addressContext(org.batfish.grammar.cisco.CiscoParser.If_ip_helper_addressContext) AaaAuthentication(org.batfish.datamodel.vendor_family.cisco.AaaAuthentication) RoutePolicyBooleanTagIs(org.batfish.representation.cisco.RoutePolicyBooleanTagIs) Boolean_med_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_med_rp_stanzaContext) Continue_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Continue_rm_stanzaContext) Set_med_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_med_rp_stanzaContext) TreeMap(java.util.TreeMap) AaaAuthenticationLogin(org.batfish.datamodel.vendor_family.cisco.AaaAuthenticationLogin) Compare_routerid_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Compare_routerid_rb_stanzaContext) VarLong(org.batfish.datamodel.routing_policy.expr.VarLong) BgpAggregateIpv6Network(org.batfish.representation.cisco.BgpAggregateIpv6Network) IsisProcess(org.batfish.representation.cisco.IsisProcess) Domain_lookupContext(org.batfish.grammar.cisco.CiscoParser.Domain_lookupContext) Ro_rfc1583_compatibilityContext(org.batfish.grammar.cisco.CiscoParser.Ro_rfc1583_compatibilityContext) OriginExpr(org.batfish.datamodel.routing_policy.expr.OriginExpr) SortedSet(java.util.SortedSet) If_ip_igmpContext(org.batfish.grammar.cisco.CiscoParser.If_ip_igmpContext) Viafv_priorityContext(org.batfish.grammar.cisco.CiscoParser.Viafv_priorityContext) Passive_interface_is_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Passive_interface_is_stanzaContext) S_ip_default_gatewayContext(org.batfish.grammar.cisco.CiscoParser.S_ip_default_gatewayContext) RoutePolicyBooleanAsPathOriginatesFrom(org.batfish.representation.cisco.RoutePolicyBooleanAsPathOriginatesFrom) RoutePolicyBooleanAsPathPassesThrough(org.batfish.representation.cisco.RoutePolicyBooleanAsPathPassesThrough) SnmpCommunity(org.batfish.datamodel.SnmpCommunity) Ipsec_encryptionContext(org.batfish.grammar.cisco.CiscoParser.Ipsec_encryptionContext) InterfaceAddress(org.batfish.datamodel.InterfaceAddress) S_loggingContext(org.batfish.grammar.cisco.CiscoParser.S_loggingContext) PrefixListLine(org.batfish.representation.cisco.PrefixListLine) Ip6Wildcard(org.batfish.datamodel.Ip6Wildcard) L2tpClass(org.batfish.datamodel.vendor_family.cisco.L2tpClass) Ssh_access_groupContext(org.batfish.grammar.cisco.CiscoParser.Ssh_access_groupContext) Isis_level_exprContext(org.batfish.grammar.cisco.CiscoParser.Isis_level_exprContext) Origin_expr_literalContext(org.batfish.grammar.cisco.CiscoParser.Origin_expr_literalContext) S_spanning_treeContext(org.batfish.grammar.cisco.CiscoParser.S_spanning_treeContext) If_ip_router_ospf_areaContext(org.batfish.grammar.cisco.CiscoParser.If_ip_router_ospf_areaContext) DecrementLocalPreference(org.batfish.datamodel.routing_policy.expr.DecrementLocalPreference) NamedPort(org.batfish.datamodel.NamedPort) As_path_set_exprContext(org.batfish.grammar.cisco.CiscoParser.As_path_set_exprContext) Ip_community_list_expanded_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Ip_community_list_expanded_stanzaContext) Apply_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Apply_rp_stanzaContext) IsisLevel(org.batfish.datamodel.IsisLevel) BgpNetwork(org.batfish.representation.cisco.BgpNetwork) Collectors(java.util.stream.Collectors) OriginType(org.batfish.datamodel.OriginType) RoutePolicyCommunitySetName(org.batfish.representation.cisco.RoutePolicyCommunitySetName) CommunityContext(org.batfish.grammar.cisco.CiscoParser.CommunityContext) Match_ipv6_prefix_list_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Match_ipv6_prefix_list_rm_stanzaContext) U_roleContext(org.batfish.grammar.cisco.CiscoParser.U_roleContext) Redistribute_connected_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Redistribute_connected_bgp_tailContext) Rp_isis_metric_typeContext(org.batfish.grammar.cisco.CiscoParser.Rp_isis_metric_typeContext) L_login_authenticationContext(org.batfish.grammar.cisco.CiscoParser.L_login_authenticationContext) Cispol_encryptionContext(org.batfish.grammar.cisco.CiscoParser.Cispol_encryptionContext) IpBgpPeerGroup(org.batfish.representation.cisco.IpBgpPeerGroup) Ss_trap_sourceContext(org.batfish.grammar.cisco.CiscoParser.Ss_trap_sourceContext) OspfMetricType(org.batfish.datamodel.OspfMetricType) Boolean_and_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_and_rp_stanzaContext) Match_as_path_access_list_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Match_as_path_access_list_rm_stanzaContext) CiscoSourceNat(org.batfish.representation.cisco.CiscoSourceNat) Logging_trapContext(org.batfish.grammar.cisco.CiscoParser.Logging_trapContext) Roi_passiveContext(org.batfish.grammar.cisco.CiscoParser.Roi_passiveContext) Use_neighbor_group_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Use_neighbor_group_bgp_tailContext) Standard_ipv6_access_list_tailContext(org.batfish.grammar.cisco.CiscoParser.Standard_ipv6_access_list_tailContext) RoutePolicySetMed(org.batfish.representation.cisco.RoutePolicySetMed) Switching_mode_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Switching_mode_stanzaContext) Crypto_keyringContext(org.batfish.grammar.cisco.CiscoParser.Crypto_keyringContext) Set_community_none_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_community_none_rm_stanzaContext) IpsecProfile(org.batfish.representation.cisco.IpsecProfile) Rp_metric_typeContext(org.batfish.grammar.cisco.CiscoParser.Rp_metric_typeContext) Sntp(org.batfish.datamodel.vendor_family.cisco.Sntp) ExtendedIpv6AccessListLine(org.batfish.representation.cisco.ExtendedIpv6AccessListLine) Ip_community_list_expanded_tailContext(org.batfish.grammar.cisco.CiscoParser.Ip_community_list_expanded_tailContext) Peer_group_assignment_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Peer_group_assignment_rb_stanzaContext) Remove_private_as_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Remove_private_as_bgp_tailContext) If_switchport_trunk_allowedContext(org.batfish.grammar.cisco.CiscoParser.If_switchport_trunk_allowedContext) Ip_ssh_versionContext(org.batfish.grammar.cisco.CiscoParser.Ip_ssh_versionContext) Cispol_encrContext(org.batfish.grammar.cisco.CiscoParser.Cispol_encrContext) Spanning_tree_portfastContext(org.batfish.grammar.cisco.CiscoParser.Spanning_tree_portfastContext) ImmutableList(com.google.common.collect.ImmutableList) Net_is_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Net_is_stanzaContext) U_passwordContext(org.batfish.grammar.cisco.CiscoParser.U_passwordContext) RoutePolicyBooleanAsPathIn(org.batfish.representation.cisco.RoutePolicyBooleanAsPathIn) RoutePolicyBooleanRouteTypeIs(org.batfish.representation.cisco.RoutePolicyBooleanRouteTypeIs) Configuration(org.batfish.datamodel.Configuration) AaaAuthenticationLoginList(org.batfish.datamodel.vendor_family.cisco.AaaAuthenticationLoginList) RoutePolicyBooleanNextHopIn(org.batfish.representation.cisco.RoutePolicyBooleanNextHopIn) RoutePolicyNextHopPeerAddress(org.batfish.representation.cisco.RoutePolicyNextHopPeerAddress) Ipv6_prefix_list_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Ipv6_prefix_list_stanzaContext) RouteMapMatchCommunityListLine(org.batfish.representation.cisco.RouteMapMatchCommunityListLine) Default_originate_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Default_originate_bgp_tailContext) Pim_rp_candidateContext(org.batfish.grammar.cisco.CiscoParser.Pim_rp_candidateContext) Boolean_community_matches_every_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_community_matches_every_rp_stanzaContext) If_switchport_modeContext(org.batfish.grammar.cisco.CiscoParser.If_switchport_modeContext) Dt_protect_tunnelContext(org.batfish.grammar.cisco.CiscoParser.Dt_protect_tunnelContext) RoutePolicySetCommunity(org.batfish.representation.cisco.RoutePolicySetCommunity) Ckr_pskContext(org.batfish.grammar.cisco.CiscoParser.Ckr_pskContext) Logging_hostContext(org.batfish.grammar.cisco.CiscoParser.Logging_hostContext) Maximum_paths_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Maximum_paths_bgp_tailContext) Prefix_list_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Prefix_list_bgp_tailContext) S_ip_pimContext(org.batfish.grammar.cisco.CiscoParser.S_ip_pimContext) Ip_prefix_list_tailContext(org.batfish.grammar.cisco.CiscoParser.Ip_prefix_list_tailContext) Redistribute_ospfv3_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Redistribute_ospfv3_bgp_tailContext) No_neighbor_shutdown_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.No_neighbor_shutdown_rb_stanzaContext) Logging_consoleContext(org.batfish.grammar.cisco.CiscoParser.Logging_consoleContext) S_domain_nameContext(org.batfish.grammar.cisco.CiscoParser.S_domain_nameContext) Ss_file_transferContext(org.batfish.grammar.cisco.CiscoParser.Ss_file_transferContext) IsisRedistributionPolicy(org.batfish.representation.cisco.IsisRedistributionPolicy) S_interfaceContext(org.batfish.grammar.cisco.CiscoParser.S_interfaceContext) Rp_route_typeContext(org.batfish.grammar.cisco.CiscoParser.Rp_route_typeContext) Sd_switchport_shutdownContext(org.batfish.grammar.cisco.CiscoParser.Sd_switchport_shutdownContext) No_redistribute_connected_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.No_redistribute_connected_rb_stanzaContext) Ckr_local_addressContext(org.batfish.grammar.cisco.CiscoParser.Ckr_local_addressContext) S_snmp_serverContext(org.batfish.grammar.cisco.CiscoParser.S_snmp_serverContext) RoutePolicySetOrigin(org.batfish.representation.cisco.RoutePolicySetOrigin) Passive_interface_default_is_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Passive_interface_default_is_stanzaContext) Isis_levelContext(org.batfish.grammar.cisco.CiscoParser.Isis_levelContext) Set_local_preference_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_local_preference_rm_stanzaContext) IsisLevelExpr(org.batfish.datamodel.routing_policy.expr.IsisLevelExpr) Cis_profileContext(org.batfish.grammar.cisco.CiscoParser.Cis_profileContext) Pim_rp_addressContext(org.batfish.grammar.cisco.CiscoParser.Pim_rp_addressContext) DocsisPolicy(org.batfish.datamodel.vendor_family.cisco.DocsisPolicy) Cntlrrfc_depi_tunnelContext(org.batfish.grammar.cisco.CiscoParser.Cntlrrfc_depi_tunnelContext) Rs_vrfContext(org.batfish.grammar.cisco.CiscoParser.Rs_vrfContext) T_serverContext(org.batfish.grammar.cisco.CiscoParser.T_serverContext) IsoAddress(org.batfish.datamodel.IsoAddress) Aaa_new_modelContext(org.batfish.grammar.cisco.CiscoParser.Aaa_new_modelContext) Bgp_confederation_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Bgp_confederation_rb_stanzaContext) Redistribute_static_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Redistribute_static_bgp_tailContext) If_ip_inband_access_groupContext(org.batfish.grammar.cisco.CiscoParser.If_ip_inband_access_groupContext) Auto_summary_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Auto_summary_bgp_tailContext) Pim_send_rp_announceContext(org.batfish.grammar.cisco.CiscoParser.Pim_send_rp_announceContext) Logging(org.batfish.datamodel.vendor_family.cisco.Logging) Boolean_rib_has_route_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_rib_has_route_rp_stanzaContext) RoutePolicyComment(org.batfish.representation.cisco.RoutePolicyComment) AaaAccountingDefault(org.batfish.datamodel.vendor_family.cisco.AaaAccountingDefault) Ip_hostnameContext(org.batfish.grammar.cisco.CiscoParser.Ip_hostnameContext) Dt_l2tp_classContext(org.batfish.grammar.cisco.CiscoParser.Dt_l2tp_classContext) RoutePolicyDispositionType(org.batfish.representation.cisco.RoutePolicyDispositionType) TerminalNode(org.antlr.v4.runtime.tree.TerminalNode) RipProcess(org.batfish.representation.cisco.RipProcess) AsPathSetExpr(org.batfish.datamodel.routing_policy.expr.AsPathSetExpr) Extended_access_list_tailContext(org.batfish.grammar.cisco.CiscoParser.Extended_access_list_tailContext) Maximum_peers_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Maximum_peers_bgp_tailContext) AaaAccountingCommands(org.batfish.datamodel.vendor_family.cisco.AaaAccountingCommands) MasterBgpPeerGroup(org.batfish.representation.cisco.MasterBgpPeerGroup) Ro_redistribute_ripContext(org.batfish.grammar.cisco.CiscoParser.Ro_redistribute_ripContext) Standard_ipv6_access_list_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Standard_ipv6_access_list_stanzaContext) IpAsPathAccessList(org.batfish.representation.cisco.IpAsPathAccessList) Ntp_source_interfaceContext(org.batfish.grammar.cisco.CiscoParser.Ntp_source_interfaceContext) NamedAsPathSet(org.batfish.datamodel.routing_policy.expr.NamedAsPathSet) Ntp(org.batfish.datamodel.vendor_family.cisco.Ntp) Boolean_not_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_not_rp_stanzaContext) Pim_accept_registerContext(org.batfish.grammar.cisco.CiscoParser.Pim_accept_registerContext) RoutePolicyStatement(org.batfish.representation.cisco.RoutePolicyStatement) Ip_domain_nameContext(org.batfish.grammar.cisco.CiscoParser.Ip_domain_nameContext) Ip_nat_poolContext(org.batfish.grammar.cisco.CiscoParser.Ip_nat_poolContext) AsExpr(org.batfish.datamodel.routing_policy.expr.AsExpr) LiteralInt(org.batfish.datamodel.routing_policy.expr.LiteralInt) Ssc_use_ipv4_aclContext(org.batfish.grammar.cisco.CiscoParser.Ssc_use_ipv4_aclContext) TreeSet(java.util.TreeSet) ArrayList(java.util.ArrayList) Pim_spt_thresholdContext(org.batfish.grammar.cisco.CiscoParser.Pim_spt_thresholdContext) Distribute_list_is_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Distribute_list_is_stanzaContext) Banner_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Banner_stanzaContext) If_ip_verifyContext(org.batfish.grammar.cisco.CiscoParser.If_ip_verifyContext) SubrangeContext(org.batfish.grammar.cisco.CiscoParser.SubrangeContext) Cs_classContext(org.batfish.grammar.cisco.CiscoParser.Cs_classContext) Access_list_actionContext(org.batfish.grammar.cisco.CiscoParser.Access_list_actionContext) S_lineContext(org.batfish.grammar.cisco.CiscoParser.S_lineContext) LinkedHashSet(java.util.LinkedHashSet) RouteType(org.batfish.datamodel.routing_policy.expr.RouteType) Boolean_tag_is_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_tag_is_rp_stanzaContext) Disposition_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Disposition_rp_stanzaContext) S_serviceContext(org.batfish.grammar.cisco.CiscoParser.S_serviceContext) Router_bgp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Router_bgp_stanzaContext) Cis_policyContext(org.batfish.grammar.cisco.CiscoParser.Cis_policyContext) No_neighbor_activate_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.No_neighbor_activate_rb_stanzaContext) S_depi_classContext(org.batfish.grammar.cisco.CiscoParser.S_depi_classContext) Shutdown_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Shutdown_bgp_tailContext) ExpandedCommunityListLine(org.batfish.representation.cisco.ExpandedCommunityListLine) Logging_serverContext(org.batfish.grammar.cisco.CiscoParser.Logging_serverContext) IkeAuthenticationAlgorithm(org.batfish.datamodel.IkeAuthenticationAlgorithm) Boolean_next_hop_in_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_next_hop_in_rp_stanzaContext) Ts_hostContext(org.batfish.grammar.cisco.CiscoParser.Ts_hostContext) Logging_source_interfaceContext(org.batfish.grammar.cisco.CiscoParser.Logging_source_interfaceContext) BgpTieBreaker(org.batfish.datamodel.BgpTieBreaker) RoutePolicyDeleteCommunityStatement(org.batfish.representation.cisco.RoutePolicyDeleteCommunityStatement) If_st_portfastContext(org.batfish.grammar.cisco.CiscoParser.If_st_portfastContext) Cadant_stdacl_nameContext(org.batfish.grammar.cisco.CiscoParser.Cadant_stdacl_nameContext) S_usernameContext(org.batfish.grammar.cisco.CiscoParser.S_usernameContext) RouteMapMatchIpv6AccessListLine(org.batfish.representation.cisco.RouteMapMatchIpv6AccessListLine) LongExpr(org.batfish.datamodel.routing_policy.expr.LongExpr) Ro_networkContext(org.batfish.grammar.cisco.CiscoParser.Ro_networkContext) Rr_passive_interfaceContext(org.batfish.grammar.cisco.CiscoParser.Rr_passive_interfaceContext) RouteMapMatchIpAccessListLine(org.batfish.representation.cisco.RouteMapMatchIpAccessListLine) Ip_community_list_standard_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Ip_community_list_standard_stanzaContext) IpProtocol(org.batfish.datamodel.IpProtocol) Vrf_block_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Vrf_block_rb_stanzaContext) CiscoStructureType(org.batfish.representation.cisco.CiscoStructureType) If_vrf_memberContext(org.batfish.grammar.cisco.CiscoParser.If_vrf_memberContext) Set_next_hop_peer_address_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_next_hop_peer_address_stanzaContext) RegexAsPathSetElem(org.batfish.datamodel.routing_policy.expr.RegexAsPathSetElem) Cispol_lifetimeContext(org.batfish.grammar.cisco.CiscoParser.Cispol_lifetimeContext) S_hostnameContext(org.batfish.grammar.cisco.CiscoParser.S_hostnameContext) RoutePolicySetLocalPref(org.batfish.representation.cisco.RoutePolicySetLocalPref) Extended_access_list_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Extended_access_list_stanzaContext) Next_hop_self_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Next_hop_self_bgp_tailContext) RoutePolicyElseIfBlock(org.batfish.representation.cisco.RoutePolicyElseIfBlock) VarRouteType(org.batfish.datamodel.routing_policy.expr.VarRouteType) Boolean_as_path_is_local_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_as_path_is_local_rp_stanzaContext) Extended_ipv6_access_list_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Extended_ipv6_access_list_stanzaContext) If_ip_ospf_costContext(org.batfish.grammar.cisco.CiscoParser.If_ip_ospf_costContext) Ip_community_list_standard_tailContext(org.batfish.grammar.cisco.CiscoParser.Ip_community_list_standard_tailContext) If_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.If_rp_stanzaContext) If_switchport_trunk_nativeContext(org.batfish.grammar.cisco.CiscoParser.If_switchport_trunk_nativeContext) Cmm_access_groupContext(org.batfish.grammar.cisco.CiscoParser.Cmm_access_groupContext) Iftunnel_sourceContext(org.batfish.grammar.cisco.CiscoParser.Iftunnel_sourceContext) WellKnownCommunity(org.batfish.common.WellKnownCommunity) Template_peer_session_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Template_peer_session_rb_stanzaContext) CiscoStructureUsage(org.batfish.representation.cisco.CiscoStructureUsage) Prefix6ListLine(org.batfish.representation.cisco.Prefix6ListLine) Boolean_destination_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_destination_rp_stanzaContext) Viafv_preemptContext(org.batfish.grammar.cisco.CiscoParser.Viafv_preemptContext) IkeAuthenticationMethod(org.batfish.datamodel.IkeAuthenticationMethod) Rr_passive_interface_defaultContext(org.batfish.grammar.cisco.CiscoParser.Rr_passive_interface_defaultContext) Redistribute_aggregate_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Redistribute_aggregate_bgp_tailContext) Ip_route_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Ip_route_stanzaContext) Ro_area_nssaContext(org.batfish.grammar.cisco.CiscoParser.Ro_area_nssaContext) Set_community_list_additive_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_community_list_additive_rm_stanzaContext) Boolean_as_path_in_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_as_path_in_rp_stanzaContext) Match_ipv6_access_list_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Match_ipv6_access_list_rm_stanzaContext) Ss_communityContext(org.batfish.grammar.cisco.CiscoParser.Ss_communityContext) If_ip_policyContext(org.batfish.grammar.cisco.CiscoParser.If_ip_policyContext) If_ip_access_groupContext(org.batfish.grammar.cisco.CiscoParser.If_ip_access_groupContext) If_autostateContext(org.batfish.grammar.cisco.CiscoParser.If_autostateContext) Ro_redistribute_connectedContext(org.batfish.grammar.cisco.CiscoParser.Ro_redistribute_connectedContext) List(java.util.List) Warnings(org.batfish.common.Warnings) Prefix_set_elemContext(org.batfish.grammar.cisco.CiscoParser.Prefix_set_elemContext) RoutePolicyBoolean(org.batfish.representation.cisco.RoutePolicyBoolean) Prepend_as_path_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Prepend_as_path_rp_stanzaContext) SortedMap(java.util.SortedMap) IpWildcard(org.batfish.datamodel.IpWildcard) If_ip_ospf_dead_interval_minimalContext(org.batfish.grammar.cisco.CiscoParser.If_ip_ospf_dead_interval_minimalContext) Neighbor_flat_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Neighbor_flat_rb_stanzaContext) RoutePolicyBooleanAnd(org.batfish.representation.cisco.RoutePolicyBooleanAnd) S_sntpContext(org.batfish.grammar.cisco.CiscoParser.S_sntpContext) S_vrf_contextContext(org.batfish.grammar.cisco.CiscoParser.S_vrf_contextContext) IsakmpProfile(org.batfish.representation.cisco.IsakmpProfile) RoutePolicyBooleanMed(org.batfish.representation.cisco.RoutePolicyBooleanMed) LiteralOrigin(org.batfish.datamodel.routing_policy.expr.LiteralOrigin) DepiTunnel(org.batfish.datamodel.vendor_family.cisco.DepiTunnel) ProtocolContext(org.batfish.grammar.cisco.CiscoParser.ProtocolContext) LoggingType(org.batfish.datamodel.vendor_family.cisco.LoggingType) Management_telnet_ip_access_groupContext(org.batfish.grammar.cisco.CiscoParser.Management_telnet_ip_access_groupContext) S_featureContext(org.batfish.grammar.cisco.CiscoParser.S_featureContext) StandardCommunityList(org.batfish.representation.cisco.StandardCommunityList) Clbdg_docsis_policyContext(org.batfish.grammar.cisco.CiscoParser.Clbdg_docsis_policyContext) Neighbor_group_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Neighbor_group_rb_stanzaContext) Ro_default_metricContext(org.batfish.grammar.cisco.CiscoParser.Ro_default_metricContext) Standard_access_list_tailContext(org.batfish.grammar.cisco.CiscoParser.Standard_access_list_tailContext) Allowas_in_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Allowas_in_bgp_tailContext) RouteMapMatchIpPrefixListLine(org.batfish.representation.cisco.RouteMapMatchIpPrefixListLine) VarAs(org.batfish.datamodel.routing_policy.expr.VarAs) Port_specifierContext(org.batfish.grammar.cisco.CiscoParser.Port_specifierContext) RouteMapMatchIpv6PrefixListLine(org.batfish.representation.cisco.RouteMapMatchIpv6PrefixListLine) Ro_vrfContext(org.batfish.grammar.cisco.CiscoParser.Ro_vrfContext) Dscp_typeContext(org.batfish.grammar.cisco.CiscoParser.Dscp_typeContext) Suppressed_iis_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Suppressed_iis_stanzaContext) RoutePolicyBooleanCommunityMatchesAny(org.batfish.representation.cisco.RoutePolicyBooleanCommunityMatchesAny) DynamicIpv6BgpPeerGroup(org.batfish.representation.cisco.DynamicIpv6BgpPeerGroup) Ntp_access_groupContext(org.batfish.grammar.cisco.CiscoParser.Ntp_access_groupContext) LiteralIsisLevel(org.batfish.datamodel.routing_policy.expr.LiteralIsisLevel) RoutePolicyPrependAsPath(org.batfish.representation.cisco.RoutePolicyPrependAsPath) Iftunnel_destinationContext(org.batfish.grammar.cisco.CiscoParser.Iftunnel_destinationContext) Route_policy_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Route_policy_stanzaContext) StandardAccessList(org.batfish.representation.cisco.StandardAccessList) If_bandwidthContext(org.batfish.grammar.cisco.CiscoParser.If_bandwidthContext) Ifigmp_access_groupContext(org.batfish.grammar.cisco.CiscoParser.Ifigmp_access_groupContext) StandardAccessListLine(org.batfish.representation.cisco.StandardAccessListLine) Set_level_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_level_rp_stanzaContext) RouteMapSetAdditiveCommunityLine(org.batfish.representation.cisco.RouteMapSetAdditiveCommunityLine) Ro_areaContext(org.batfish.grammar.cisco.CiscoParser.Ro_areaContext) ExplicitAsPathSet(org.batfish.datamodel.routing_policy.expr.ExplicitAsPathSet) If_ip_nat_destinationContext(org.batfish.grammar.cisco.CiscoParser.If_ip_nat_destinationContext) Ifdhcpr_addressContext(org.batfish.grammar.cisco.CiscoParser.Ifdhcpr_addressContext) Aaa_authentication_login_privilege_modeContext(org.batfish.grammar.cisco.CiscoParser.Aaa_authentication_login_privilege_modeContext) Set_metric_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_metric_rm_stanzaContext) Enable_secretContext(org.batfish.grammar.cisco.CiscoParser.Enable_secretContext) If_ip_vrf_forwardingContext(org.batfish.grammar.cisco.CiscoParser.If_ip_vrf_forwardingContext) Set_weight_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_weight_rp_stanzaContext) RoutePolicySetOspfMetricType(org.batfish.representation.cisco.RoutePolicySetOspfMetricType) Redistribute_connected_is_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Redistribute_connected_is_stanzaContext) Ro_passive_interface_defaultContext(org.batfish.grammar.cisco.CiscoParser.Ro_passive_interface_defaultContext) Address_family_headerContext(org.batfish.grammar.cisco.CiscoParser.Address_family_headerContext) Send_community_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Send_community_bgp_tailContext) PrefixList(org.batfish.representation.cisco.PrefixList) DocsisPolicyRule(org.batfish.datamodel.vendor_family.cisco.DocsisPolicyRule) RoutePolicyBooleanCommunityMatchesEvery(org.batfish.representation.cisco.RoutePolicyBooleanCommunityMatchesEvery) S_ip_tacacs_source_interfaceContext(org.batfish.grammar.cisco.CiscoParser.S_ip_tacacs_source_interfaceContext) Switchport_trunk_encapsulationContext(org.batfish.grammar.cisco.CiscoParser.Switchport_trunk_encapsulationContext) Aaa_authentication_loginContext(org.batfish.grammar.cisco.CiscoParser.Aaa_authentication_loginContext) Route_reflector_client_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Route_reflector_client_bgp_tailContext) Viaf_vrrpContext(org.batfish.grammar.cisco.CiscoParser.Viaf_vrrpContext) Ro_router_idContext(org.batfish.grammar.cisco.CiscoParser.Ro_router_idContext) S_no_access_list_standardContext(org.batfish.grammar.cisco.CiscoParser.S_no_access_list_standardContext) Ro_auto_costContext(org.batfish.grammar.cisco.CiscoParser.Ro_auto_costContext) Map(java.util.Map) Interface(org.batfish.representation.cisco.Interface) Default_metric_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Default_metric_bgp_tailContext) RouteTypeExpr(org.batfish.datamodel.routing_policy.expr.RouteTypeExpr) Sntp_serverContext(org.batfish.grammar.cisco.CiscoParser.Sntp_serverContext) EnumSet(java.util.EnumSet) No_route_map_stanzaContext(org.batfish.grammar.cisco.CiscoParser.No_route_map_stanzaContext) Match_community_list_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Match_community_list_rm_stanzaContext) Set_local_preference_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_local_preference_rp_stanzaContext) Keyring(org.batfish.representation.cisco.Keyring) BgpPeerGroup(org.batfish.representation.cisco.BgpPeerGroup) IntExpr(org.batfish.datamodel.routing_policy.expr.IntExpr) Ebgp_multihop_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Ebgp_multihop_bgp_tailContext) If_switchportContext(org.batfish.grammar.cisco.CiscoParser.If_switchportContext) Passive_iis_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Passive_iis_stanzaContext) VariableContext(org.batfish.grammar.cisco.CiscoParser.VariableContext) Set_as_path_prepend_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_as_path_prepend_rm_stanzaContext) SntpServer(org.batfish.datamodel.vendor_family.cisco.SntpServer) Boolean_as_path_neighbor_is_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_as_path_neighbor_is_rp_stanzaContext) ExplicitAs(org.batfish.datamodel.routing_policy.expr.ExplicitAs) RoutePolicy(org.batfish.representation.cisco.RoutePolicy) Access_list_ip_rangeContext(org.batfish.grammar.cisco.CiscoParser.Access_list_ip_rangeContext) Cisco_configurationContext(org.batfish.grammar.cisco.CiscoParser.Cisco_configurationContext) RouteMapSetAdditiveCommunityListLine(org.batfish.representation.cisco.RouteMapSetAdditiveCommunityListLine) RoutePolicyBooleanLocalPreference(org.batfish.representation.cisco.RoutePolicyBooleanLocalPreference) SubRangeExpr(org.batfish.datamodel.routing_policy.expr.SubRangeExpr) StaticRoute(org.batfish.representation.cisco.StaticRoute) Extended_ipv6_access_list_tailContext(org.batfish.grammar.cisco.CiscoParser.Extended_ipv6_access_list_tailContext) Flan_interfaceContext(org.batfish.grammar.cisco.CiscoParser.Flan_interfaceContext) Set_community_list_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_community_list_rm_stanzaContext) Set_comm_list_delete_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_comm_list_delete_rm_stanzaContext) BgpNetwork6(org.batfish.representation.cisco.BgpNetwork6) RoutePolicyDeleteAllStatement(org.batfish.representation.cisco.RoutePolicyDeleteAllStatement) Redistribute_ospf_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Redistribute_ospf_bgp_tailContext) Vrrp_interfaceContext(org.batfish.grammar.cisco.CiscoParser.Vrrp_interfaceContext) RoutePolicyBooleanApply(org.batfish.representation.cisco.RoutePolicyBooleanApply) VarInt(org.batfish.datamodel.routing_policy.expr.VarInt) Ifvrrp_authenticationContext(org.batfish.grammar.cisco.CiscoParser.Ifvrrp_authenticationContext) Redistribute_rip_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Redistribute_rip_bgp_tailContext) Cipprf_set_transform_setContext(org.batfish.grammar.cisco.CiscoParser.Cipprf_set_transform_setContext) RouteMap(org.batfish.representation.cisco.RouteMap) LineAction(org.batfish.datamodel.LineAction) RouteMapContinue(org.batfish.representation.cisco.RouteMapContinue) RoutePolicyNextHop(org.batfish.representation.cisco.RoutePolicyNextHop) S_no_access_list_extendedContext(org.batfish.grammar.cisco.CiscoParser.S_no_access_list_extendedContext) IgpCost(org.batfish.datamodel.routing_policy.expr.IgpCost) Remote_as_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Remote_as_bgp_tailContext) RouteMapMatchTagLine(org.batfish.representation.cisco.RouteMapMatchTagLine) ImmutableSortedSet(com.google.common.collect.ImmutableSortedSet) IcmpCode(org.batfish.datamodel.IcmpCode) DiffieHellmanGroup(org.batfish.datamodel.DiffieHellmanGroup) Iftunnel_modeContext(org.batfish.grammar.cisco.CiscoParser.Iftunnel_modeContext) Standard_access_list_additional_featureContext(org.batfish.grammar.cisco.CiscoParser.Standard_access_list_additional_featureContext) Route(org.batfish.datamodel.Route) AaaAccounting(org.batfish.datamodel.vendor_family.cisco.AaaAccounting) RoutePolicyCommunitySet(org.batfish.representation.cisco.RoutePolicyCommunitySet) Extended_access_list_additional_featureContext(org.batfish.grammar.cisco.CiscoParser.Extended_access_list_additional_featureContext) Match_source_protocol_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Match_source_protocol_rm_stanzaContext) NtpServer(org.batfish.datamodel.vendor_family.cisco.NtpServer) Ro_passive_interfaceContext(org.batfish.grammar.cisco.CiscoParser.Ro_passive_interfaceContext) Set_origin_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_origin_rp_stanzaContext) RouteMapClause(org.batfish.representation.cisco.RouteMapClause) Redistribute_static_is_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Redistribute_static_is_stanzaContext) Elseif_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Elseif_rp_stanzaContext) Description_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Description_bgp_tailContext) Aaa_accounting_default_groupContext(org.batfish.grammar.cisco.CiscoParser.Aaa_accounting_default_groupContext) Aaa_accounting_commands_lineContext(org.batfish.grammar.cisco.CiscoParser.Aaa_accounting_commands_lineContext) Local_as_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Local_as_bgp_tailContext) If_ip_nat_sourceContext(org.batfish.grammar.cisco.CiscoParser.If_ip_nat_sourceContext) Router_id_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Router_id_bgp_tailContext) Template_peer_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Template_peer_rb_stanzaContext) Variable_access_listContext(org.batfish.grammar.cisco.CiscoParser.Variable_access_listContext) Viafv_addressContext(org.batfish.grammar.cisco.CiscoParser.Viafv_addressContext) S_ip_name_serverContext(org.batfish.grammar.cisco.CiscoParser.S_ip_name_serverContext) IncrementMetric(org.batfish.datamodel.routing_policy.expr.IncrementMetric) ExtendedIpv6AccessList(org.batfish.representation.cisco.ExtendedIpv6AccessList) Ipsec_authenticationContext(org.batfish.grammar.cisco.CiscoParser.Ipsec_authenticationContext) RoutePolicyBooleanAsPathIsLocal(org.batfish.representation.cisco.RoutePolicyBooleanAsPathIsLocal) As_exprContext(org.batfish.grammar.cisco.CiscoParser.As_exprContext) Wccp_idContext(org.batfish.grammar.cisco.CiscoParser.Wccp_idContext) Clb_ruleContext(org.batfish.grammar.cisco.CiscoParser.Clb_ruleContext) RouteMapSetCommunityListLine(org.batfish.representation.cisco.RouteMapSetCommunityListLine) RoutePolicyBooleanOr(org.batfish.representation.cisco.RoutePolicyBooleanOr) Additional_paths_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Additional_paths_rb_stanzaContext) As_path_set_inlineContext(org.batfish.grammar.cisco.CiscoParser.As_path_set_inlineContext) As_path_set_elemContext(org.batfish.grammar.cisco.CiscoParser.As_path_set_elemContext) RoutePolicySetIsisMetric(org.batfish.representation.cisco.RoutePolicySetIsisMetric) No_ip_prefix_list_stanzaContext(org.batfish.grammar.cisco.CiscoParser.No_ip_prefix_list_stanzaContext) Prefix6(org.batfish.datamodel.Prefix6) SnmpHost(org.batfish.datamodel.SnmpHost) User(org.batfish.datamodel.vendor_family.cisco.User) Disable_peer_as_check_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Disable_peer_as_check_bgp_tailContext) RoutePolicySetNextHop(org.batfish.representation.cisco.RoutePolicySetNextHop) If_ip_ospf_dead_intervalContext(org.batfish.grammar.cisco.CiscoParser.If_ip_ospf_dead_intervalContext) NamedBgpPeerGroup(org.batfish.representation.cisco.NamedBgpPeerGroup) Prefix6List(org.batfish.representation.cisco.Prefix6List) ExtendedAccessList(org.batfish.representation.cisco.ExtendedAccessList) Line(org.batfish.datamodel.vendor_family.cisco.Line) StandardCommunityListLine(org.batfish.representation.cisco.StandardCommunityListLine) Is_type_is_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Is_type_is_stanzaContext) Boolean_apply_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_apply_rp_stanzaContext) RoutePolicySetWeight(org.batfish.representation.cisco.RoutePolicySetWeight) If_ip_proxy_arpContext(org.batfish.grammar.cisco.CiscoParser.If_ip_proxy_arpContext) Aaa_accounting_defaultContext(org.batfish.grammar.cisco.CiscoParser.Aaa_accounting_defaultContext) S_switchportContext(org.batfish.grammar.cisco.CiscoParser.S_switchportContext) BatfishCombinedParser(org.batfish.grammar.BatfishCombinedParser) EncryptionAlgorithm(org.batfish.datamodel.EncryptionAlgorithm) Aaa_authenticationContext(org.batfish.grammar.cisco.CiscoParser.Aaa_authenticationContext) IncrementLocalPreference(org.batfish.datamodel.routing_policy.expr.IncrementLocalPreference) Default_shutdown_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Default_shutdown_bgp_tailContext) Ip(org.batfish.datamodel.Ip) L_transportContext(org.batfish.grammar.cisco.CiscoParser.L_transportContext) Ro_redistribute_staticContext(org.batfish.grammar.cisco.CiscoParser.Ro_redistribute_staticContext) Boolean_as_path_passes_through_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_as_path_passes_through_rp_stanzaContext) RoutePolicyBooleanNot(org.batfish.representation.cisco.RoutePolicyBooleanNot) RoutePolicyInlinePrefix6Set(org.batfish.representation.cisco.RoutePolicyInlinePrefix6Set) RoutePolicyElseBlock(org.batfish.representation.cisco.RoutePolicyElseBlock) Pim_rp_announce_filterContext(org.batfish.grammar.cisco.CiscoParser.Pim_rp_announce_filterContext) DscpType(org.batfish.datamodel.DscpType) DecrementMetric(org.batfish.datamodel.routing_policy.expr.DecrementMetric) BatfishException(org.batfish.common.BatfishException) S_router_ripContext(org.batfish.grammar.cisco.CiscoParser.S_router_ripContext) HashSet(java.util.HashSet) Cispol_groupContext(org.batfish.grammar.cisco.CiscoParser.Cispol_groupContext) If_ip_addressContext(org.batfish.grammar.cisco.CiscoParser.If_ip_addressContext) S_cableContext(org.batfish.grammar.cisco.CiscoParser.S_cableContext) S_ip_domain_nameContext(org.batfish.grammar.cisco.CiscoParser.S_ip_domain_nameContext) Always_compare_med_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Always_compare_med_rb_stanzaContext) Rr_distribute_listContext(org.batfish.grammar.cisco.CiscoParser.Rr_distribute_listContext) RouteMapSetOriginTypeLine(org.batfish.representation.cisco.RouteMapSetOriginTypeLine) Buffered(org.batfish.datamodel.vendor_family.cisco.Buffered) Domain_name_serverContext(org.batfish.grammar.cisco.CiscoParser.Domain_name_serverContext) NatPool(org.batfish.representation.cisco.NatPool) Ss_enable_trapsContext(org.batfish.grammar.cisco.CiscoParser.Ss_enable_trapsContext) PrefixRange(org.batfish.datamodel.PrefixRange) Ifigmpsg_aclContext(org.batfish.grammar.cisco.CiscoParser.Ifigmpsg_aclContext) RoutePolicySetVarMetricType(org.batfish.representation.cisco.RoutePolicySetVarMetricType) RoutePolicySetIsisMetricType(org.batfish.representation.cisco.RoutePolicySetIsisMetricType) Ss_hostContext(org.batfish.grammar.cisco.CiscoParser.Ss_hostContext) Service(org.batfish.datamodel.vendor_family.cisco.Service) OspfRedistributionPolicy(org.batfish.representation.cisco.OspfRedistributionPolicy) Failover_interfaceContext(org.batfish.grammar.cisco.CiscoParser.Failover_interfaceContext) If_ip_ospf_areaContext(org.batfish.grammar.cisco.CiscoParser.If_ip_ospf_areaContext) Match_ip_access_list_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Match_ip_access_list_rm_stanzaContext) Prefix6Space(org.batfish.datamodel.Prefix6Space) Use_af_group_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Use_af_group_bgp_tailContext) RoutePolicySetTag(org.batfish.representation.cisco.RoutePolicySetTag) BgpAggregateIpv4Network(org.batfish.representation.cisco.BgpAggregateIpv4Network) Cisprf_matchContext(org.batfish.grammar.cisco.CiscoParser.Cisprf_matchContext) Template_peer_policy_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Template_peer_policy_rb_stanzaContext) RoutePolicyBooleanAsPathNeighborIs(org.batfish.representation.cisco.RoutePolicyBooleanAsPathNeighborIs) Cisprf_local_addressContext(org.batfish.grammar.cisco.CiscoParser.Cisprf_local_addressContext) Int_exprContext(org.batfish.grammar.cisco.CiscoParser.Int_exprContext) Logging_severityContext(org.batfish.grammar.cisco.CiscoParser.Logging_severityContext) Prefix(org.batfish.datamodel.Prefix) ServiceClass(org.batfish.datamodel.vendor_family.cisco.ServiceClass) StandardIpv6AccessList(org.batfish.representation.cisco.StandardIpv6AccessList) Prefix6Range(org.batfish.datamodel.Prefix6Range) RoutePolicyApplyStatement(org.batfish.representation.cisco.RoutePolicyApplyStatement) Comparator.naturalOrder(java.util.Comparator.naturalOrder) Aggregate_address_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Aggregate_address_rb_stanzaContext) Token(org.antlr.v4.runtime.Token) OspfAreaSummary(org.batfish.datamodel.OspfAreaSummary) ExtendedAccessListLine(org.batfish.representation.cisco.ExtendedAccessListLine) PortContext(org.batfish.grammar.cisco.CiscoParser.PortContext) As_path_multipath_relax_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.As_path_multipath_relax_rb_stanzaContext) RoutePolicyBooleanRibHasRoute(org.batfish.representation.cisco.RoutePolicyBooleanRibHasRoute) PrefixSpace(org.batfish.datamodel.PrefixSpace) Ro_area_filterlistContext(org.batfish.grammar.cisco.CiscoParser.Ro_area_filterlistContext) Distribute_list_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Distribute_list_bgp_tailContext) Bgp_address_familyContext(org.batfish.grammar.cisco.CiscoParser.Bgp_address_familyContext) If_descriptionContext(org.batfish.grammar.cisco.CiscoParser.If_descriptionContext) Cispol_authenticationContext(org.batfish.grammar.cisco.CiscoParser.Cispol_authenticationContext) Rp_prefix_setContext(org.batfish.grammar.cisco.CiscoParser.Rp_prefix_setContext) RouteMapSetMetricLine(org.batfish.representation.cisco.RouteMapSetMetricLine) Clb_docsis_policyContext(org.batfish.grammar.cisco.CiscoParser.Clb_docsis_policyContext) IntComparator(org.batfish.datamodel.routing_policy.expr.IntComparator) VendorConfiguration(org.batfish.vendor.VendorConfiguration) IpsecAuthenticationAlgorithm(org.batfish.datamodel.IpsecAuthenticationAlgorithm) IsakmpPolicy(org.batfish.representation.cisco.IsakmpPolicy) Set(java.util.Set) Inherit_peer_session_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Inherit_peer_session_bgp_tailContext) Template_peer_address_familyContext(org.batfish.grammar.cisco.CiscoParser.Template_peer_address_familyContext) IpsecProtocol(org.batfish.datamodel.IpsecProtocol) Int_compContext(org.batfish.grammar.cisco.CiscoParser.Int_compContext) Logging_onContext(org.batfish.grammar.cisco.CiscoParser.Logging_onContext) Ike_encryption_arubaContext(org.batfish.grammar.cisco.CiscoParser.Ike_encryption_arubaContext) Set_origin_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_origin_rm_stanzaContext) Ssh_serverContext(org.batfish.grammar.cisco.CiscoParser.Ssh_serverContext) RouteMapSetNextHopLine(org.batfish.representation.cisco.RouteMapSetNextHopLine) ParserRuleContext(org.antlr.v4.runtime.ParserRuleContext) IcmpType(org.batfish.datamodel.IcmpType) Bgp_listen_range_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Bgp_listen_range_rb_stanzaContext) ErrorNode(org.antlr.v4.runtime.tree.ErrorNode) Bgp_advertise_inactive_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Bgp_advertise_inactive_rb_stanzaContext) OspfNetwork(org.batfish.representation.cisco.OspfNetwork) StandardIpv6AccessListLine(org.batfish.representation.cisco.StandardIpv6AccessListLine) IpsecTransformSet(org.batfish.representation.cisco.IpsecTransformSet) Origin_exprContext(org.batfish.grammar.cisco.CiscoParser.Origin_exprContext) Roi_costContext(org.batfish.grammar.cisco.CiscoParser.Roi_costContext) CommonUtil(org.batfish.common.util.CommonUtil) Network6_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Network6_bgp_tailContext) IpAsPathAccessListLine(org.batfish.representation.cisco.IpAsPathAccessListLine) Copsl_access_listContext(org.batfish.grammar.cisco.CiscoParser.Copsl_access_listContext) Boolean_route_type_is_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_route_type_is_rp_stanzaContext) VarCommunitySetElemHalf(org.batfish.datamodel.routing_policy.expr.VarCommunitySetElemHalf) If_ip_router_isisContext(org.batfish.grammar.cisco.CiscoParser.If_ip_router_isisContext) Activate_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Activate_bgp_tailContext) Neighbor_block_address_familyContext(org.batfish.grammar.cisco.CiscoParser.Neighbor_block_address_familyContext) Network_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Network_bgp_tailContext) Empty_neighbor_block_address_familyContext(org.batfish.grammar.cisco.CiscoParser.Empty_neighbor_block_address_familyContext) RoutePolicyInlinePrefixSet(org.batfish.representation.cisco.RoutePolicyInlinePrefixSet) Rp_subrangeContext(org.batfish.grammar.cisco.CiscoParser.Rp_subrangeContext) BiConsumer(java.util.function.BiConsumer) Ip6(org.batfish.datamodel.Ip6) If_isis_metricContext(org.batfish.grammar.cisco.CiscoParser.If_isis_metricContext) Csc_nameContext(org.batfish.grammar.cisco.CiscoParser.Csc_nameContext) CiscoConfiguration(org.batfish.representation.cisco.CiscoConfiguration) If_spanning_treeContext(org.batfish.grammar.cisco.CiscoParser.If_spanning_treeContext) Ip_domain_lookupContext(org.batfish.grammar.cisco.CiscoParser.Ip_domain_lookupContext) Null_as_path_regexContext(org.batfish.grammar.cisco.CiscoParser.Null_as_path_regexContext) S_ip_source_routeContext(org.batfish.grammar.cisco.CiscoParser.S_ip_source_routeContext) Nullable(javax.annotation.Nullable) Pim_accept_rpContext(org.batfish.grammar.cisco.CiscoParser.Pim_accept_rpContext) Rp_ospf_metric_typeContext(org.batfish.grammar.cisco.CiscoParser.Rp_ospf_metric_typeContext) Ip_as_path_access_list_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Ip_as_path_access_list_stanzaContext) Aaa_authentication_login_listContext(org.batfish.grammar.cisco.CiscoParser.Aaa_authentication_login_listContext) Ip_nat_pool_rangeContext(org.batfish.grammar.cisco.CiscoParser.Ip_nat_pool_rangeContext) If_ip_address_secondaryContext(org.batfish.grammar.cisco.CiscoParser.If_ip_address_secondaryContext) If_ip_ospf_passive_interfaceContext(org.batfish.grammar.cisco.CiscoParser.If_ip_ospf_passive_interfaceContext) Cp_ip_access_groupContext(org.batfish.grammar.cisco.CiscoParser.Cp_ip_access_groupContext) Neighbor_block_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Neighbor_block_rb_stanzaContext) S_mac_access_list_extendedContext(org.batfish.grammar.cisco.CiscoParser.S_mac_access_list_extendedContext) Crypto_map_ii_match_addressContext(org.batfish.grammar.cisco.CiscoParser.Crypto_map_ii_match_addressContext) LiteralCommunitySetElemHalf(org.batfish.datamodel.routing_policy.expr.LiteralCommunitySetElemHalf) LoggingHost(org.batfish.datamodel.vendor_family.cisco.LoggingHost) Match_ip_prefix_list_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Match_ip_prefix_list_rm_stanzaContext) Update_source_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Update_source_bgp_tailContext) RouteMapSetNextHopPeerAddress(org.batfish.representation.cisco.RouteMapSetNextHopPeerAddress) OspfProcess(org.batfish.representation.cisco.OspfProcess) S_tacacs_serverContext(org.batfish.grammar.cisco.CiscoParser.S_tacacs_serverContext) Route_map_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Route_map_stanzaContext) Cluster_id_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Cluster_id_bgp_tailContext) Ro_default_informationContext(org.batfish.grammar.cisco.CiscoParser.Ro_default_informationContext) S_ip_domainContext(org.batfish.grammar.cisco.CiscoParser.S_ip_domainContext) Domain_nameContext(org.batfish.grammar.cisco.CiscoParser.Domain_nameContext) CommunitySetElem(org.batfish.datamodel.routing_policy.expr.CommunitySetElem) Ifdhcpr_clientContext(org.batfish.grammar.cisco.CiscoParser.Ifdhcpr_clientContext) RoutePolicyIfStatement(org.batfish.representation.cisco.RoutePolicyIfStatement) S_depi_tunnelContext(org.batfish.grammar.cisco.CiscoParser.S_depi_tunnelContext) Vrfc_ip_routeContext(org.batfish.grammar.cisco.CiscoParser.Vrfc_ip_routeContext) Set_next_hop_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_next_hop_rm_stanzaContext) IsisInterfaceMode(org.batfish.datamodel.IsisInterfaceMode) Failover_linkContext(org.batfish.grammar.cisco.CiscoParser.Failover_linkContext) Ss_tftp_server_listContext(org.batfish.grammar.cisco.CiscoParser.Ss_tftp_server_listContext) Boolean_simple_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_simple_rp_stanzaContext) S_ip_sshContext(org.batfish.grammar.cisco.CiscoParser.S_ip_sshContext) Session_group_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Session_group_rb_stanzaContext) Sd_switchport_blankContext(org.batfish.grammar.cisco.CiscoParser.Sd_switchport_blankContext) Rp_community_set_elem_halfContext(org.batfish.grammar.cisco.CiscoParser.Rp_community_set_elem_halfContext) Cipprf_set_pfsContext(org.batfish.grammar.cisco.CiscoParser.Cipprf_set_pfsContext) ExpandedCommunityList(org.batfish.representation.cisco.ExpandedCommunityList) Tunnel(org.batfish.representation.cisco.Tunnel) If_switchport_accessContext(org.batfish.grammar.cisco.CiscoParser.If_switchport_accessContext) Set_community_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_community_rp_stanzaContext) RangeCommunitySetElemHalf(org.batfish.datamodel.routing_policy.expr.RangeCommunitySetElemHalf) Else_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Else_rp_stanzaContext) DynamicIpBgpPeerGroup(org.batfish.representation.cisco.DynamicIpBgpPeerGroup) AutoAs(org.batfish.datamodel.routing_policy.expr.AutoAs) RoutePolicyPrefixSet(org.batfish.representation.cisco.RoutePolicyPrefixSet) Boolean_local_preference_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_local_preference_rp_stanzaContext) S_ntpContext(org.batfish.grammar.cisco.CiscoParser.S_ntpContext) Rp_community_setContext(org.batfish.grammar.cisco.CiscoParser.Rp_community_setContext) Set_metric_type_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_metric_type_rm_stanzaContext) Ro_maximum_pathsContext(org.batfish.grammar.cisco.CiscoParser.Ro_maximum_pathsContext) If_ip_ospf_networkContext(org.batfish.grammar.cisco.CiscoParser.If_ip_ospf_networkContext) RoutePolicyNextHopIP6(org.batfish.representation.cisco.RoutePolicyNextHopIP6) DepiClass(org.batfish.datamodel.vendor_family.cisco.DepiClass) Ro_redistribute_bgpContext(org.batfish.grammar.cisco.CiscoParser.Ro_redistribute_bgpContext) Cisprf_keyringContext(org.batfish.grammar.cisco.CiscoParser.Cisprf_keyringContext) Ip_prefix_list_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Ip_prefix_list_stanzaContext) Route_map_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Route_map_bgp_tailContext) Boolean_as_path_originates_from_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_as_path_originates_from_rp_stanzaContext) Delete_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Delete_rp_stanzaContext) SwitchportEncapsulationType(org.batfish.datamodel.SwitchportEncapsulationType) Flan_unitContext(org.batfish.grammar.cisco.CiscoParser.Flan_unitContext) If_ip_pim_neighbor_filterContext(org.batfish.grammar.cisco.CiscoParser.If_ip_pim_neighbor_filterContext) Boolean_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_rp_stanzaContext) OspfWildcardNetwork(org.batfish.representation.cisco.OspfWildcardNetwork) Set_next_hop_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_next_hop_rp_stanzaContext) If_vrrpContext(org.batfish.grammar.cisco.CiscoParser.If_vrrpContext) RoutingProtocol(org.batfish.datamodel.RoutingProtocol) L_exec_timeoutContext(org.batfish.grammar.cisco.CiscoParser.L_exec_timeoutContext) Set_community_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_community_rm_stanzaContext) Logging_bufferedContext(org.batfish.grammar.cisco.CiscoParser.Logging_bufferedContext) AsPathSetElem(org.batfish.datamodel.routing_policy.expr.AsPathSetElem) RouteMapSetLine(org.batfish.representation.cisco.RouteMapSetLine) Af_group_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Af_group_rb_stanzaContext) Rr_networkContext(org.batfish.grammar.cisco.CiscoParser.Rr_networkContext) Logging_addressContext(org.batfish.grammar.cisco.CiscoParser.Logging_addressContext) LiteralRouteType(org.batfish.datamodel.routing_policy.expr.LiteralRouteType) Set_tag_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_tag_rp_stanzaContext) SubRange(org.batfish.datamodel.SubRange) Ro_max_metricContext(org.batfish.grammar.cisco.CiscoParser.Ro_max_metricContext) Peer_group_creation_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Peer_group_creation_rb_stanzaContext) S_ip_dhcpContext(org.batfish.grammar.cisco.CiscoParser.S_ip_dhcpContext) Vrf(org.batfish.representation.cisco.Vrf) ControlPlaneExtractor(org.batfish.grammar.ControlPlaneExtractor) L_access_classContext(org.batfish.grammar.cisco.CiscoParser.L_access_classContext) RoutePolicyNextHopIp(org.batfish.representation.cisco.RoutePolicyNextHopIp) Dt_depi_classContext(org.batfish.grammar.cisco.CiscoParser.Dt_depi_classContext) IpsecProposal(org.batfish.datamodel.IpsecProposal) Cntlr_rf_channelContext(org.batfish.grammar.cisco.CiscoParser.Cntlr_rf_channelContext) If_shutdownContext(org.batfish.grammar.cisco.CiscoParser.If_shutdownContext) Iterator(java.util.Iterator) VarOrigin(org.batfish.datamodel.routing_policy.expr.VarOrigin) RoutePolicyDispositionStatement(org.batfish.representation.cisco.RoutePolicyDispositionStatement) RedFlagBatfishException(org.batfish.common.RedFlagBatfishException) Rs_routeContext(org.batfish.grammar.cisco.CiscoParser.Rs_routeContext) Cip_transform_setContext(org.batfish.grammar.cisco.CiscoParser.Cip_transform_setContext) Default_information_originate_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Default_information_originate_rb_stanzaContext) Ss_source_interfaceContext(org.batfish.grammar.cisco.CiscoParser.Ss_source_interfaceContext) VarAsPathSet(org.batfish.datamodel.routing_policy.expr.VarAsPathSet) Set_community_additive_rm_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_community_additive_rm_stanzaContext) Ipv6_prefix_list_tailContext(org.batfish.grammar.cisco.CiscoParser.Ipv6_prefix_list_tailContext) Set_isis_metric_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_isis_metric_rp_stanzaContext) IsisMetricType(org.batfish.datamodel.IsisMetricType) S_mac_access_listContext(org.batfish.grammar.cisco.CiscoParser.S_mac_access_listContext) RoutePolicyBooleanDestination(org.batfish.representation.cisco.RoutePolicyBooleanDestination) RoutePolicySetLevel(org.batfish.representation.cisco.RoutePolicySetLevel) S_router_ospfContext(org.batfish.grammar.cisco.CiscoParser.S_router_ospfContext) Boolean_community_matches_any_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Boolean_community_matches_any_rp_stanzaContext) S_aaaContext(org.batfish.grammar.cisco.CiscoParser.S_aaaContext) Ip_route_tailContext(org.batfish.grammar.cisco.CiscoParser.Ip_route_tailContext) Set_metric_type_rp_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Set_metric_type_rp_stanzaContext) Collections(java.util.Collections) Address_family_rb_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Address_family_rb_stanzaContext) Summary_address_is_stanzaContext(org.batfish.grammar.cisco.CiscoParser.Summary_address_is_stanzaContext) Use_session_group_bgp_tailContext(org.batfish.grammar.cisco.CiscoParser.Use_session_group_bgp_tailContext) BatfishException(org.batfish.common.BatfishException) RedFlagBatfishException(org.batfish.common.RedFlagBatfishException) ExpandedCommunityList(org.batfish.representation.cisco.ExpandedCommunityList)

Example 47 with BatfishException

use of org.batfish.common.BatfishException in project batfish by batfish.

the class CiscoControlPlaneExtractor method exitInherit_peer_policy_bgp_tail.

@Override
public void exitInherit_peer_policy_bgp_tail(Inherit_peer_policy_bgp_tailContext ctx) {
    BgpProcess proc = currentVrf().getBgpProcess();
    String groupName = ctx.name.getText();
    int line = ctx.name.getStart().getLine();
    if (_currentIpPeerGroup != null) {
        _currentIpPeerGroup.setGroupName(groupName);
        _currentIpPeerGroup.setGroupNameLine(line);
    } else if (_currentNamedPeerGroup != null) {
        // May not hit this since parser for peer-policy does not have
        // recursion.
        _currentNamedPeerGroup.setGroupName(groupName);
        _currentNamedPeerGroup.setGroupNameLine(line);
    } else if (_currentPeerGroup == proc.getMasterBgpPeerGroup()) {
        // Intentional identity comparison above
        throw new BatfishException("Invalid peer context for inheritance");
    } else {
        todo(ctx, F_BGP_INHERIT_PEER_SESSION_OTHER);
    }
}
Also used : BatfishException(org.batfish.common.BatfishException) RedFlagBatfishException(org.batfish.common.RedFlagBatfishException) BgpProcess(org.batfish.representation.cisco.BgpProcess)

Example 48 with BatfishException

use of org.batfish.common.BatfishException in project batfish by batfish.

the class CiscoControlPlaneExtractor method enterStandard_access_list_stanza.

@Override
public void enterStandard_access_list_stanza(Standard_access_list_stanzaContext ctx) {
    String name;
    int definitionLine;
    if (ctx.name != null) {
        name = ctx.name.getText();
        definitionLine = ctx.name.getStart().getLine();
    } else if (ctx.num != null) {
        name = ctx.num.getText();
        definitionLine = ctx.num.getLine();
    } else {
        throw new BatfishException("Invalid standard access-list name");
    }
    StandardAccessList list = _configuration.getStandardAcls().computeIfAbsent(name, n -> new StandardAccessList(n, definitionLine));
    _currentStandardAcl = list;
}
Also used : BatfishException(org.batfish.common.BatfishException) RedFlagBatfishException(org.batfish.common.RedFlagBatfishException) StandardAccessList(org.batfish.representation.cisco.StandardAccessList)

Example 49 with BatfishException

use of org.batfish.common.BatfishException in project batfish by batfish.

the class CiscoControlPlaneExtractor method enterCis_policy.

@Override
public void enterCis_policy(Cis_policyContext ctx) {
    if (_currentIsakmpPolicy != null) {
        throw new BatfishException("IsakmpPolicy should be null!");
    }
    _currentIsakmpPolicy = new IsakmpPolicy(ctx.name.getText(), ctx.getStart().getLine());
    _currentIsakmpPolicy.getProposal().setAuthenticationAlgorithm(IkeAuthenticationAlgorithm.SHA1);
}
Also used : BatfishException(org.batfish.common.BatfishException) RedFlagBatfishException(org.batfish.common.RedFlagBatfishException) IsakmpPolicy(org.batfish.representation.cisco.IsakmpPolicy)

Example 50 with BatfishException

use of org.batfish.common.BatfishException in project batfish by batfish.

the class CiscoControlPlaneExtractor method exitRemote_as_bgp_tail.

@Override
public void exitRemote_as_bgp_tail(Remote_as_bgp_tailContext ctx) {
    BgpProcess proc = currentVrf().getBgpProcess();
    int as = toInteger(ctx.as);
    if (_currentPeerGroup != proc.getMasterBgpPeerGroup()) {
        _currentPeerGroup.setRemoteAs(as);
    } else {
        throw new BatfishException("no peer or peer group in context: " + getLocation(ctx) + getFullText(ctx));
    }
}
Also used : BatfishException(org.batfish.common.BatfishException) RedFlagBatfishException(org.batfish.common.RedFlagBatfishException) BgpProcess(org.batfish.representation.cisco.BgpProcess)

Aggregations

BatfishException (org.batfish.common.BatfishException)264 IOException (java.io.IOException)61 Path (java.nio.file.Path)54 CleanBatfishException (org.batfish.common.CleanBatfishException)35 RedFlagBatfishException (org.batfish.common.RedFlagBatfishException)34 TreeMap (java.util.TreeMap)31 ArrayList (java.util.ArrayList)30 JSONException (org.codehaus.jettison.json.JSONException)30 Ip (org.batfish.datamodel.Ip)25 JSONObject (org.codehaus.jettison.json.JSONObject)25 Configuration (org.batfish.datamodel.Configuration)24 Map (java.util.Map)23 Prefix (org.batfish.datamodel.Prefix)22 HashMap (java.util.HashMap)20 HashSet (java.util.HashSet)20 TreeSet (java.util.TreeSet)20 JsonProcessingException (com.fasterxml.jackson.core.JsonProcessingException)18 Test (org.junit.Test)18 Set (java.util.Set)17 SortedMap (java.util.SortedMap)17