Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
remove as-path from policy lists converter table (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbasan authored May 31, 2024
1 parent 83a9ab8 commit e215c73
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def app_list(in_: AppList, context) -> ApplicationListParcel:


def as_path(in_: ASPathList, context) -> AsPathParcel:
raise CatalystwanConverterCantConvertException(f"Additional context required for {ASPathList.__name__}")
out = AsPathParcel(**_get_parcel_name_desc(in_))
for entry in in_.entries:
out.add_as_path(entry.as_path)
Expand Down Expand Up @@ -373,7 +372,7 @@ def zone(in_: ZoneList, context) -> SecurityZoneListParcel:
CONVERTERS: Mapping[Type[Input], Callable[..., Output]] = {
AppProbeClassList: app_probe,
AppList: app_list,
ASPathList: as_path,
# ASPathList: as_path,
ClassMapList: class_map,
ColorList: color,
CommunityList: community,
Expand Down

0 comments on commit e215c73

Please sign in to comment.