marksull / fmcapi

A Python package designed to help users of Cisco's FMC interface with its API.
BSD 3-Clause "New" or "Revised" License
81 stars 57 forks source link

Is it possible to create sub-interfaces on an Etherchannel with fmcapi? #99

Closed jmattatall closed 2 years ago

jmattatall commented 3 years ago

I've got an HA pair and I'm trying to create a bunch of etherchannel subinterfaces. It seems that I can create them on physical interfaces.

jmattatall commented 3 years ago

OK, I found out how, just had to change the subinterface api to say Etherchannelinterfaces instead of PhysicalInterfaces and import Etherchannelinterfaces as well

subinterfaces.py from fmcapi.api_objects.device_services.etherchannelinterfaces import EtherchannelInterfaces intf1 = EtherchannelInterfaces(fmc=self.fmc)

marksull commented 2 years ago

Thanks for contributing for this fix @jmattatall