mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Move USB datamodel to USBManager
This commit is contained in:
parent
3a0beff852
commit
681c49fae1
5 changed files with 9 additions and 1140 deletions
|
|
@ -109,5 +109,6 @@ All supported tools are presented in this file[BBFDM Tools](./tools/README.md)
|
|||
| Device.Ethernet. | ethmngr | https://dev.iopsys.eu/hal/ethmngr.git |
|
||||
| Device.QoS. | qosmngr | https://dev.iopsys.eu/hal/qosmngr.git |
|
||||
| Device.SSH. | sshmngr | https://dev.iopsys.eu/network/sshmngr.git |
|
||||
| Device.USB. | usbmngr | https://dev.iopsys.eu/system/usbmngr.git |
|
||||
| Device.X_IOPSYS_EU_IGMP. | mcastmngr | https://dev.iopsys.eu/hal/mcastmngr.git |
|
||||
| Device.X_IOPSYS_EU_MLD. | mcastmngr | https://dev.iopsys.eu/hal/mcastmngr.git |
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
#include "routing.h"
|
||||
#include "firewall.h"
|
||||
#include "interfacestack.h"
|
||||
#include "usb.h"
|
||||
#include "gre.h"
|
||||
#include "lanconfigsecurity.h"
|
||||
#include "security.h"
|
||||
|
|
@ -89,7 +88,6 @@ DMOBJ tDeviceObj[] = {
|
|||
{"Firewall", &DMREAD, NULL, NULL, "file:/etc/config/firewall", NULL, NULL, NULL, tFirewallObj, tFirewallParams, NULL, BBFDM_BOTH, NULL},
|
||||
{"IEEE1905", &DMREAD, NULL, NULL, "file:/etc/config/ieee1905", NULL, NULL, NULL, tIEEE1905Obj, tIEEE1905Params, NULL, BBFDM_BOTH, NULL},
|
||||
{"InterfaceStack", &DMREAD, NULL, NULL, "file:/etc/config/network", browseInterfaceStackInst, NULL, NULL, NULL, tInterfaceStackParams, NULL, BBFDM_BOTH, NULL},
|
||||
{"USB", &DMREAD, NULL, NULL, NULL, NULL, NULL, NULL, tUSBObj, tUSBParams, NULL, BBFDM_BOTH, NULL},
|
||||
{"GRE", &DMREAD, NULL, NULL, "file:/lib/netifd/proto/gre.sh,/etc/config/network", NULL, NULL, NULL, tGREObj, tGREParams, NULL, BBFDM_BOTH, NULL},
|
||||
{"LANConfigSecurity", &DMREAD, NULL, NULL, "file:/etc/config/users", NULL, NULL, NULL, NULL, tLANConfigSecurityParams, NULL, BBFDM_BOTH, NULL},
|
||||
{"Security", &DMREAD, NULL, NULL, NULL, NULL, NULL, NULL, tSecurityObj, tSecurityParams, NULL, BBFDM_BOTH, NULL},
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,33 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2019 iopsys Software Solutions AB
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License version 2.1
|
||||
* as published by the Free Software Foundation
|
||||
*
|
||||
* Author: Omar Kallel <omar.kallel@pivasoftware.com>
|
||||
*/
|
||||
|
||||
#ifndef __USB_H
|
||||
#define __USB_H
|
||||
|
||||
#include "libbbfdm-api/dmcommon.h"
|
||||
|
||||
extern DMOBJ tUSBObj[];
|
||||
extern DMLEAF tUSBParams[];
|
||||
extern DMOBJ tUSBInterfaceObj[];
|
||||
extern DMLEAF tUSBInterfaceParams[];
|
||||
extern DMLEAF tUSBInterfaceStatsParams[];
|
||||
extern DMLEAF tUSBPortParams[];
|
||||
extern DMOBJ tUSBUSBHostsObj[];
|
||||
extern DMLEAF tUSBUSBHostsParams[];
|
||||
extern DMOBJ tUSBUSBHostsHostObj[];
|
||||
extern DMLEAF tUSBUSBHostsHostParams[];
|
||||
extern DMOBJ tUSBUSBHostsHostDeviceObj[];
|
||||
extern DMLEAF tUSBUSBHostsHostDeviceParams[];
|
||||
extern DMOBJ tUSBUSBHostsHostDeviceConfigurationObj[];
|
||||
extern DMLEAF tUSBUSBHostsHostDeviceConfigurationParams[];
|
||||
extern DMLEAF tUSBUSBHostsHostDeviceConfigurationInterfaceParams[];
|
||||
|
||||
#endif //__USB_H
|
||||
|
||||
|
|
@ -216,6 +216,14 @@
|
|||
"bbf_plugin/vendor_ethernet.c",
|
||||
"bbf_plugin/dmlayer.c"
|
||||
]
|
||||
},
|
||||
{
|
||||
"repo": "https://dev.iopsys.eu/system/usbmngr.git",
|
||||
"proto": "git",
|
||||
"version": "devel",
|
||||
"dm_files": [
|
||||
"src/datamodel.c"
|
||||
]
|
||||
}
|
||||
],
|
||||
"output": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue