Skip to content

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

Open
@laduke

Description

@laduke

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
  }
 ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions