Skip to content

add rules, caps, tags properties to controller-network POST and GET #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
laduke opened this issue Nov 7, 2024 · 0 comments
Open

Comments

@laduke
Copy link
Contributor

laduke commented Nov 7, 2024

even if just specing them as any

here's an example from the my.zerotier.com rules engine

{
 "rules": [
  {
   "type": "MATCH_TAGS_BITWISE_AND",
   "not": true,
   "or": false,
   "id": 1,
   "value": 0
  },
  {
   "type": "ACTION_ACCEPT"
  },
  {
   "type": "ACTION_DROP"
  }
 ],
 "capabilities": [
  {
   "id": 1,
   "default": false,
   "rules": [
    {
     "type": "ACTION_ACCEPT"
    }
   ]
  }
 ],
 "tags": [
  {
   "id": 1,
   "default": 0
  }
 ]
}
@laduke laduke self-assigned this Nov 7, 2024
@laduke laduke removed their assignment Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant