Hello everyone,
I have the following python script that creates an external network, but now after
updating ovirt a new option "network port security" exists that is set as
enabled by default.
How can i disable the network port security?
thanks!! :)
networks_service = connection.system_service().networks_service()
# Use the "add" method to create new VM logical network in data center
network = networks_service.add(
network=types.Network(
name= ext_net_name,
description='Network for testing API',
data_center=types.DataCenter(
name='Default'
),
usages=[types.NetworkUsage.VM],
external_provider=types.OpenStackNetworkProvider(
id=provider.id
)
),