Hello, I'm new to using json rpc ubus and I'm having trouble creating a new simple network interface. I am creating the new network with the following json format:
{
"jsonrpc": "2.0", "id": 1, "method": "call", "params":
[
"ffd5293caf4a20fda9ee581f6de4acd5", "uci", "set",
{
"config": "network",
"section": "new_net",
"type": "interface",
"values":
{
"type": "bridge",
"proto": "none",
"ifname": "eth0.2000"
}
}
]
}
And the result is always:
{
"jsonrpc": "2.0",
"id": 1,
"result": [
4
]
}
Someone could help me