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

Commit

Permalink
draft (#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbasan authored Sep 5, 2024
1 parent 0e357bd commit dd12f91
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ENDPOINTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**THIS FILE WAS AUTO-GENERATED DO NOT EDIT**

Generated for: catalystwan-0.35.0.dev4
Generated for: catalystwan-0.35.0.dev6

All URIs are relative to */dataservice*
HTTP request | Supported Versions | Method | Payload Type | Return Type | Tenancy Mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
TrafficCategoryMatch,
TrafficClass,
TrafficClassMatch,
TrafficDataDirection,
TrafficPolicyParcel,
TrafficPolicyTarget,
TrafficTargetType,
Expand Down Expand Up @@ -195,7 +194,6 @@
"ServiceAreaValue",
"SequenceIpType",
"TrafficPolicyTarget",
"TrafficDataDirection",
"SetVpn",
"SetTlocList",
"SetDscp",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,18 @@
VersionedField,
)
from catalystwan.models.configuration.feature_profile.common import RefIdItem
from catalystwan.models.policy.centralized import TrafficDataDirection
from catalystwan.models.policy.policy_definition import DNSTypeEntryType, LossProtectionType

TrafficPolicyDirection = Literal[
"service",
"tunnel",
"all",
]


class TrafficPolicyTarget(BaseModel):
model_config = ConfigDict(populate_by_name=True, extra="forbid")
direction: Global[TrafficDataDirection]
direction: Global[TrafficPolicyDirection]
vpn: Global[List[str]]


Expand Down

0 comments on commit dd12f91

Please sign in to comment.