},
/**
- * Get the name of the opkg package providing the protocol functionality.
+ * Gets the name of the package providing the protocol functionality. The
+ * package is available via the system default package manager. This is used
+ * when a config refers to a protocol handler which is not yet installed.
*
* This function should be overwritten by protocol specific subclasses.
*
* @abstract
*
* @returns {string}
- * Returns the name of the opkg package required for the protocol to
+ * Returns the name of the package to download, required for the protocol to
* function, e.g. `odhcp6c` for the `dhcpv6` protocol.
*/
- getOpkgPackage: function() {
+ getPackageName: function() {
return null;
},
return this._ubus('l3_device') || '3g-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'comgt';
},
return _('Avahi IPv4LL');
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'avahi-autoipd';
},
return this._ubus('l3_device') || this.sid;
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'kmod-batman-adv';
},
return this._ubus('l3_device') || this.sid;
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'kmod-batman-adv';
},
return null;
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'bonding';
},
return _('Externally managed interface');
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return "external-protocol";
},
return this._ubus('l3_device') || 'gre4-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'gre';
},
return this._ubus('l3_device') || 'gre4t-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'gre';
},
return this._ubus('l3_device') || 'gre6-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'gre';
},
return this._ubus('l3_device') || 'gre6t-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'gre';
},
return _('Automatic Homenet (HNCP)');
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'hnet-full';
},
return this._ubus('l3_device') || 'ipip-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'ipip';
},
return this._ubus('l3_device') || '464-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return '464xlat';
},
return this._ubus('l3_device') || '6in4-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return '6in4';
},
return this._ubus('l3_device') || '6rd-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return '6rd';
},
return this._ubus('l3_device') || '6to4-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return '6rd';
},
return _('DHCPv6 client');
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'odhcp6c';
},
return this._ubus('l3_device') || 'ds-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'ds-lite';
},
return this._ubus('l3_device') || 'ipip6-%s'.format(this.sid);
},
- getOpkgPackage: function () {
+ getPackageName: function () {
return 'ds-lite';
},
return this._ubus('l3_device') || 'map-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'map-t';
},
return this._ubus('l3_device') || 'mbim-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'umbim';
},
return this._ubus('l3_device') || 'modemmanager-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'modemmanager';
},
return this._ubus('l3_device') || 'wan';
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'comgt-ncm';
},
return this._ubus('l3_device') || this.sid;
},
- getOpkgPackage: function () {
+ getPackageName: function () {
return 'nebula';
},
return this._ubus('l3_device') || 'vpn-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'openconnect';
},
return this._ubus('l3_device') || 'vpn-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'openfortivpn';
},
return this._ubus('l3_device') || 'l2tp-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'xl2tpd';
},
return this._ubus('l3_device') || 'ppp-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'ppp';
},
return this._ubus('l3_device') || 'pppoa-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'ppp-mod-pppoa';
},
return this._ubus('l3_device') || 'pppoe-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'ppp-mod-pppoe';
},
return this._ubus('l3_device') || 'pptp-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'ppp-mod-pptp';
},
return this._ubus('l3_device') || 'pppossh-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'pppossh';
},
return this._ubus('l3_device') || 'qmi-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'uqmi';
},
return 'relay-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'relayd';
},
return this._ubus('l3_device') || 'sstp-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'sstp-client';
},
return this._ubus('l3_device') || this.sid;
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'unetd';
},
return this._ubus('l3_device') || 'vpn-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'vpnc';
},
return this._ubus('l3_device') || 'vti-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'vti';
},
return this._ubus('l3_device') || 'vxlan-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'vxlan';
},
return this._ubus('l3_device') || 'vxlan-%s'.format(this.sid);
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'vxlan';
},
return this._ubus('l3_device') || this.sid;
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'wireguard-tools';
},
return this._ubus('l3_device') || this.sid;
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'xfrm';
},
getType: function() {
return "tunnel";
},
- getOpkgPackage: function() {
+ getPackageName: function() {
return 'yggdrasil';
},
isFloating: function() {