chromium/chromeos/components/test/data/onc/settings_with_normalization.json

{
    "unnecessary-address-staticipconfig": {
        "GUID": "guid",
        "Type": "Ethernet",
        "Name": "name",
        "Ethernet": {
            "Authentication": "None"
        },
        "StaticIPConfig": {
            "Gateway":"1.1.1.1",
            "IPAddress": "127.0.0.1"
        }
    },
    "unnecessary-address-staticipconfig-normalized": {
        "GUID": "guid",
        "Type": "Ethernet",
        "Name": "name",
        "Ethernet": {
            "Authentication": "None"
        }
    },
    "retained-staticipconfig-fields": {
        "GUID": "guid",
        "Type": "Ethernet",
        "Name": "name",
        "Ethernet": {
            "Authentication": "None"
        },
        "StaticIPConfig": {
            "IncludedRoutes": ["1.1.1.1/24", "2.2.2.2/24"],
            "ExcludedRoutes": ["3.3.3.3/24"],
            "SearchDomains": ["rick.roll.com"]
        }
    },
    "retained-staticipconfig-fields-normalized": {
        "GUID": "guid",
        "Type": "Ethernet",
        "Name": "name",
        "Ethernet": {
            "Authentication": "None"
        },
        "StaticIPConfig": {
            "IncludedRoutes": ["1.1.1.1/24", "2.2.2.2/24"],
            "ExcludedRoutes": ["3.3.3.3/24"],
            "SearchDomains": ["rick.roll.com"]
        }
    },
    "irrelevant-staticipconfig-fields": {
        "GUID": "guid",
        "Type": "Ethernet",
        "Name": "name",
        "Ethernet": {
            "Authentication": "None"
        },
        "NameServersConfigType": "Static",
        "StaticIPConfig": {
            "Gateway":"1.1.1.1",
            "IPAddress": "127.0.0.1",
            "NameServers": ["8.8.8.8"]
        }
    },
    "irrelevant-staticipconfig-fields-normalized": {
        "GUID": "guid",
        "Type": "Ethernet",
        "Name": "name",
        "Ethernet": {
            "Authentication": "None"
        },
        "NameServersConfigType": "Static",
        "StaticIPConfig": {
            "NameServers": ["8.8.8.8"]
        }
    },
    "irrelevant-nameservers": {
        "GUID": "guid",
        "Type": "Ethernet",
        "Name": "name",
        "Ethernet": {
            "Authentication": "None"
        },
        "NameServersConfigType": "DHCP",
        "StaticIPConfig": {
            "NameServers": ["8.8.8.8"]
        }
    },
    "irrelevant-nameservers-normalized": {
        "GUID": "guid",
        "Type": "Ethernet",
        "Name": "name",
        "Ethernet": {
            "Authentication": "None"
        },
        "NameServersConfigType": "DHCP"
    },
    "missing-ip-fields": {
        "GUID": "guid",
        "Type": "Ethernet",
        "Name": "name",
        "Ethernet": {
            "Authentication": "None"
        },
        "IPAddressConfigType": "Static",
        "StaticIPConfig": {
            "IPAddress": "1.1.1.1",
            "Gateway": "1.1.1.1"
        }
    },
    "missing-ip-fields-normalized": {
        "GUID": "guid",
        "Type": "Ethernet",
        "Name": "name",
        "Ethernet": {
            "Authentication": "None"
        }
    },
    "ethernet-and-vpn": {
        "Recommended": [],
        "GUID": "guid",
        "Type": "Ethernet",
        "Name": "name",
        "Ethernet": {
            "Authentication": "None"
        },
        "VPN": {
            "Type": "L2TP-IPsec",
            "Host": "some.host.org",
            "IPsec": {
                "AuthenticationType": "PSK",
                "IKEVersion": 1,
                "PSK": "some_preshared_key",
                "SaveCredentials": true
            },
            "L2TP": {
                "Username": "some username",
                "Password": "some password"
            }
        }
    },
    "ethernet-and-vpn-normalized": {
        "GUID": "guid",
        "Type": "Ethernet",
        "Name": "name",
        "Ethernet": {
            "Authentication": "None"
        }
    },
    "wifi": {
      "GUID": "{77db0089-0bc8-4358-929c-123xcv}",
      "Type": "WiFi",
      "Name": "SomeWifi-XY",
      "WiFi": {
        "SSID": "SomeWifi-XY",
        "Security": "None",
        "Recommended": [ "AutoConnect" ]
      }
    },
    "wifi-normalized": {
      "GUID": "{77db0089-0bc8-4358-929c-123xcv}",
      "Type": "WiFi",
      "Name": "SomeWifi-XY",
      "WiFi": {
        "SSID": "SomeWifi-XY",
        "HexSSID": "536F6D65576966692D5859",
        "Security": "None"
      }
    }
}