mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-03-11 03:39:11 +01:00
Network update: deprecate vendor extension 'dspc2pbit'
This commit is contained in:
parent
431fb5431f
commit
4364f3b529
2 changed files with 0 additions and 52 deletions
28
dmtree/vendor/iopsys/tr181/bridging.c
vendored
28
dmtree/vendor/iopsys/tr181/bridging.c
vendored
|
|
@ -39,33 +39,6 @@ static int set_BridgingBridgePort_Egress_PriorityRegeneration(char *refparam, st
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int get_BridgingBridgePort_DSCP_Eth_Priority_Map(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value)
|
||||
{
|
||||
bridging_get_priority_list("dscp2pbit", data, value);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int set_BridgingBridgePort_DSCP_Eth_Priority_Map(char *refparam, struct dmctx *ctx, void *data, char *instance, char *value, int action)
|
||||
{
|
||||
char *type = NULL;
|
||||
|
||||
switch (action) {
|
||||
case VALUECHECK:
|
||||
if (dm_validate_unsignedInt_list(value, 1, 64, -1, RANGE_ARGS{{"0","7"}}, 1))
|
||||
return FAULT_9007;
|
||||
|
||||
dmuci_get_value_by_section_string(((struct bridge_port_args *)data)->bridge_port_sec, "type", &type);
|
||||
if (DM_STRLEN(type) == 0)
|
||||
return FAULT_9007;
|
||||
|
||||
return 0;
|
||||
case VALUESET:
|
||||
bridging_set_priority_list("dscp2pbit", data, value);
|
||||
return 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int get_BridgingBridgeVLAN_TVID(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value)
|
||||
{
|
||||
bridging_get_vlan_tvid("tvid", data, value);
|
||||
|
|
@ -92,7 +65,6 @@ static int set_BridgingBridgeVLAN_TVID(char *refparam, struct dmctx *ctx, void *
|
|||
DMLEAF tIOPSYS_BridgingBridgePortParams[] = {
|
||||
/* PARAM, permission, type, getvalue, setvalue, bbfdm_type*/
|
||||
{BBF_VENDOR_PREFIX"EgressPriorityRegeneration", &DMWRITE, DMT_STRING, get_BridgingBridgePort_Egress_PriorityRegeneration, set_BridgingBridgePort_Egress_PriorityRegeneration, BBFDM_BOTH},
|
||||
{BBF_VENDOR_PREFIX"DSCPEthernetPriorityMapping", &DMWRITE, DMT_STRING, get_BridgingBridgePort_DSCP_Eth_Priority_Map, set_BridgingBridgePort_DSCP_Eth_Priority_Map, BBFDM_BOTH},
|
||||
{0}
|
||||
};
|
||||
|
||||
|
|
|
|||
24
dmtree/vendor/iopsys/vendor.json
vendored
24
dmtree/vendor/iopsys/vendor.json
vendored
|
|
@ -497,30 +497,6 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"{BBF_VENDOR_PREFIX}DSCPEthernetPriorityMapping": {
|
||||
"type": "string",
|
||||
"read": true,
|
||||
"write": true,
|
||||
"version": "2.5",
|
||||
"protocols": [
|
||||
"cwmp",
|
||||
"usp"
|
||||
],
|
||||
"description": "DSCP to pbit mapping, to map pbit to untagged vlan packet created at the cpe",
|
||||
"list": {
|
||||
"datatype": "unsignedInt",
|
||||
"item": {
|
||||
"min": 1,
|
||||
"max": 64
|
||||
},
|
||||
"range": [
|
||||
{
|
||||
"min": 0,
|
||||
"max": 7
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Device.Bridging.Bridge.{i}.VLAN.{i}.": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue