"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isThirdPartyCNI = exports.NETWORK_TYPE_FEATURE_IDS = exports.NETWORK_TYPE_LABELS = exports.NETWORK_TYPE_NONE = exports.NETWORK_TYPE_CALICO = exports.NETWORK_TYPE_CILIUM = exports.NETWORK_TYPE_CISCO_ACI = exports.NETWORK_TYPE_SDN = exports.NETWORK_TYPE_OVN = void 0;
exports.NETWORK_TYPE_OVN = 'OVNKubernetes';
exports.NETWORK_TYPE_SDN = 'OpenShiftSDN';
exports.NETWORK_TYPE_CISCO_ACI = 'CiscoACI';
exports.NETWORK_TYPE_CILIUM = 'Cilium';
exports.NETWORK_TYPE_CALICO = 'Calico';
exports.NETWORK_TYPE_NONE = 'None';
const NETWORK_TYPE_LABELS = (t) => ({
    [exports.NETWORK_TYPE_OVN]: t('ai:Open Virtual Networking (OVN)'),
    [exports.NETWORK_TYPE_SDN]: t('ai:Software-Defined Networking (SDN)'),
    [exports.NETWORK_TYPE_CISCO_ACI]: t('ai:Cisco ACI'),
    [exports.NETWORK_TYPE_CILIUM]: t('ai:Isovalent Cilium'),
    [exports.NETWORK_TYPE_CALICO]: t('ai:Tigera Calico'),
    [exports.NETWORK_TYPE_NONE]: t('ai:None (Custom CNI)'),
});
exports.NETWORK_TYPE_LABELS = NETWORK_TYPE_LABELS;
exports.NETWORK_TYPE_FEATURE_IDS = {
    [exports.NETWORK_TYPE_OVN]: 'OVN_NETWORK_TYPE',
    [exports.NETWORK_TYPE_SDN]: 'SDN_NETWORK_TYPE',
    [exports.NETWORK_TYPE_CISCO_ACI]: 'CISCO_ACI_NETWORK_TYPE',
    [exports.NETWORK_TYPE_CILIUM]: 'CILIUM_NETWORK_TYPE',
    [exports.NETWORK_TYPE_CALICO]: 'CALICO_NETWORK_TYPE',
    [exports.NETWORK_TYPE_NONE]: 'NONE_NETWORK_TYPE',
};
const isThirdPartyCNI = (networkType) => !!networkType && networkType !== exports.NETWORK_TYPE_OVN && networkType !== exports.NETWORK_TYPE_SDN;
exports.isThirdPartyCNI = isThirdPartyCNI;
//# sourceMappingURL=networkType.js.map