SystemAccessDeviceAddRequest22V3
Bases: OCIRequest
Request to add a system-level access device. The response is either SuccessResponse or ErrorResponse.
The following elements are only used in AS data mode and ignored in XS data mode:
isWebexTeamsDevice
defaultPathHeader
deviceExternalId
deviceIPEI
Attributes:
device_name (Optional[str]):
device_external_id (Optional[str]):
device_type (str):
protocol (Optional[str]):
net_address (Optional[str]):
port (Optional[int]):
outbound_proxy_server_net_address (Optional[str]):
stun_server_net_address (Optional[str]):
mac_address (Optional[str]):
serial_number (Optional[str]):
description (Optional[str]):
physical_location (Optional[str]):
transport_protocol (Optional[str]):
use_custom_user_name_password (Optional[bool]):
access_device_credentials (Optional[DeviceManagementUserNamePassword16]):
is_webex_teams_device (Optional[bool]):
default_path_header (Optional[str]):
device_ipei (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
71700 71701 71702 71703 71704 71705 71706 71707 71708 71709 71710 71711 71712 71713 71714 71715 71716 71717 71718 71719 71720 71721 71722 71723 71724 71725 71726 71727 71728 71729 71730 71731 71732 71733 71734 71735 71736 71737 71738 71739 71740 71741 71742 71743 71744 71745 71746 71747 71748 71749 71750 71751 71752 71753 71754 71755 71756 71757 71758 71759 71760 71761 71762 71763 71764 71765 71766 71767 71768 71769 71770 71771 71772 71773 71774 71775 71776 71777 71778 71779 71780 71781 71782 71783 71784 71785 71786 71787 71788 71789 71790 71791 71792 71793 71794 71795 71796 71797 71798 71799 71800 71801 71802 71803 71804 71805 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import SystemAccessDeviceAddRequest22V3
client = Client()
command = SystemAccessDeviceAddRequest22V3(
device_name=...,
device_external_id=...,
device_type=...,
protocol=...,
net_address=...,
port=...,
outbound_proxy_server_net_address=...,
stun_server_net_address=...,
mac_address=...,
serial_number=...,
description=...,
physical_location=...,
transport_protocol=...,
use_custom_user_name_password=...,
access_device_credentials=...,
is_webex_teams_device=...,
default_path_header=...,
device_ipei=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemAccessDeviceAddRequest22V3",
device_name=...,
device_external_id=...,
device_type=...,
protocol=...,
net_address=...,
port=...,
outbound_proxy_server_net_address=...,
stun_server_net_address=...,
mac_address=...,
serial_number=...,
description=...,
physical_location=...,
transport_protocol=...,
use_custom_user_name_password=...,
access_device_credentials=...,
is_webex_teams_device=...,
default_path_header=...,
device_ipei=...,
)
print(response)