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

Commit

Permalink
restore changes in service insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
sbasan committed Jul 27, 2024
1 parent 79f0c97 commit 34ed127
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"BIDIR",
]

ReachableInterfaceStr = Literal[
ReachableInterfaceType = Literal[
"ipv4",
"ipv6",
"tunnel",
Expand All @@ -28,7 +28,7 @@
"ipv6-service-icmp",
]

InterfaceStr = Literal[
InterfaceType = Literal[
"fromservice",
"toservice",
]
Expand Down Expand Up @@ -90,8 +90,8 @@ class TrackingIP(BaseModel):
class ReachableInterface(BaseModel):
model_config = ConfigDict(arbitrary_types_allowed=True, populate_by_name=True, extra="forbid")

type: Global[ReachableInterfaceStr] = Field(
serialization_alias="reachableInterfaceStr", validation_alias="reachableInterfaceStr"
type: Global[ReachableInterfaceType] = Field(
serialization_alias="reachableInterfaceType", validation_alias="reachableInterfaceType"
)
name: Optional[Union[Global[str], Variable]] = Field(
serialization_alias="reachableInterfaceName", validation_alias="reachableInterfaceName"
Expand Down Expand Up @@ -125,7 +125,7 @@ class InterfaceProperties(BaseModel):
reachable_interface: Optional[ReachableInterface] = Field(
serialization_alias="reachableInterface", validation_alias="reachableInterface", default=None
)
interface_type: Optional[Union[Global[InterfaceStr], Variable]] = Field(
interface_type: Optional[Union[Global[InterfaceType], Variable]] = Field(
serialization_alias="interfaceType", validation_alias="interfaceType", default=None
)
redundancy_type: Optional[Union[Global[RedundancyType], Variable]] = Field(
Expand Down

0 comments on commit 34ed127

Please sign in to comment.