Guest User

Untitled

a guest
Apr 25th, 2024
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. {
  2. "target": "bmv2",
  3. "p4info": "build/macsec-test-3_1.p4.p4info.txt",
  4. "bmv2_json": "build/macsec-test-3_1.json",
  5. "table_entries": [
  6. {
  7. "table": "MyIngress.ipv4_lpm",
  8. "default_action": true,
  9. "action_name": "MyIngress.drop",
  10. "action_params": { }
  11. },
  12. {
  13. "table": "MyIngress.mac_exact",
  14. "default_action": true,
  15. "action_name": "MyIngress.drop",
  16. "action_params": { }
  17. },
  18. {
  19. "table": "MyIngress.ipv4_lpm",
  20. "match": {
  21. "hdr.ipv4.dstAddr": ["10.0.1.1", 32]
  22. },
  23. "action_name": "MyIngress.ipv4_forward",
  24. "action_params": {
  25. "dstAddr": "3c:ec:ef:7e:f7:67",
  26. "port": 1
  27. }
  28. },
  29. {
  30. "table": "MyIngress.ipv4_lpm",
  31. "match": {
  32. "hdr.ipv4.dstAddr": ["10.0.3.3", 32]
  33. },
  34. "action_name": "MyIngress.ipv4_forward",
  35. "action_params": {
  36. "dstAddr": "3c:ec:ef:7e:f7:68",
  37. "port": 2
  38. }
  39. },
  40. {
  41. "table": "MyIngress.mac_exact",
  42. "match": {
  43. "hdr.ethernet.dstAddr": "3c:ec:ef:7e:f7:67"
  44. },
  45. "action_name": "MyIngress.mac_forward",
  46. "action_params": {
  47. "dstAddr": "3c:ec:ef:7e:f7:67",
  48. "port": 1
  49. }
  50. },
  51. {
  52. "table": "MyIngress.mac_exact",
  53. "match": {
  54. "hdr.ethernet.dstAddr": "01:0c:cd:04:00:01"
  55. },
  56. "action_name": "MyIngress.mac_forward",
  57. "action_params": {
  58. "dstAddr": "01:0c:cd:04:00:01",
  59. "port": 2
  60. }
  61. }
  62. ],
  63. "multicast_group_entries" : [
  64. {
  65. "multicast_group_id" : 1,
  66. "replicas" : [
  67. {
  68. "egress_port" : 2,
  69. "instance" : 1
  70. }
  71. ]
  72. }
  73. ]
  74. }
Advertisement
Add Comment
Please, Sign In to add comment