mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 22:46:01 -03:30
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:
29
awx/network_ui/migrations/0019_auto_20170822_1723.py
Normal file
29
awx/network_ui/migrations/0019_auto_20170822_1723.py
Normal file
@@ -0,0 +1,29 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('network_ui', '0018_auto_20170821_1557'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='stream',
|
||||
name='from_device',
|
||||
field=models.ForeignKey(related_name='from_stream', to='network_ui.Device'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='stream',
|
||||
name='label',
|
||||
field=models.CharField(max_length=200),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='stream',
|
||||
name='to_device',
|
||||
field=models.ForeignKey(related_name='to_stream', to='network_ui.Device'),
|
||||
),
|
||||
]
|
||||
19
awx/network_ui/migrations/0020_device_process_id_seq.py
Normal file
19
awx/network_ui/migrations/0020_device_process_id_seq.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('network_ui', '0019_auto_20170822_1723'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='device',
|
||||
name='process_id_seq',
|
||||
field=models.IntegerField(default=0),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user