Nov-09-2016, 01:11 PM
Thanks! One more thing thou:
I need to change 10.1.1.1/24 with the variable subnet. So the output from subnet changes for every line.
fvSubnet = cobra.model.fv.Subnet(fvBD, name='', descr='', ctrl='', ip='10.1.1.1/24', preferred='no', virtual='no')
Is it possible to do this:
fvSubnet = cobra.model.fv.Subnet(fvBD, name='', descr='', ctrl='', ip=subnet, preferred='no', virtual='no')
I need to change 10.1.1.1/24 with the variable subnet. So the output from subnet changes for every line.
fvSubnet = cobra.model.fv.Subnet(fvBD, name='', descr='', ctrl='', ip='10.1.1.1/24', preferred='no', virtual='no')
Is it possible to do this:
fvSubnet = cobra.model.fv.Subnet(fvBD, name='', descr='', ctrl='', ip=subnet, preferred='no', virtual='no')