Skip to content

Commit f7b1061

Browse files
committed
forgot to refresh schema
1 parent 9dd4c3f commit f7b1061

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

examples/peeringdb_to_infrahub/genericrestapi/sync_models.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@
1313
class InfraAutonomousSystem(GenericrestapiModel):
1414
_modelname = "InfraAutonomousSystem"
1515
_identifiers = ("asn",)
16-
_attributes = ("name",)
17-
asn: int
16+
_attributes = ("ipv6_max_prefixes", "name", "ipv4_max_prefixes", "irr_as_set")
17+
ipv6_max_prefixes: int | None = None
1818
name: str
19+
ipv4_max_prefixes: int | None = None
20+
asn: int
21+
irr_as_set: str | None = None
1922

2023
local_id: str | None = None
2124
local_data: Any | None = None

examples/peeringdb_to_infrahub/infrahub/sync_models.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@
1313
class InfraAutonomousSystem(InfrahubModel):
1414
_modelname = "InfraAutonomousSystem"
1515
_identifiers = ("asn",)
16-
_attributes = ("name",)
17-
asn: int
16+
_attributes = ("ipv6_max_prefixes", "name", "ipv4_max_prefixes", "irr_as_set")
17+
ipv6_max_prefixes: int | None = None
1818
name: str
19+
ipv4_max_prefixes: int | None = None
20+
asn: int
21+
irr_as_set: str | None = None
1922

2023
local_id: str | None = None
2124
local_data: Any | None = None

0 commit comments

Comments
 (0)