)]}'
{
  "commit": "ae455ee193ec4671c0d3fa231891f881dcaef152",
  "tree": "4025fce019dd742e43a931e6b979e0674d0d7cb6",
  "parents": [
    "47c5bb8ee7a709d1ee0e4f2276da2e837137244e"
  ],
  "author": {
    "name": "Jtolelo",
    "email": "jeanvetorello@gmail.com",
    "time": "Mon Apr 13 09:18:29 2026 -0300"
  },
  "committer": {
    "name": "Daan Hoogland",
    "email": "dahn@apache.org",
    "time": "Mon Apr 13 15:40:26 2026 +0200"
  },
  "message": "VPC restart cleanup for Public networks with multi-CIDR data (#12622)\n\n* Fix VPC restart with multi-CIDR networks: handle comma-separated CIDR in NetworkVO.equals()\n\nWhen a network has multiple CIDRs (e.g. \u0027192.168.2.0/24,160.0.0.0/24\u0027),\nNetworkVO.equals() passes the raw comma-separated string to\nNetUtils.isNetworkAWithinNetworkB() which expects a single CIDR,\ncausing \u0027cidr is not formatted correctly\u0027 error during VPC restart\nwith cleanup\u003dtrue.\n\nExtract only the first CIDR value before passing to NetUtils.\n\n* Fix root cause: skip CIDR/gateway updates for Public traffic type networks\n\naddCidrAndGatewayForIpv4/Ipv6 (introduced by PR #11249) was called for all\nnetwork types without checking if the network is Public. This caused\ncomma-separated CIDRs to be stored on Public networks, which then triggered\n\u0027cidr is not formatted correctly\u0027 errors during VPC restart.\n\nAdd TrafficType.Public guard in both the VLAN creation (addCidr) and\nVLAN deletion (removeCidr) paths in ConfigurationManagerImpl.\n\n* Sanitize legacy network-level addressing fields for Public networks\n\n---------\n\nCo-authored-by: dahn \u003cdaan@onecht.net\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "96522375962d905f9f507bdc4d209b43e184661a",
      "old_mode": 33188,
      "old_path": "engine/schema/src/main/resources/META-INF/db/schema-42200to42210.sql",
      "new_id": "42d806b0ed4aa914de5cf816b6f3a8ccb371861d",
      "new_mode": 33188,
      "new_path": "engine/schema/src/main/resources/META-INF/db/schema-42200to42210.sql"
    },
    {
      "type": "modify",
      "old_id": "e7306b3a8c5aa15581f068daecf765bd06354203",
      "old_mode": 33188,
      "old_path": "server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java",
      "new_id": "8933879a2bbfc1c00ffeb14627b4279c2fb0095a",
      "new_mode": 33188,
      "new_path": "server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java"
    }
  ]
}
