- is separate or same DB as CRM
- runs from separate flask server (separate UI)
- will be run from different repo's e.g. per customer
- export/import feature will be used as main mechanism to visualize the data
- will be merged into a central DB when useful (by copying the exported json files into the central one)
- import model from crm as part of this new extended model
- name
- description
- location (as markdown)
- state (NEW, INSTALLING, OK, ERROR, PAUSE)
- owners (can be more than 1) (*)
- tasks
- links
- comments
- messages
- devices
linked to
- contacts (*)
- companies (*)
- projects (*)
- name
- description
- techid (str, is to describe some technical identification)
- category
- cost
- currency
- vendor (is link to a company, optional)
- location (as markdown)
- state (NEW, INSTALLING, OK, ERROR, PAUSE)
- tasks
- links
- comments
- messages
- components (list)
- istemplate (boolean)
- ports (list)
- connections (list)
- name
- description
- type (ethernet, bridge, vxlanbridge, serial)
- connections (list)
- netaddresses (list)
- macaddress (str)
- name
- description
- category
- cost
- currency
- techid (str, is to describe some technical identification)
- vendor (is link to a company)
- location (as markdown)
- state (NEW, INSTALLING, OK, ERROR)
- tasks
- links
- comments
- istemplate (boolean)
- description (normally empty)
- type (OOB, MGMT, PUB, OVERLAY): auto filled in when network range selected
- techid (str, is to describe some technical identification)
- state (NEW, OK, DOWN)
- ipaddr (ipv4 or 6 addr)
- networkrange (link and only 1)
- description
- type (OOB, MGMT, PUB, OVERLAY)
- techid (str, is to describe some technical identification)
- state (NEW, OK, DOWN)
- ipv6 (boolean)
- range e.g. 192.168.10.0/24
- gateway e.g. 192.168.10.254
- name
- description
- type (zerotier, vlan, lan, vxlan, serial, power,ethernet)
- techid (str, is to describe some technical identification)
- devices (list): devices connected to this connection (if no port)
- ports (list): ports connected to this connection
- networkranges (list)
- state (NEW, OK, DOWN)