You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to ixia.
In the visual part of ixia there is a Protocols parameter and underneath DHCP Server and DHCP/PD w/Auth , and by clicking I can change the VLANs . I haven't found any way to change this using this api. Can anyone help me?
The text was updated successfully, but these errors were encountered:
Hi,
For VLAN-ID under DHCP Server, the code snip to set VLAN-ID is:
from ixnetwork_restpy import SessionAssistant
session_assistant = SessionAssistant(IpAddress='127.0.0.1',
LogLevel=SessionAssistant.LOGLEVEL_INFO,
ClearConfig=True)
ixnetwork = session_assistant.Ixnetwork
For VLAN-ID under DHCP/PD w/Auth, the code to set VLAN ID is:
vlanidinfo = ixnetwork
.Vport.find()
.ProtocolStack.find()
.Ethernet.find()
.DhcpEndpoint.find()
.Range.find()
.VlanRange.find()
.VlanIdInfo.find()
print(vlanidinfo.FirstId)
vlanidinfo.FirstId = ''
I'm new to ixia.
In the visual part of ixia there is a Protocols parameter and underneath DHCP Server and DHCP/PD w/Auth , and by clicking I can change the VLANs . I haven't found any way to change this using this api. Can anyone help me?
The text was updated successfully, but these errors were encountered: