mirror of
https://github.com/TakeusV1/flask_ipam.git
synced 2026-10-13 17:15:33 +02:00
V1.0
This commit is contained in:
1 parent
85969350bc
commit
a8d9727527
7 files changed
+110
-16
No files matched your search
@@ -9,4 +9,9 @@ class LoginForm(FlaskForm):
|
||||
class NewPrefixForm(FlaskForm):
|
||||
subnet = StringField(validators=[DataRequired(),IPAddress(ipv4=True),Length(max=128)])
|
||||
prefix = IntegerField(validators=[DataRequired(),NumberRange(min=0,max=32)])
|
||||
description = StringField(validators=[DataRequired(),Length(max=128)])
|
||||
|
||||
class NewAllocationForm(FlaskForm):
|
||||
ipv4 = StringField(validators=[DataRequired(),IPAddress(ipv4=True),Length(max=128)])
|
||||
hostname = StringField(validators=[DataRequired(),Length(max=128)])
|
||||
description = StringField(validators=[DataRequired(),Length(max=128)])
|
||||
Reference in new issue
Block a user