Adds streams and processes for application design

Adds application level streams and process widgets to
model applications that run on networking devices or hosts.

* Changes Application to Process
* Adds StreamCreate and ProcessCreate messages
* Adds process id sequence to device
* Add serializers for streams and processes
This commit is contained in:
Ben Thomasson
2017-08-21 20:38:33 +00:00
parent d153d5f907
commit c79ef60d8b
17 changed files with 364 additions and 156 deletions

View File

@@ -25,6 +25,9 @@ models:
- default: 0
name: interface_id_seq
type: IntegerField
- default: 0
name: process_id_seq
type: IntegerField
name: Device
x: 348
y: 124
@@ -256,19 +259,17 @@ models:
ref_field: stream_id
type: AutoField
- name: from_device
ref: Stream
ref_field: from_device
ref: Device
ref_field: device_id
related_name: from_stream
type: ForeignKey
- name: to_device
ref: Stream
ref_field: to_device
ref: Device
ref_field: device_id
related_name: to_stream
type: ForeignKey
- len: 200
name: label
ref: Stream
ref_field: label
type: CharField
- default: 0
name: id