OpenIxia / ixnetwork_restpy

The IxNetwork python client.
https://openixia.github.io/ixnetwork_restpy/#/
MIT License
30 stars 16 forks source link

Novus 100g IeeeL1Defaults settings with IxOS 9.00.1900.10 version #20

Closed priteshjmodi closed 4 years ago

priteshjmodi commented 4 years ago

Hi,

I am using below function to set IeeL1Defaults on Novus 100G / 25G port speed. But after updating to Active IxOS Version : 9.00.1900.10 , I see ports come up with IEEE/Consortion defaults enabled.

Is there any additional configuration required to turn off IEEE L1 defaults and AN to disable?


image


    self.vports_obj[vport_name].L1Config.NovusHundredGigLan.IeeeL1Defaults = False
    if an == "off":
        self.vports_obj[vport_name].L1Config.NovusHundredGigLan.EnableAutoNegotiation = False
    if fec_mode == "off":
        self.vports_obj[vport_name].L1Config.NovusHundredGigLan.EnableRsFec = False

self.vports_obj[vport_name].L1Config.NovusHundredGigLan.IeeeL1Defaults = False

ajbalogh commented 4 years ago

That should be sufficient but I would recommend using the update() method.

self.vports_obj[vport_name].L1Config.NovusHundredGigLan.update(IeeeL1Defaults=False, EnableAutoNegotiation=False, EnableRsFec=False)