SystemRoutingModifyRequest
Bases: OCIRequest
Modifies the system's general routing attributes. The response is either a SuccessResponse or an ErrorResponse.
Attributes:
is_route_round_robin (Optional[bool]):
route_timer_seconds (Optional[int]):
dns_resolved_address_selection_policy (Optional[str]):
stateful_expiration_minutes (Optional[int]):
max_addresses_per_hostname (Optional[int]):
max_addresses_during_setup (Optional[int]):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemRoutingModifyRequest
client = Client()
command = SystemRoutingModifyRequest(
is_route_round_robin=...,
route_timer_seconds=...,
dns_resolved_address_selection_policy=...,
stateful_expiration_minutes=...,
max_addresses_per_hostname=...,
max_addresses_during_setup=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("SystemRoutingModifyRequest",
is_route_round_robin=...,
route_timer_seconds=...,
dns_resolved_address_selection_policy=...,
stateful_expiration_minutes=...,
max_addresses_per_hostname=...,
max_addresses_during_setup=...,
)
print(response)