mirror of
https://github.com/TakeusV1/flask_ipam.git
synced 2026-10-13 17:15:33 +02:00
DEV V1.2
This commit is contained in:
1 parent
a9e8a70df5
commit
eefc23fad8
14 files changed
+406
-326
No files matched your search
+8
-9
@@ -28,17 +28,16 @@ class Allocation(db.Model):
|
||||
|
||||
class Inventory(db.Model):
|
||||
id = db.Column(db.Integer(),primary_key=True,unique=True)
|
||||
ip_addr = db.Column(db.Text())
|
||||
# Host Information
|
||||
host_type = db.Column(db.Integer())
|
||||
host_name = db.Column(db.String(32))
|
||||
host_name = db.Column(db.String(64))
|
||||
host_desc = db.Column(db.String(64))
|
||||
# Hardware Information
|
||||
host_model = db.Column(db.String(32))
|
||||
host_manufacturer = db.Column(db.String(32))
|
||||
host_serialnumber = db.Column(db.String(32))
|
||||
host_model = db.Column(db.String(64))
|
||||
host_manufacturer = db.Column(db.String(64))
|
||||
host_serialnumber = db.Column(db.String(64))
|
||||
# Network Information
|
||||
host_os = db.Column(db.String(32))
|
||||
host_location = db.Column(db.String(32))
|
||||
host_owner = db.Column(db.String(32))
|
||||
host_contact = db.Column(db.String(32))
|
||||
host_os = db.Column(db.String(64))
|
||||
host_location = db.Column(db.String(64))
|
||||
host_owner = db.Column(db.String(64))
|
||||
host_contact = db.Column(db.String(64))
|
||||
Reference in new issue
Block a user