Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit ccfdf04

Browse files
Jozef VolakJozefiel
Jozef Volak
authored andcommitted
[uniconfig] Codespell check report fixes
1 parent cc65df7 commit ccfdf04

14 files changed

+29
-14
lines changed

uniconfig/python/frinx_api/uniconfig/connection/manager/changeadminstate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ class Output(BaseModel):
2929
)
3030
error_message: Optional[str] = Field(None, alias='error-message')
3131
"""
32-
Message that described occured error during invocation of operation.
32+
Message that described occurred error during invocation of operation.
3333
"""
3434
status: types.OperationResultType

uniconfig/python/frinx_api/uniconfig/connection/manager/dryrunmountnode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ class Output(BaseModel):
2929
)
3030
error_message: Optional[str] = Field(None, alias='error-message')
3131
"""
32-
Message that described occured error during invocation of operation.
32+
Message that described occurred error during invocation of operation.
3333
"""
3434
status: types.OperationResultType

uniconfig/python/frinx_api/uniconfig/connection/manager/dryrununmountnode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ class Output(BaseModel):
2929
)
3030
error_message: Optional[str] = Field(None, alias='error-message')
3131
"""
32-
Message that described occured error during invocation of operation.
32+
Message that described occurred error during invocation of operation.
3333
"""
3434
status: types.OperationResultType

uniconfig/python/frinx_api/uniconfig/connection/manager/installmultiplenodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ class NodeResult(BaseModel):
931931
"""
932932
error_message: Optional[str] = Field(None, alias='error-message')
933933
"""
934-
Message that described occured error during invocation of operation on a specific node.
934+
Message that described occurred error during invocation of operation on a specific node.
935935
"""
936936
status: types.OperationResultType
937937

uniconfig/python/frinx_api/uniconfig/connection/manager/installnode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,6 @@ class Output(BaseModel):
918918
)
919919
error_message: Optional[str] = Field(None, alias='error-message')
920920
"""
921-
Message that described occured error during invocation of operation.
921+
Message that described occurred error during invocation of operation.
922922
"""
923923
status: types.OperationResultType

uniconfig/python/frinx_api/uniconfig/connection/manager/mountnode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ class Output(BaseModel):
2929
)
3030
error_message: Optional[str] = Field(None, alias='error-message')
3131
"""
32-
Message that described occured error during invocation of operation.
32+
Message that described occurred error during invocation of operation.
3333
"""
3434
status: types.OperationResultType

uniconfig/python/frinx_api/uniconfig/connection/manager/uninstallmultiplenodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class NodeResult(BaseModel):
4040
"""
4141
error_message: Optional[str] = Field(None, alias='error-message')
4242
"""
43-
Message that described occured error during invocation of operation on a specific node.
43+
Message that described occurred error during invocation of operation on a specific node.
4444
"""
4545
status: types.OperationResultType
4646

uniconfig/python/frinx_api/uniconfig/connection/manager/uninstallnode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ class Output(BaseModel):
2929
)
3030
error_message: Optional[str] = Field(None, alias='error-message')
3131
"""
32-
Message that described occured error during invocation of operation.
32+
Message that described occurred error during invocation of operation.
3333
"""
3434
status: types.OperationResultType

uniconfig/python/frinx_api/uniconfig/connection/manager/unmountnode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ class Output(BaseModel):
2929
)
3030
error_message: Optional[str] = Field(None, alias='error-message')
3131
"""
32-
Message that described occured error during invocation of operation.
32+
Message that described occurred error during invocation of operation.
3333
"""
3434
status: types.OperationResultType

uniconfig/python/frinx_api/uniconfig/device/discovery/discover.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class TcpPortItem(BaseModel):
1919
start_port: Optional[int] = Field(None, alias='start-port', ge=0, le=65535)
2020

2121

22-
class Addres(BaseModel):
22+
class Address(BaseModel):
2323
model_config = ConfigDict(
2424
populate_by_name=True,
2525
)
@@ -63,7 +63,7 @@ class Input(BaseModel):
6363
Check whether the host is reachable or not using ICMP protocol
6464
"""
6565
tcp_port: Optional[list[TcpPortItem]] = Field(None, alias='tcp-port')
66-
address: Optional[list[Addres]] = None
66+
address: Optional[list[Address]] = None
6767
udp_port: Optional[list[UdpPortItem]] = Field(None, alias='udp-port')
6868

6969

uniconfig/python/frinx_api/uniconfig/logging/setglobalhiddentypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Input(BaseModel):
1717
)
1818
hidden_types: Optional[list[str]] = Field(None, alias='hidden-types')
1919
"""
20-
Types filtered and hidden at logger ouptut.
20+
Types filtered and hidden at logger output.
2121
"""
2222

2323

uniconfig/python/frinx_api/uniconfig/rest_api.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,3 +725,18 @@ class QueryConfig(UniconfigRest):
725725
method = 'POST'
726726
request = OperationsQueryConfigPostRequest
727727
response = OperationsQueryConfigPostResponse
728+
729+
730+
class ReadStructuredData(UniconfigRest):
731+
uri = '/data/network-topology:network-topology/topology={topology_id}/node={node_id}/frinx-uniconfig-topology:configuration{uri}'
732+
method = 'GET'
733+
734+
735+
class WriteStructuredData(UniconfigRest):
736+
uri = '/data/network-topology:network-topology/topology={topology_id}/node={node_id}/frinx-uniconfig-topology:configuration{uri}'
737+
method = 'PUT'
738+
739+
740+
class DeleteStructuredData(UniconfigRest):
741+
uri = '/data/network-topology:network-topology/topology={topology_id}/node={node_id}/frinx-uniconfig-topology:configuration{uri}'
742+
method = 'DELETE'

uniconfig/python/frinx_api/uniconfig/uniconfig/manager/commit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Input(BaseModel):
4141
)
4242
skip_unreachable_nodes: Optional[bool] = Field(None, alias='skip-unreachable-nodes')
4343
"""
44-
Option to skip nodes, that are unreachable at the time of commit. Other nodes will be commited
44+
Option to skip nodes, that are unreachable at the time of commit. Other nodes will be committed
4545
"""
4646
do_validate: Optional[bool] = Field(None, alias='do-validate')
4747
"""

uniconfig/python/frinx_api/uniconfig/uniconfig/manager/synctonetwork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Input(BaseModel):
2929
"""
3030
skip_unreachable_nodes: Optional[bool] = Field(None, alias='skip-unreachable-nodes')
3131
"""
32-
Option to skip nodes, that are unreachable at the time of commit. Other nodes will be commited
32+
Option to skip nodes, that are unreachable at the time of commit. Other nodes will be committed
3333
"""
3434
do_validate: Optional[bool] = Field(None, alias='do-validate')
3535
"""

0 commit comments

Comments
 (0)