cloudstack/framework
Marco Sinhoreli f6dc4f36ad NE: persist OVN broadcast type and URI on Network for vif.binding=lswitch
Companion to the NIC-level URI override -- when an extension declares
vif.binding=lswitch, the Network row itself should advertise
``broadcast_domain_type=Lswitch`` and ``broadcast_uri=ovn://cs-net-<id>``
so listNetworks / details views are consistent with what the OVN
control plane represents.

Without this hook the GuestNetworkGuru still allocated a VLAN at
design time, which leaks back into the UI:

   VLAN/VNI:        138
   Broadcast URI:   vlan://138

Apply the override on a successful ``implement-network`` script return
in NetworkExtensionElement.implement().  The VLAN that the guru
allocated stays as a ghost in op_dc_vnet_alloc -- it is never used on
the wire because the VIF attaches to br-int and traffic flows through
OVN's logical pipeline over geneve.  Releasing the VLAN back to the
pool would require intercepting the design phase and is out of scope
for this hook.

Verified end-to-end: i-2-27-VM on network 216 now lists

   networks.broadcast_uri          = ovn://cs-net-216
   networks.broadcast_domain_type  = Lswitch
   nics.broadcast_uri              = ovn://cs-net-216
   nics.isolation_uri              = ovn://cs-net-216

The OVN NB LSP / OVS iface-id / OVN SB Port_Binding remain bound, as
before.
2026-05-12 10:16:27 +01:00
..
agent-lb Updating pom.xml version numbers for release 22.0.1 2026-04-13 11:53:00 +02:00
ca Updating pom.xml version numbers for release 22.0.1 2026-04-13 11:53:00 +02:00
cluster Updating pom.xml version numbers for release 22.0.1 2026-04-13 11:53:00 +02:00
config Updating pom.xml version numbers for release 22.0.1 2026-04-13 11:53:00 +02:00
db Improve Quota Statement (#10506) 2026-04-29 21:09:13 -03:00
direct-download Updating pom.xml version numbers for release 22.0.1 2026-04-13 11:53:00 +02:00
events Updating pom.xml version numbers for release 22.0.1 2026-04-13 11:53:00 +02:00
extensions NE: persist OVN broadcast type and URI on Network for vif.binding=lswitch 2026-05-12 10:16:27 +01:00
ipc Updating pom.xml version numbers for release 22.0.1 2026-04-13 11:53:00 +02:00
jobs Merge branch '4.22' 2026-04-14 14:50:44 +02:00
managed-context Updating pom.xml version numbers for release 22.0.1 2026-04-13 11:53:00 +02:00
quota Number of running and stopped VMs as preset variables for `Network` type Quota tariffs (#11689) 2026-05-01 11:54:40 +02:00
rest Updating pom.xml version numbers for release 22.0.1 2026-04-13 11:53:00 +02:00
security Updating pom.xml version numbers for release 22.0.1 2026-04-13 11:53:00 +02:00
spring Updating pom.xml version numbers for release 22.0.1 2026-04-13 11:53:00 +02:00
pom.xml Updating pom.xml version numbers for release 22.0.1 2026-04-13 11:53:00 +02:00