from kvirt.config import Kconfig

cluster = 'testk'
network = "default"
api_ip = "12.0.0.253"
cidr = "12.0.0.0/24"

config = Kconfig()
config.k.delete_network_port(f"{cluster}-vip" % cluster)
config.k.create_network(name=network, cidr=cidr, overrides={'port_security_enabled': True})
config.k.create_network_port(f"{cluster}-vip" % cluster, network, ip=api_ip, floating=True)

@@ -60,14 +60,12 @@
  = %22
-defaul
+myne
 t%22%0Aa
@@ -85,16 +85,42 @@
 .0.253%22%0A
+ingress_ip = %2212.0.0.252%22%0A
 cidr = %22
@@ -193,30 +193,24 @@
 luster%7D-
+api-
 vip%22
- %25 cluster
 )%0Aconfig
@@ -340,22 +340,106 @@
 er%7D-
-vip%22 %25 cluster
+api-vip%22, network, ip=api_ip, floating=True)%0Aconfig.k.create_network_port(f%22%7Bcluster%7D-ingress-vip%22
 , ne
@@ -440,35 +440,39 @@
 p%22, network, ip=
-api
+ingress
 _ip, floating=Tr

fix openstack.py sample