sastre icon indicating copy to clipboard operation
sastre copied to clipboard

Restore configuration groups is missing the topology data.

Open tzarski0 opened this issue 1 year ago • 0 comments

The configuration groups that is backed up has the "topology" data that defines:

  • if the group is single device or dual device
  • for dual device, listing which parcels do not apply to which device ('unsupportedFeatures' key).

Example from config group export:

  "topology": {
    "devices": [
      {
        "criteria": {
          "attribute": "tag",
          "value": "EdgeDevice_01"
        },
        "unsupportedFeatures": [
          {
            "parcelType": "wan/vpn/interface/ethernet",
            "parcelId": "f970b0c8-2e1a-4d3d-a47a-f2ff32deb1d6"
          },
          {
            "parcelType": "wan/vpn/interface/ethernet",
            "parcelId": "6fa3be03-3b7b-47b5-9231-a9abdcc8a984"
          },
          {
            "parcelType": "wan/vpn/interface/ethernet",
            "parcelId": "4af158b4-a435-4a8a-84d2-d87fe6a64b19"
          }
        ]
      },
      {
        "criteria": {
          "attribute": "tag",
          "value": "EdgeDevice_02"
        },
        "unsupportedFeatures": [
          {
            "parcelType": "wan/vpn/interface/ethernet",
            "parcelId": "f3fb8fdc-d22a-4b02-bdfe-fb1e5a935e65"
          },
          {
            "parcelType": "wan/vpn/interface/ethernet",
            "parcelId": "df2f009c-d990-41dd-8e80-d47e769538a1"
          },
          {
            "parcelType": "wan/vpn/interface/ethernet",
            "parcelId": "32bcf51a-e0ac-42c0-a918-fa9a784788a5"
          }
        ]
      }
    ],
    "siteDevices": 2
  },

When restoring the configuration groups, this data is omitted now so it doesn't work as expected. The ask is to include this data when doing restore and also update the parcelIds in unsupportedFeatures block.

tzarski0 avatar Apr 11 '24 12:04 tzarski0