...
Code Block | ||||
---|---|---|---|---|
| ||||
curl -X POST -d '{"src-ip": "10.0.0.3/32"}' http://localhost:8080/wm/firewall/rules/json curl -X POST -d '{, "dst-ip": "10.0.0.37/32"}' http://localhost:8080/wm/firewall/rules/json curl -X POST -d '{"src-ip": "10.0.0.7/32"}' http://localhost:8080/wm/firewall/rules/json curl -X POST -d '{, "dst-ip": "10.0.0.73/32"}' http://localhost:8080/wm/firewall/rules/json |
...
Code Block | ||||
---|---|---|---|---|
| ||||
curl -X POST -d '{"src-mac": "00:00:00:00:00:0a"}' http://localhost:8080/wm/firewall/rules/json curl -X POST -d '{, "dst-mac": "00:00:00:00:00:0a"}' http://localhost:8080/wm/firewall/rules/json curl -X POST -d '{"src-mac": "00:00:00:00:00:0b"}' http://localhost:8080/wm/firewall/rules/json curl -X POST -d '{, "dst-mac": "00:00:00:00:00:0b"}' http://localhost:8080/wm/firewall/rules/json |
...