diff --git a/src/network_inventory.json b/src/network_inventory.json new file mode 100644 index 0000000..9488df6 --- /dev/null +++ b/src/network_inventory.json @@ -0,0 +1,2778 @@ +[ +{ + "model": "backups.notificationtype", + "pk": 1, + "fields": { + "name": "Email" + } +}, +{ + "model": "backups.notification", + "pk": 1, + "fields": { + "name": "Support Email", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "recipient": "support@pharma.com", + "notification_type": 1 + } +}, +{ + "model": "backups.backupmethod", + "pk": 1, + "fields": { + "name": "Sync", + "description": "" + } +}, +{ + "model": "backups.backupmethod", + "pk": 2, + "fields": { + "name": "Forward Incremental", + "description": "" + } +}, +{ + "model": "backups.backupmethod", + "pk": 3, + "fields": { + "name": "Reversed Incremental", + "description": "" + } +}, +{ + "model": "backups.backupmethod", + "pk": 4, + "fields": { + "name": "Sure Backup", + "description": "" + } +}, +{ + "model": "backups.backupmethod", + "pk": 5, + "fields": { + "name": "Copy Job", + "description": "" + } +}, +{ + "model": "backups.backup", + "pk": 1, + "fields": { + "name": "Daily Backup", + "computer": 1, + "method": 1, + "software": 16, + "source_path": "c:/User", + "exec_time": "11:21:52", + "exec_days": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7 + ] + } +}, +{ + "model": "backups.backup", + "pk": 2, + "fields": { + "name": "Weekly Backup", + "computer": 2, + "method": 1, + "software": 16, + "source_path": "c:/", + "exec_time": "00:00:00", + "exec_days": [ + 4 + ] + } +}, +{ + "model": "backups.notificationfrombackup", + "pk": 1, + "fields": { + "backup": 1, + "notification": 1 + } +}, +{ + "model": "backups.notificationfrombackup", + "pk": 2, + "fields": { + "backup": 2, + "notification": 1 + } +}, +{ + "model": "computers.cpuarchitecture", + "pk": 1, + "fields": { + "name": "x86_64" + } +}, +{ + "model": "computers.cpuarchitecture", + "pk": 2, + "fields": { + "name": "i686" + } +}, +{ + "model": "computers.cpuarchitecture", + "pk": 3, + "fields": { + "name": "ARM" + } +}, +{ + "model": "computers.cpuarchitecture", + "pk": 4, + "fields": { + "name": "ARM64" + } +}, +{ + "model": "computers.cpumanufacturer", + "pk": 1, + "fields": { + "name": "Intel", + "description": "" + } +}, +{ + "model": "computers.cpumanufacturer", + "pk": 2, + "fields": { + "name": "AMD", + "description": "" + } +}, +{ + "model": "computers.cpu", + "pk": 1, + "fields": { + "name": "Generic Intel CPU", + "manufacturer": 1, + "number_of_cores": null, + "frequency": null, + "architecture": null, + "hyper_threading": false + } +}, +{ + "model": "computers.cpu", + "pk": 2, + "fields": { + "name": "Generic AMD CPU", + "manufacturer": 2, + "number_of_cores": null, + "frequency": null, + "architecture": null, + "hyper_threading": false + } +}, +{ + "model": "computers.disktype", + "pk": 1, + "fields": { + "name": "SSD" + } +}, +{ + "model": "computers.disktype", + "pk": 2, + "fields": { + "name": "HDD" + } +}, +{ + "model": "computers.disktype", + "pk": 3, + "fields": { + "name": "SAS" + } +}, +{ + "model": "computers.disk", + "pk": 1, + "fields": { + "disk_type": 1, + "size_in_gb": 256 + } +}, +{ + "model": "computers.disk", + "pk": 2, + "fields": { + "disk_type": 2, + "size_in_gb": 1000 + } +}, +{ + "model": "computers.gpumanufacturer", + "pk": 1, + "fields": { + "name": "Intel", + "description": "" + } +}, +{ + "model": "computers.gpumanufacturer", + "pk": 2, + "fields": { + "name": "AMD", + "description": "" + } +}, +{ + "model": "computers.gpumanufacturer", + "pk": 3, + "fields": { + "name": "Nvidia", + "description": "" + } +}, +{ + "model": "computers.gpu", + "pk": 1, + "fields": { + "name": "GTX 1080", + "manufacturer": 3 + } +}, +{ + "model": "computers.ramtype", + "pk": 1, + "fields": { + "name": "unkown" + } +}, +{ + "model": "computers.ramtype", + "pk": 2, + "fields": { + "name": "DDR2" + } +}, +{ + "model": "computers.ramtype", + "pk": 3, + "fields": { + "name": "DDR3" + } +}, +{ + "model": "computers.ramtype", + "pk": 4, + "fields": { + "name": "DDR4" + } +}, +{ + "model": "computers.ram", + "pk": 1, + "fields": { + "ram_type": 1, + "size_in_gb": 1, + "ecc": false + } +}, +{ + "model": "computers.ram", + "pk": 2, + "fields": { + "ram_type": 1, + "size_in_gb": 2, + "ecc": false + } +}, +{ + "model": "computers.ram", + "pk": 3, + "fields": { + "ram_type": 1, + "size_in_gb": 4, + "ecc": false + } +}, +{ + "model": "computers.ram", + "pk": 4, + "fields": { + "ram_type": 1, + "size_in_gb": 8, + "ecc": false + } +}, +{ + "model": "computers.ram", + "pk": 5, + "fields": { + "ram_type": 1, + "size_in_gb": 16, + "ecc": false + } +}, +{ + "model": "computers.ram", + "pk": 6, + "fields": { + "ram_type": 1, + "size_in_gb": 24, + "ecc": false + } +}, +{ + "model": "computers.ram", + "pk": 7, + "fields": { + "ram_type": 1, + "size_in_gb": 32, + "ecc": false + } +}, +{ + "model": "computers.ram", + "pk": 8, + "fields": { + "ram_type": 1, + "size_in_gb": 64, + "ecc": false + } +}, +{ + "model": "computers.ram", + "pk": 9, + "fields": { + "ram_type": 1, + "size_in_gb": 96, + "ecc": false + } +}, +{ + "model": "computers.ram", + "pk": 10, + "fields": { + "ram_type": 1, + "size_in_gb": 128, + "ecc": false + } +}, +{ + "model": "computers.ram", + "pk": 11, + "fields": { + "ram_type": 1, + "size_in_gb": 256, + "ecc": false + } +}, +{ + "model": "computers.ram", + "pk": 12, + "fields": { + "ram_type": 1, + "size_in_gb": 512, + "ecc": false + } +}, +{ + "model": "computers.computer", + "pk": 1, + "fields": { + "os": 12, + "host": null, + "allocated_space": null + } +}, +{ + "model": "computers.computer", + "pk": 2, + "fields": { + "os": 12, + "host": null, + "allocated_space": null + } +}, +{ + "model": "computers.computer", + "pk": 3, + "fields": { + "os": 3, + "host": null, + "allocated_space": null + } +}, +{ + "model": "computers.computercpurelation", + "pk": 1, + "fields": { + "cpu": 1, + "computer": 1, + "amount": 1 + } +}, +{ + "model": "computers.computercpurelation", + "pk": 2, + "fields": { + "cpu": 1, + "computer": 2, + "amount": 1 + } +}, +{ + "model": "computers.computercpurelation", + "pk": 3, + "fields": { + "cpu": 2, + "computer": 3, + "amount": 1 + } +}, +{ + "model": "computers.computerramrelation", + "pk": 9, + "fields": { + "ram": 4, + "computer": 1, + "amount": 2 + } +}, +{ + "model": "computers.computerramrelation", + "pk": 10, + "fields": { + "ram": 5, + "computer": 2, + "amount": 2 + } +}, +{ + "model": "computers.computerramrelation", + "pk": 11, + "fields": { + "ram": 6, + "computer": 3, + "amount": 1 + } +}, +{ + "model": "computers.computerdiskrelation", + "pk": 1, + "fields": { + "disk": 1, + "computer": 1, + "amount": 1 + } +}, +{ + "model": "computers.computerdiskrelation", + "pk": 2, + "fields": { + "disk": 1, + "computer": 2, + "amount": 3 + } +}, +{ + "model": "computers.computerdiskrelation", + "pk": 3, + "fields": { + "disk": 2, + "computer": 3, + "amount": 1 + } +}, +{ + "model": "computers.computersoftwarerelation", + "pk": 1, + "fields": { + "software": 7, + "computer": 1, + "architecture": 2 + } +}, +{ + "model": "computers.computersoftwarerelation", + "pk": 2, + "fields": { + "software": 7, + "computer": 2, + "architecture": 1 + } +}, +{ + "model": "computers.computersoftwarerelation", + "pk": 3, + "fields": { + "software": 26, + "computer": 2, + "architecture": 2 + } +}, +{ + "model": "computers.computersoftwarerelation", + "pk": 4, + "fields": { + "software": 12, + "computer": 3, + "architecture": 1 + } +}, +{ + "model": "computers.computergpurelation", + "pk": 1, + "fields": { + "gpu": 1, + "computer": 1, + "amount": 1 + } +}, +{ + "model": "computers.computergpurelation", + "pk": 2, + "fields": { + "gpu": 1, + "computer": 2, + "amount": 1 + } +}, +{ + "model": "computers.computergpurelation", + "pk": 3, + "fields": { + "gpu": 1, + "computer": 3, + "amount": 1 + } +}, +{ + "model": "computers.raidtype", + "pk": 1, + "fields": { + "name": "RAID 0" + } +}, +{ + "model": "computers.raidtype", + "pk": 2, + "fields": { + "name": "RAID 1" + } +}, +{ + "model": "computers.raidtype", + "pk": 3, + "fields": { + "name": "RAID 5" + } +}, +{ + "model": "computers.raidtype", + "pk": 4, + "fields": { + "name": "RAID 6" + } +}, +{ + "model": "computers.raidtype", + "pk": 5, + "fields": { + "name": "RAID 10" + } +}, +{ + "model": "computers.raidtype", + "pk": 6, + "fields": { + "name": "RAID 50" + } +}, +{ + "model": "core.weekday", + "pk": 1, + "fields": { + "name": "Sunday", + "value": 0 + } +}, +{ + "model": "core.weekday", + "pk": 2, + "fields": { + "name": "Monday", + "value": 1 + } +}, +{ + "model": "core.weekday", + "pk": 3, + "fields": { + "name": "Thuesday", + "value": 2 + } +}, +{ + "model": "core.weekday", + "pk": 4, + "fields": { + "name": "Wednesday", + "value": 3 + } +}, +{ + "model": "core.weekday", + "pk": 5, + "fields": { + "name": "Thursday", + "value": 4 + } +}, +{ + "model": "core.weekday", + "pk": 6, + "fields": { + "name": "Friday", + "value": 5 + } +}, +{ + "model": "core.weekday", + "pk": 7, + "fields": { + "name": "Saturday", + "value": 6 + } +}, +{ + "model": "core.dayofmonth", + "pk": 1, + "fields": { + "name": 1 + } +}, +{ + "model": "core.dayofmonth", + "pk": 2, + "fields": { + "name": 2 + } +}, +{ + "model": "core.dayofmonth", + "pk": 3, + "fields": { + "name": 3 + } +}, +{ + "model": "core.dayofmonth", + "pk": 4, + "fields": { + "name": 4 + } +}, +{ + "model": "core.dayofmonth", + "pk": 5, + "fields": { + "name": 5 + } +}, +{ + "model": "core.dayofmonth", + "pk": 6, + "fields": { + "name": 6 + } +}, +{ + "model": "core.dayofmonth", + "pk": 7, + "fields": { + "name": 7 + } +}, +{ + "model": "core.dayofmonth", + "pk": 8, + "fields": { + "name": 8 + } +}, +{ + "model": "core.dayofmonth", + "pk": 9, + "fields": { + "name": 9 + } +}, +{ + "model": "core.dayofmonth", + "pk": 10, + "fields": { + "name": 10 + } +}, +{ + "model": "core.dayofmonth", + "pk": 11, + "fields": { + "name": 11 + } +}, +{ + "model": "core.dayofmonth", + "pk": 12, + "fields": { + "name": 12 + } +}, +{ + "model": "core.dayofmonth", + "pk": 13, + "fields": { + "name": 13 + } +}, +{ + "model": "core.dayofmonth", + "pk": 14, + "fields": { + "name": 14 + } +}, +{ + "model": "core.dayofmonth", + "pk": 15, + "fields": { + "name": 15 + } +}, +{ + "model": "core.dayofmonth", + "pk": 16, + "fields": { + "name": 16 + } +}, +{ + "model": "core.dayofmonth", + "pk": 17, + "fields": { + "name": 17 + } +}, +{ + "model": "core.dayofmonth", + "pk": 18, + "fields": { + "name": 18 + } +}, +{ + "model": "core.dayofmonth", + "pk": 19, + "fields": { + "name": 19 + } +}, +{ + "model": "core.dayofmonth", + "pk": 20, + "fields": { + "name": 20 + } +}, +{ + "model": "core.dayofmonth", + "pk": 21, + "fields": { + "name": 21 + } +}, +{ + "model": "core.dayofmonth", + "pk": 22, + "fields": { + "name": 22 + } +}, +{ + "model": "core.dayofmonth", + "pk": 23, + "fields": { + "name": 23 + } +}, +{ + "model": "core.dayofmonth", + "pk": 24, + "fields": { + "name": 24 + } +}, +{ + "model": "core.dayofmonth", + "pk": 25, + "fields": { + "name": 25 + } +}, +{ + "model": "core.dayofmonth", + "pk": 26, + "fields": { + "name": 26 + } +}, +{ + "model": "core.dayofmonth", + "pk": 27, + "fields": { + "name": 27 + } +}, +{ + "model": "core.dayofmonth", + "pk": 28, + "fields": { + "name": 28 + } +}, +{ + "model": "core.dayofmonth", + "pk": 29, + "fields": { + "name": 29 + } +}, +{ + "model": "core.dayofmonth", + "pk": 30, + "fields": { + "name": 30 + } +}, +{ + "model": "core.dayofmonth", + "pk": 31, + "fields": { + "name": 31 + } +}, +{ + "model": "core.month", + "pk": 1, + "fields": { + "name": "January", + "value": 1 + } +}, +{ + "model": "core.month", + "pk": 2, + "fields": { + "name": "February", + "value": 2 + } +}, +{ + "model": "core.month", + "pk": 3, + "fields": { + "name": "March", + "value": 3 + } +}, +{ + "model": "core.month", + "pk": 4, + "fields": { + "name": "April", + "value": 4 + } +}, +{ + "model": "core.month", + "pk": 5, + "fields": { + "name": "May", + "value": 5 + } +}, +{ + "model": "core.month", + "pk": 6, + "fields": { + "name": "June", + "value": 6 + } +}, +{ + "model": "core.month", + "pk": 7, + "fields": { + "name": "July", + "value": 7 + } +}, +{ + "model": "core.month", + "pk": 8, + "fields": { + "name": "August", + "value": 8 + } +}, +{ + "model": "core.month", + "pk": 9, + "fields": { + "name": "September", + "value": 9 + } +}, +{ + "model": "core.month", + "pk": 10, + "fields": { + "name": "October", + "value": 10 + } +}, +{ + "model": "core.month", + "pk": 11, + "fields": { + "name": "November", + "value": 11 + } +}, +{ + "model": "core.month", + "pk": 12, + "fields": { + "name": "December", + "value": 12 + } +}, +{ + "model": "core.service", + "pk": 1, + "fields": { + "name": "GMail" + } +}, +{ + "model": "core.hoursinday", + "pk": 1, + "fields": { + "name": 0 + } +}, +{ + "model": "core.hoursinday", + "pk": 2, + "fields": { + "name": 1 + } +}, +{ + "model": "core.hoursinday", + "pk": 3, + "fields": { + "name": 2 + } +}, +{ + "model": "core.hoursinday", + "pk": 4, + "fields": { + "name": 3 + } +}, +{ + "model": "core.hoursinday", + "pk": 5, + "fields": { + "name": 4 + } +}, +{ + "model": "core.hoursinday", + "pk": 6, + "fields": { + "name": 5 + } +}, +{ + "model": "core.hoursinday", + "pk": 7, + "fields": { + "name": 6 + } +}, +{ + "model": "core.hoursinday", + "pk": 8, + "fields": { + "name": 7 + } +}, +{ + "model": "core.hoursinday", + "pk": 9, + "fields": { + "name": 8 + } +}, +{ + "model": "core.hoursinday", + "pk": 10, + "fields": { + "name": 9 + } +}, +{ + "model": "core.hoursinday", + "pk": 11, + "fields": { + "name": 10 + } +}, +{ + "model": "core.hoursinday", + "pk": 12, + "fields": { + "name": 11 + } +}, +{ + "model": "core.hoursinday", + "pk": 13, + "fields": { + "name": 12 + } +}, +{ + "model": "core.hoursinday", + "pk": 14, + "fields": { + "name": 13 + } +}, +{ + "model": "core.hoursinday", + "pk": 15, + "fields": { + "name": 14 + } +}, +{ + "model": "core.hoursinday", + "pk": 16, + "fields": { + "name": 15 + } +}, +{ + "model": "core.hoursinday", + "pk": 17, + "fields": { + "name": 16 + } +}, +{ + "model": "core.hoursinday", + "pk": 18, + "fields": { + "name": 17 + } +}, +{ + "model": "core.hoursinday", + "pk": 19, + "fields": { + "name": 18 + } +}, +{ + "model": "core.hoursinday", + "pk": 20, + "fields": { + "name": 19 + } +}, +{ + "model": "core.hoursinday", + "pk": 21, + "fields": { + "name": 20 + } +}, +{ + "model": "core.hoursinday", + "pk": 22, + "fields": { + "name": 21 + } +}, +{ + "model": "core.hoursinday", + "pk": 23, + "fields": { + "name": 22 + } +}, +{ + "model": "core.hoursinday", + "pk": 24, + "fields": { + "name": 23 + } +}, +{ + "model": "core.minutesinhour", + "pk": 1, + "fields": { + "name": 0 + } +}, +{ + "model": "core.minutesinhour", + "pk": 2, + "fields": { + "name": 1 + } +}, +{ + "model": "core.minutesinhour", + "pk": 3, + "fields": { + "name": 2 + } +}, +{ + "model": "core.minutesinhour", + "pk": 4, + "fields": { + "name": 3 + } +}, +{ + "model": "core.minutesinhour", + "pk": 5, + "fields": { + "name": 4 + } +}, +{ + "model": "core.minutesinhour", + "pk": 6, + "fields": { + "name": 5 + } +}, +{ + "model": "core.minutesinhour", + "pk": 7, + "fields": { + "name": 6 + } +}, +{ + "model": "core.minutesinhour", + "pk": 8, + "fields": { + "name": 7 + } +}, +{ + "model": "core.minutesinhour", + "pk": 9, + "fields": { + "name": 8 + } +}, +{ + "model": "core.minutesinhour", + "pk": 10, + "fields": { + "name": 9 + } +}, +{ + "model": "core.minutesinhour", + "pk": 11, + "fields": { + "name": 10 + } +}, +{ + "model": "core.minutesinhour", + "pk": 12, + "fields": { + "name": 11 + } +}, +{ + "model": "core.minutesinhour", + "pk": 13, + "fields": { + "name": 12 + } +}, +{ + "model": "core.minutesinhour", + "pk": 14, + "fields": { + "name": 13 + } +}, +{ + "model": "core.minutesinhour", + "pk": 15, + "fields": { + "name": 14 + } +}, +{ + "model": "core.minutesinhour", + "pk": 16, + "fields": { + "name": 15 + } +}, +{ + "model": "core.minutesinhour", + "pk": 17, + "fields": { + "name": 16 + } +}, +{ + "model": "core.minutesinhour", + "pk": 18, + "fields": { + "name": 17 + } +}, +{ + "model": "core.minutesinhour", + "pk": 19, + "fields": { + "name": 18 + } +}, +{ + "model": "core.minutesinhour", + "pk": 20, + "fields": { + "name": 19 + } +}, +{ + "model": "core.minutesinhour", + "pk": 21, + "fields": { + "name": 20 + } +}, +{ + "model": "core.minutesinhour", + "pk": 22, + "fields": { + "name": 21 + } +}, +{ + "model": "core.minutesinhour", + "pk": 23, + "fields": { + "name": 22 + } +}, +{ + "model": "core.minutesinhour", + "pk": 24, + "fields": { + "name": 23 + } +}, +{ + "model": "core.minutesinhour", + "pk": 25, + "fields": { + "name": 24 + } +}, +{ + "model": "core.minutesinhour", + "pk": 26, + "fields": { + "name": 25 + } +}, +{ + "model": "core.minutesinhour", + "pk": 27, + "fields": { + "name": 26 + } +}, +{ + "model": "core.minutesinhour", + "pk": 28, + "fields": { + "name": 27 + } +}, +{ + "model": "core.minutesinhour", + "pk": 29, + "fields": { + "name": 28 + } +}, +{ + "model": "core.minutesinhour", + "pk": 30, + "fields": { + "name": 29 + } +}, +{ + "model": "core.minutesinhour", + "pk": 31, + "fields": { + "name": 30 + } +}, +{ + "model": "core.minutesinhour", + "pk": 32, + "fields": { + "name": 31 + } +}, +{ + "model": "core.minutesinhour", + "pk": 33, + "fields": { + "name": 32 + } +}, +{ + "model": "core.minutesinhour", + "pk": 34, + "fields": { + "name": 33 + } +}, +{ + "model": "core.minutesinhour", + "pk": 35, + "fields": { + "name": 34 + } +}, +{ + "model": "core.minutesinhour", + "pk": 36, + "fields": { + "name": 35 + } +}, +{ + "model": "core.minutesinhour", + "pk": 37, + "fields": { + "name": 36 + } +}, +{ + "model": "core.minutesinhour", + "pk": 38, + "fields": { + "name": 37 + } +}, +{ + "model": "core.minutesinhour", + "pk": 39, + "fields": { + "name": 38 + } +}, +{ + "model": "core.minutesinhour", + "pk": 40, + "fields": { + "name": 39 + } +}, +{ + "model": "core.minutesinhour", + "pk": 41, + "fields": { + "name": 40 + } +}, +{ + "model": "core.minutesinhour", + "pk": 42, + "fields": { + "name": 41 + } +}, +{ + "model": "core.minutesinhour", + "pk": 43, + "fields": { + "name": 42 + } +}, +{ + "model": "core.minutesinhour", + "pk": 44, + "fields": { + "name": 43 + } +}, +{ + "model": "core.minutesinhour", + "pk": 45, + "fields": { + "name": 44 + } +}, +{ + "model": "core.minutesinhour", + "pk": 46, + "fields": { + "name": 45 + } +}, +{ + "model": "core.minutesinhour", + "pk": 47, + "fields": { + "name": 46 + } +}, +{ + "model": "core.minutesinhour", + "pk": 48, + "fields": { + "name": 47 + } +}, +{ + "model": "core.minutesinhour", + "pk": 49, + "fields": { + "name": 48 + } +}, +{ + "model": "core.minutesinhour", + "pk": 50, + "fields": { + "name": 49 + } +}, +{ + "model": "core.minutesinhour", + "pk": 51, + "fields": { + "name": 50 + } +}, +{ + "model": "core.minutesinhour", + "pk": 52, + "fields": { + "name": 51 + } +}, +{ + "model": "core.minutesinhour", + "pk": 53, + "fields": { + "name": 52 + } +}, +{ + "model": "core.minutesinhour", + "pk": 54, + "fields": { + "name": 53 + } +}, +{ + "model": "core.minutesinhour", + "pk": 55, + "fields": { + "name": 54 + } +}, +{ + "model": "core.minutesinhour", + "pk": 56, + "fields": { + "name": 55 + } +}, +{ + "model": "core.minutesinhour", + "pk": 57, + "fields": { + "name": 56 + } +}, +{ + "model": "core.minutesinhour", + "pk": 58, + "fields": { + "name": 57 + } +}, +{ + "model": "core.minutesinhour", + "pk": 59, + "fields": { + "name": 58 + } +}, +{ + "model": "core.minutesinhour", + "pk": 60, + "fields": { + "name": 59 + } +}, +{ + "model": "core.inventoryuser", + "pk": 1, + "fields": { + "password": "!2LDk6yZLK01jDTFif7BgbziBZmHSQ9eqAHlKEIkg", + "last_login": null, + "is_superuser": false, + "username": "AnonymousUser", + "first_name": "", + "last_name": "", + "email": "", + "is_staff": false, + "is_active": true, + "date_joined": "2024-03-11T15:50:31.509Z", + "groups": [], + "user_permissions": [] + } +}, +{ + "model": "core.inventoryuser", + "pk": 2, + "fields": { + "password": "pbkdf2_sha256$600000$jLjcMfZfnIWz3aBycqdg8M$6+9e3RKxgYWRykU3m+g8gvsfh5pE2snmViiqj2RBY78=", + "last_login": "2024-03-11T15:50:46.902Z", + "is_superuser": true, + "username": "admin", + "first_name": "", + "last_name": "", + "email": "admin@example.com", + "is_staff": true, + "is_active": true, + "date_joined": "2024-03-11T15:50:36.219Z", + "groups": [], + "user_permissions": [] + } +}, +{ + "model": "customers.customer", + "pk": 1, + "fields": { + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "name": "Pharma Company", + "project_manager": [] + } +}, +{ + "model": "customers.customer", + "pk": 2, + "fields": { + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "name": "Water Company", + "project_manager": [] + } +}, +{ + "model": "customers.location", + "pk": 1, + "fields": { + "name": "Pharma Office", + "customer": 1 + } +}, +{ + "model": "customers.location", + "pk": 2, + "fields": { + "name": "Water Office", + "customer": 2 + } +}, +{ + "model": "devices.devicemanufacturer", + "pk": 1, + "fields": { + "name": "Dell", + "description": "", + "phone_number": null, + "email_address": null, + "website": null + } +}, +{ + "model": "devices.devicemanufacturer", + "pk": 2, + "fields": { + "name": "HP", + "description": "", + "phone_number": null, + "email_address": null, + "website": null + } +}, +{ + "model": "devices.devicemanufacturer", + "pk": 3, + "fields": { + "name": "Axxiv", + "description": "", + "phone_number": null, + "email_address": null, + "website": null + } +}, +{ + "model": "devices.devicemanufacturer", + "pk": 4, + "fields": { + "name": "Acer", + "description": "", + "phone_number": null, + "email_address": null, + "website": null + } +}, +{ + "model": "devices.devicemanufacturer", + "pk": 5, + "fields": { + "name": "Asus", + "description": "", + "phone_number": null, + "email_address": null, + "website": null + } +}, +{ + "model": "devices.devicemanufacturer", + "pk": 6, + "fields": { + "name": "Lenovo", + "description": "", + "phone_number": null, + "email_address": null, + "website": null + } +}, +{ + "model": "devices.devicemanufacturer", + "pk": 7, + "fields": { + "name": "Samsung", + "description": "", + "phone_number": null, + "email_address": null, + "website": null + } +}, +{ + "model": "devices.devicemanufacturer", + "pk": 8, + "fields": { + "name": "Apple", + "description": "", + "phone_number": null, + "email_address": null, + "website": null + } +}, +{ + "model": "devices.devicecategory", + "pk": 1, + "fields": { + "name": "Office PC" + } +}, +{ + "model": "devices.devicecategory", + "pk": 2, + "fields": { + "name": "CAD PC" + } +}, +{ + "model": "devices.hardwaremodel", + "pk": 1, + "fields": { + "name": "Latidude 5530", + "manufacturer": 1 + } +}, +{ + "model": "devices.hardwaremodel", + "pk": 2, + "fields": { + "name": "Optiplex 7070", + "manufacturer": 1 + } +}, +{ + "model": "devices.hardwaremodel", + "pk": 3, + "fields": { + "name": "Cumpact2700", + "manufacturer": 3 + } +}, +{ + "model": "devices.hardwaremodel", + "pk": 4, + "fields": { + "name": "Latidude 75XX", + "manufacturer": 1 + } +}, +{ + "model": "devices.hardwaremodel", + "pk": 5, + "fields": { + "name": "Latidude 54XX", + "manufacturer": 1 + } +}, +{ + "model": "devices.hardwaremodel", + "pk": 6, + "fields": { + "name": "Latidude 55XX", + "manufacturer": 1 + } +}, +{ + "model": "devices.device", + "pk": 1, + "fields": { + "name": "pharma-pc1", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "serialnumber": "ADSF124", + "category": 1, + "owner": null, + "customer": 1, + "manufacturer": 1, + "model": 1, + "location": 1, + "user": 1, + "installation_date": "2020-06-15" + } +}, +{ + "model": "devices.device", + "pk": 2, + "fields": { + "name": "pharma-pc2", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "serialnumber": "ADSF125", + "category": 2, + "owner": null, + "customer": 1, + "manufacturer": 1, + "model": 2, + "location": 1, + "user": 2, + "installation_date": "2020-06-01" + } +}, +{ + "model": "devices.device", + "pk": 3, + "fields": { + "name": "water-pc1", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "serialnumber": "asfasf", + "category": 1, + "owner": null, + "customer": 2, + "manufacturer": 3, + "model": 3, + "location": 2, + "user": 3, + "installation_date": "2020-06-15" + } +}, +{ + "model": "devices.deviceinnet", + "pk": 1, + "fields": { + "device": 1, + "net": 1, + "ip": "10.60.0.2", + "nic": "eth0", + "mac_address": "A1:B2:C3:D4:E5:F6", + "ip_status": 1 + } +}, +{ + "model": "devices.deviceinnet", + "pk": 2, + "fields": { + "device": 2, + "net": 1, + "ip": "10.60.0.3", + "nic": "eth0", + "mac_address": "A1:B2:C3:D4:E5:F6", + "ip_status": 1 + } +}, +{ + "model": "devices.deviceinnet", + "pk": 3, + "fields": { + "device": 3, + "net": 2, + "ip": "192.168.1.12", + "nic": "eth0", + "mac_address": "A1:B2:C3:D4:E5:F6", + "ip_status": 2 + } +}, +{ + "model": "devices.warrantytype", + "pk": 1, + "fields": { + "name": "Dell Pro Support", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + } +}, +{ + "model": "devices.warrantytype", + "pk": 2, + "fields": { + "name": "Dell NDB Support", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + } +}, +{ + "model": "devices.warranty", + "pk": 1, + "fields": { + "customer": 2, + "device": 3, + "valid_from": "2020-06-01", + "valid_until": "2022-12-01", + "warranty_type": 1 + } +}, +{ + "model": "devices.warranty", + "pk": 2, + "fields": { + "customer": 1, + "device": 1, + "valid_from": "2020-05-01", + "valid_until": "2020-05-29", + "warranty_type": 2 + } +}, +{ + "model": "devices.warranty", + "pk": 3, + "fields": { + "customer": 1, + "device": 2, + "valid_from": "2020-06-01", + "valid_until": "2023-07-13", + "warranty_type": 2 + } +}, +{ + "model": "sessions.session", + "pk": "ksonwri9jfw8kylldzxu4qop39jlwpdw", + "fields": { + "session_data": ".eJxVjEEOwiAQRe_C2pApHUpx6b5nIAMMUjWQlHZlvLtt0oVu_3vvv4Wjbc1ua7y4OYqrUOLyu3kKTy4HiA8q9ypDLesye3ko8qRNTjXy63a6fweZWt5rNMNoVEjGEoNn0kChA4YuWsSErINH32sDox2iTagQ0CqMvQoMuyc-X92SN2c:1rjhvK:P59s05bIuTiKU1PmAIj1UpYzYybQJszS2XThLvM0KnA", + "expire_date": "2024-03-25T15:50:46.906Z" + } +}, +{ + "model": "licenses.userlicense", + "pk": 1, + "fields": { + "customer": 1, + "key": "1234-5678-9012-3456", + "software": 7, + "max_allowed_users": 3 + } +}, +{ + "model": "licenses.userlicense", + "pk": 2, + "fields": { + "customer": 1, + "key": "sadf-sd-f-sdf--sdfs-df", + "software": 26, + "max_allowed_users": 5 + } +}, +{ + "model": "licenses.userlicense", + "pk": 3, + "fields": { + "customer": 2, + "key": "1234-5678-9012-3456", + "software": 15, + "max_allowed_users": 1 + } +}, +{ + "model": "licenses.computerlicense", + "pk": 1, + "fields": { + "customer": 1, + "key": "1234-5678-9012-3456", + "software": 7, + "max_allowed_computers": 5 + } +}, +{ + "model": "licenses.computerlicense", + "pk": 2, + "fields": { + "customer": 2, + "key": "1234-5678-9012-3456", + "software": 12, + "max_allowed_computers": 1 + } +}, +{ + "model": "licenses.licensewithuser", + "pk": 1, + "fields": { + "user": 1, + "license": 1 + } +}, +{ + "model": "licenses.licensewithuser", + "pk": 2, + "fields": { + "user": 2, + "license": 2 + } +}, +{ + "model": "licenses.licensewithuser", + "pk": 3, + "fields": { + "user": 2, + "license": 1 + } +}, +{ + "model": "licenses.licensewithuser", + "pk": 4, + "fields": { + "user": 3, + "license": 3 + } +}, +{ + "model": "licenses.licensewithcomputer", + "pk": 1, + "fields": { + "computer": 1, + "license": 1 + } +}, +{ + "model": "licenses.licensewithcomputer", + "pk": 2, + "fields": { + "computer": 2, + "license": 1 + } +}, +{ + "model": "licenses.licensewithcomputer", + "pk": 3, + "fields": { + "computer": 3, + "license": 2 + } +}, +{ + "model": "nets.ipstatus", + "pk": 1, + "fields": { + "name": "Fixed in Device" + } +}, +{ + "model": "nets.ipstatus", + "pk": 2, + "fields": { + "name": "Reserved" + } +}, +{ + "model": "nets.ipstatus", + "pk": 3, + "fields": { + "name": "Fixed in Device + Reserved" + } +}, +{ + "model": "nets.ipstatus", + "pk": 4, + "fields": { + "name": "Dynamic" + } +}, +{ + "model": "nets.net", + "pk": 1, + "fields": { + "name": "Pharma Net", + "ip_range": "10.60.0.0/16", + "dhcp_range": "10.60.255.1-254", + "customer": 1, + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + } +}, +{ + "model": "nets.net", + "pk": 2, + "fields": { + "name": "WaterNET", + "ip_range": "192.168.1.0/24", + "dhcp_range": "192.168.1.1-254", + "customer": 2, + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + } +}, +{ + "model": "softwares.softwarearchitecture", + "pk": 1, + "fields": { + "name": "32 Bit" + } +}, +{ + "model": "softwares.softwarearchitecture", + "pk": 2, + "fields": { + "name": "64 Bit" + } +}, +{ + "model": "softwares.softwarecategory", + "pk": 1, + "fields": { + "name": "Office" + } +}, +{ + "model": "softwares.softwarecategory", + "pk": 2, + "fields": { + "name": "Backup" + } +}, +{ + "model": "softwares.softwarecategory", + "pk": 3, + "fields": { + "name": "Anti-Virus" + } +}, +{ + "model": "softwares.softwarecategory", + "pk": 4, + "fields": { + "name": "CAD" + } +}, +{ + "model": "softwares.software", + "pk": 1, + "fields": { + "name": "Office 2010 Student", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 2, + "fields": { + "name": "Office 2010 Pro", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 3, + "fields": { + "name": "Office 2010 Enterprise", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 4, + "fields": { + "name": "Office 2013 Student", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 5, + "fields": { + "name": "Office 2013 Pro", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 6, + "fields": { + "name": "Office 2013 Enterprise", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 7, + "fields": { + "name": "Office 2016 Home & Business", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 8, + "fields": { + "name": "Office 2016 Pro", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 9, + "fields": { + "name": "Office 2016 Enterprise", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 10, + "fields": { + "name": "Office 365", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 11, + "fields": { + "name": "Office 2013 Home & Business", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 12, + "fields": { + "name": "Office 2010 Home & Business", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 13, + "fields": { + "name": "2007 Microsoft Office System", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 14, + "fields": { + "name": "Office 2007 Standard", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 15, + "fields": { + "name": "Office 2019 Home & Business", + "category": 1 + } +}, +{ + "model": "softwares.software", + "pk": 16, + "fields": { + "name": "Veeam", + "category": 2 + } +}, +{ + "model": "softwares.software", + "pk": 17, + "fields": { + "name": "Backup Exec", + "category": 2 + } +}, +{ + "model": "softwares.software", + "pk": 18, + "fields": { + "name": "Acronis", + "category": 2 + } +}, +{ + "model": "softwares.software", + "pk": 19, + "fields": { + "name": "Hyper Backup", + "category": 2 + } +}, +{ + "model": "softwares.software", + "pk": 20, + "fields": { + "name": "Bit Defender", + "category": 3 + } +}, +{ + "model": "softwares.software", + "pk": 21, + "fields": { + "name": "Panda Cloud Pro", + "category": 3 + } +}, +{ + "model": "softwares.software", + "pk": 22, + "fields": { + "name": "Panda Cloud Pro Plus", + "category": 3 + } +}, +{ + "model": "softwares.software", + "pk": 23, + "fields": { + "name": "Windows Defender", + "category": 3 + } +}, +{ + "model": "softwares.software", + "pk": 24, + "fields": { + "name": "Microsoft Security Essentials", + "category": 3 + } +}, +{ + "model": "softwares.software", + "pk": 25, + "fields": { + "name": "Panda Antivirus Pro", + "category": 3 + } +}, +{ + "model": "softwares.software", + "pk": 26, + "fields": { + "name": "AutoCAD", + "category": 4 + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 1, + "fields": { + "name": "Windows XP", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 2, + "fields": { + "name": "Windows 7 Home", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 3, + "fields": { + "name": "Windows 7 Pro", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 4, + "fields": { + "name": "Windows 7 Enterprise", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 5, + "fields": { + "name": "Windows 8 Home", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 6, + "fields": { + "name": "Windows 8 Pro", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 7, + "fields": { + "name": "Windows 8 Enterprise", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 8, + "fields": { + "name": "Windows 8.1 Home", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 9, + "fields": { + "name": "Windows 8.1 Pro", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 10, + "fields": { + "name": "Windows 8.1 Enterprise", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 11, + "fields": { + "name": "Windows 10 Home", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 12, + "fields": { + "name": "Windows 10 Pro", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 13, + "fields": { + "name": "FreeBSD", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 14, + "fields": { + "name": "VMware ESXi 6.5.0", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 15, + "fields": { + "name": "Windows 10 Enterprise", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 16, + "fields": { + "name": "Windows Server 2003", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 17, + "fields": { + "name": "Windows Server 2008", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 18, + "fields": { + "name": "Windows Server 2012", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 19, + "fields": { + "name": "Windows Server 2012 R2", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 20, + "fields": { + "name": "Windows Server 2016", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 21, + "fields": { + "name": "Ubuntu 14.04", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 22, + "fields": { + "name": "Ubuntu 16.04", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 23, + "fields": { + "name": "VMware ESXi 6.0.0", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 24, + "fields": { + "name": "pfsense 2.4.x", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 25, + "fields": { + "name": "VMware vCenter Server Appliance 6.0.0", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 26, + "fields": { + "name": "iOS 4.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 27, + "fields": { + "name": "iOS 5.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 28, + "fields": { + "name": "iOS 6.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 29, + "fields": { + "name": "iOS 7.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 30, + "fields": { + "name": "iOS 8.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 31, + "fields": { + "name": "iOS 9.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 32, + "fields": { + "name": "iOS 10.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 33, + "fields": { + "name": "iOS 11.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 34, + "fields": { + "name": "tvOS 4.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 35, + "fields": { + "name": "tvOS 5.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 36, + "fields": { + "name": "tvOS 6.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 37, + "fields": { + "name": "tvOS 7.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 38, + "fields": { + "name": "tvOS 8.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 39, + "fields": { + "name": "tvOS 9.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 40, + "fields": { + "name": "tvOS 10.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 41, + "fields": { + "name": "tvOS 11.X", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 42, + "fields": { + "name": "VMware ESXi 5.5.0", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 43, + "fields": { + "name": "VMware vCenter Server Appliance 6.5.0", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 44, + "fields": { + "name": "Windows Storage Server 2016 Standard", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 45, + "fields": { + "name": "Windows 7 Home Premium", + "architecture": null + } +}, +{ + "model": "softwares.operatingsystem", + "pk": 46, + "fields": { + "name": "Ubuntu 18.04", + "architecture": null + } +}, +{ + "model": "users.user", + "pk": 1, + "fields": { + "name": "Muster", + "first_name": "Max", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "customer": 1 + } +}, +{ + "model": "users.user", + "pk": 2, + "fields": { + "name": "Meier", + "first_name": "Anna", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "customer": 1 + } +}, +{ + "model": "users.user", + "pk": 3, + "fields": { + "name": "Pflümli", + "first_name": "Karin", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "customer": 2 + } +}, +{ + "model": "users.group", + "pk": 1, + "fields": { + "name": "HR", + "description": "", + "customer": 1, + "mail_address": "hr@pharma.com", + "parent_group": null, + "service": null + } +}, +{ + "model": "users.group", + "pk": 2, + "fields": { + "name": "Engineering", + "description": "", + "customer": 1, + "mail_address": "engineering@pharma.com", + "parent_group": null, + "service": null + } +}, +{ + "model": "users.group", + "pk": 3, + "fields": { + "name": "HR", + "description": "", + "customer": 2, + "mail_address": "hr@water.com", + "parent_group": null, + "service": null + } +}, +{ + "model": "users.login", + "pk": 1, + "fields": { + "login": "anna.meier@gmail.com", + "password": "FooBar", + "email": "anna.meier@gmail.com", + "enabled": true, + "description": "", + "user": 2, + "service": 1 + } +} +] diff --git a/src/network_inventory.yaml b/src/network_inventory.yaml deleted file mode 100644 index b28b079..0000000 --- a/src/network_inventory.yaml +++ /dev/null @@ -1,554 +0,0 @@ -- model: backups.notificationtype - pk: 1 - fields: - name: Email -- model: backups.notification - pk: 1 - fields: - name: Support Email - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. - recipient: support@pharma.com - notification_type: 1 -- model: backups.backup - pk: 1 - fields: - name: Daily Backup - computer: 1 - method: 1 - software: 16 - source_path: c:/User - exec_time: '11:21:52' - exec_days: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 -- model: backups.backup - pk: 2 - fields: - name: Weekly Backup - computer: 2 - method: 1 - software: 16 - source_path: c:/ - exec_time: 00:00:00 - exec_days: - - 4 -- model: backups.notificationfrombackup - pk: 1 - fields: - backup: 1 - notification: 1 -- model: backups.notificationfrombackup - pk: 2 - fields: - backup: 2 - notification: 1 -- model: computers.disk - pk: 1 - fields: - disk_type: 1 - size_in_gb: 256 -- model: computers.disk - pk: 2 - fields: - disk_type: 2 - size_in_gb: 1000 -- model: computers.gpu - pk: 1 - fields: - name: GTX 1080 - manufacturer: 3 -- model: computers.computer - pk: 1 - fields: - os: 12 - host: null - allocated_space: null -- model: computers.computer - pk: 2 - fields: - os: 12 - host: null - allocated_space: null -- model: computers.computer - pk: 3 - fields: - os: 3 - host: null - allocated_space: null -- model: computers.computercpurelation - pk: 1 - fields: - cpu: 1 - computer: 1 - amount: 1 -- model: computers.computercpurelation - pk: 2 - fields: - cpu: 1 - computer: 2 - amount: 1 -- model: computers.computercpurelation - pk: 3 - fields: - cpu: 2 - computer: 3 - amount: 1 -- model: computers.computerramrelation - pk: 9 - fields: - ram: 4 - computer: 1 - amount: 2 -- model: computers.computerramrelation - pk: 10 - fields: - ram: 5 - computer: 2 - amount: 2 -- model: computers.computerramrelation - pk: 11 - fields: - ram: 6 - computer: 3 - amount: 1 -- model: computers.computerdiskrelation - pk: 1 - fields: - disk: 1 - computer: 1 - amount: 1 -- model: computers.computerdiskrelation - pk: 2 - fields: - disk: 1 - computer: 2 - amount: 3 -- model: computers.computerdiskrelation - pk: 3 - fields: - disk: 2 - computer: 3 - amount: 1 -- model: computers.computersoftwarerelation - pk: 1 - fields: - software: 7 - computer: 1 - architecture: 2 -- model: computers.computersoftwarerelation - pk: 2 - fields: - software: 7 - computer: 2 - architecture: 1 -- model: computers.computersoftwarerelation - pk: 3 - fields: - software: 26 - computer: 2 - architecture: 2 -- model: computers.computersoftwarerelation - pk: 4 - fields: - software: 12 - computer: 3 - architecture: 1 -- model: computers.computergpurelation - pk: 1 - fields: - gpu: 1 - computer: 1 - amount: 1 -- model: computers.computergpurelation - pk: 2 - fields: - gpu: 1 - computer: 2 - amount: 1 -- model: computers.computergpurelation - pk: 3 - fields: - gpu: 1 - computer: 3 - amount: 1 -- model: customers.customer - pk: 1 - fields: - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. - name: Pharma Company -- model: customers.customer - pk: 2 - fields: - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. - name: Water Company -- model: customers.location - pk: 1 - fields: - name: Pharma Office - customer: 1 -- model: customers.location - pk: 2 - fields: - name: Water Office - customer: 2 -- model: devices.devicecategory - pk: 1 - fields: - name: Office PC -- model: devices.devicecategory - pk: 2 - fields: - name: CAD PC -- model: devices.hardwaremodel - pk: 1 - fields: - name: Latidude 5530 - manufacturer: 1 -- model: devices.hardwaremodel - pk: 2 - fields: - name: Optiplex 7070 - manufacturer: 1 -- model: devices.hardwaremodel - pk: 3 - fields: - name: Cumpact2700 - manufacturer: 3 -- model: devices.device - pk: 1 - fields: - name: pharma-pc1 - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. - serialnumber: ADSF124 - category: 1 - owner: null - customer: 1 - manufacturer: 1 - model: 1 - location: 1 - user: 1 - installation_date: 2020-06-15 -- model: devices.device - pk: 2 - fields: - name: pharma-pc2 - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. - serialnumber: ADSF125 - category: 2 - owner: null - customer: 1 - manufacturer: 1 - model: 2 - location: 1 - user: 2 - installation_date: 2020-06-01 -- model: devices.device - pk: 3 - fields: - name: water-pc1 - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. - serialnumber: asfasf - category: 1 - owner: null - customer: 2 - manufacturer: 3 - model: 3 - location: 2 - user: 3 - installation_date: 2020-06-15 -- model: devices.deviceinnet - pk: 1 - fields: - device: 1 - net: 1 - ip: 10.60.0.2 - nic: eth0 - mac_address: A1:B2:C3:D4:E5:F6 - ip_status: 1 -- model: devices.deviceinnet - pk: 2 - fields: - device: 2 - net: 1 - ip: 10.60.0.3 - nic: eth0 - mac_address: A1:B2:C3:D4:E5:F6 - ip_status: 1 -- model: devices.deviceinnet - pk: 3 - fields: - device: 3 - net: 2 - ip: 192.168.1.12 - nic: eth0 - mac_address: A1:B2:C3:D4:E5:F6 - ip_status: 2 -- model: devices.warrantytype - pk: 1 - fields: - name: Dell Pro Support - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. -- model: devices.warrantytype - pk: 2 - fields: - name: Dell NDB Support - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. -- model: devices.warranty - pk: 1 - fields: - customer: 2 - device: 3 - valid_from: 2020-06-01 - valid_until: 2022-12-01 - warranty_type: 1 -- model: devices.warranty - pk: 2 - fields: - customer: 1 - device: 1 - valid_from: 2020-05-01 - valid_until: 2020-05-29 - warranty_type: 2 -- model: devices.warranty - pk: 3 - fields: - customer: 1 - device: 2 - valid_from: 2020-06-01 - valid_until: 2023-07-13 - warranty_type: 2 -- model: licenses.userlicense - pk: 1 - fields: - customer: 1 - key: 1234-5678-9012-3456 - software: 7 - max_allowed_users: 3 -- model: licenses.userlicense - pk: 2 - fields: - customer: 1 - key: sadf-sd-f-sdf--sdfs-df - software: 26 - max_allowed_users: 5 -- model: licenses.userlicense - pk: 3 - fields: - customer: 2 - key: 1234-5678-9012-3456 - software: 15 - max_allowed_users: 1 -- model: licenses.computerlicense - pk: 1 - fields: - customer: 1 - key: 1234-5678-9012-3456 - software: 7 - max_allowed_computers: 5 -- model: licenses.computerlicense - pk: 2 - fields: - customer: 2 - key: 1234-5678-9012-3456 - software: 12 - max_allowed_computers: 1 -- model: licenses.licensewithuser - pk: 1 - fields: - user: 1 - license: 1 -- model: licenses.licensewithuser - pk: 2 - fields: - user: 2 - license: 2 -- model: licenses.licensewithuser - pk: 3 - fields: - user: 2 - license: 1 -- model: licenses.licensewithuser - pk: 4 - fields: - user: 3 - license: 3 -- model: licenses.licensewithcomputer - pk: 1 - fields: - computer: 1 - license: 1 -- model: licenses.licensewithcomputer - pk: 2 - fields: - computer: 2 - license: 1 -- model: licenses.licensewithcomputer - pk: 3 - fields: - computer: 3 - license: 2 -- model: nets.ipstatus - pk: 1 - fields: - name: Fixed in Device -- model: nets.ipstatus - pk: 2 - fields: - name: Reserved -- model: nets.ipstatus - pk: 3 - fields: - name: Fixed in Device + Reserved -- model: nets.ipstatus - pk: 4 - fields: - name: Dynamic -- model: nets.net - pk: 1 - fields: - name: Pharma Net - ip_range: 10.60.0.0/16 - dhcp_range: 10.60.255.1-254 - customer: 1 - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. -- model: nets.net - pk: 2 - fields: - name: WaterNET - ip_range: 192.168.1.0/24 - dhcp_range: 192.168.1.1-254 - customer: 2 - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. -- model: softwares.softwarecategory - pk: 4 - fields: - name: CAD -- model: softwares.software - pk: 26 - fields: - name: AutoCAD - category: 4 -- model: users.group - pk: 1 - fields: - name: HR - customer: 1 -- model: users.group - pk: 2 - fields: - name: Engineering - customer: 1 -- model: users.group - pk: 3 - fields: - name: HR - customer: 2 -- model: users.group - pk: 1 - fields: - name: HR - customer: 1 - mail_address: hr@pharma.com -- model: users.group - pk: 2 - fields: - name: Engineering - customer: 1 - mail_address: engineering@pharma.com -- model: users.group - pk: 3 - fields: - name: HR - customer: 2 - mail_address: hr@water.com -- model: users.user - pk: 1 - fields: - name: Muster - first_name: Max - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. - customer: 1 -- model: users.user - pk: 2 - fields: - name: Meier - first_name: Anna - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. - customer: 1 -- model: users.user - pk: 3 - fields: - name: "Pfl\xFCmli" - first_name: Karin - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore - eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt - in culpa qui officia deserunt mollit anim id est laborum. - customer: 2 diff --git a/tooling/bin/dev b/tooling/bin/dev index 460708d..8fe01f6 100755 --- a/tooling/bin/dev +++ b/tooling/bin/dev @@ -3,7 +3,7 @@ # Helper functions not exposed to the user { # Load example data _init() { - python ./src/manage.py loaddata src/network_inventory.yaml + python ./src/manage.py loaddata src/network_inventory.json } _open_url() { @@ -145,6 +145,19 @@ open-port() { descriptions["op"]="(o)pen the (p)ort in iptables fireall." tasks["op"]=open-port +dump-fixtures() { + python "$DEVENV_ROOT"/src/manage.py dumpdata \ + --all \ + --indent 2 \ + --exclude=admin.logentry \ + --exclude=contenttypes \ + --exclude=auth \ + --exclude=core \ + >"$DEVENV_ROOT"/src/network_inventory.json +} +descriptions["df"]="(d)ump data into (f)ixtures" +tasks["df"]=dump-fixtures + # only one task at a time if [ $# != 1 ]; then printf "usage: dev \n\n"