diff --git a/src/webui/service/service/forms.py b/src/webui/service/service/forms.py index 80476870a100efa6acdd8cc8ba00c37ae1f1b9bb..b3fffcc89a6256e367690032c66530e188e00a8d 100644 --- a/src/webui/service/service/forms.py +++ b/src/webui/service/service/forms.py @@ -90,7 +90,7 @@ class AddServiceForm_ACL_L2(FlaskForm): #PARAMETERS FOR Associating ACL to IF interface = StringField('Interface Name', validators=[CustomInputRequired("The name of the Interface is a mandatory parameter")]) subinterface = StringField('Subinterface Index', validators=[Optional()]) - traffic_flow = SelectField('ACL Traffic Flow Direction', choices=[('', 'Select a direction (Mandatory)'), ('Ingress', 'Ingress'), ('Egress','Egress')], validators=[CustomInputRequired("The direction of the traffic flow is a mandatory parameter")]) #MANDATORY PARAMETER + traffic_flow = SelectField('ACL Traffic Flow Direction', choices=[('', 'Select a direction (Mandatory)'), ('Ingress', 'Ingress'), ('Egress','Egress')], validators=[CustomInputRequired("The direction of the traffic flow is a mandatory parameter")]) #SPECIFIC PARAMETERS - Creating ACL Entry [ACL_L2] source_mac = StringField('Source MAC Address', validators=[Optional(), validate_mac_address]) @@ -259,4 +259,3 @@ class AddServiceForm_L3VPN(FlaskForm): Device_2_IF_address_ip = StringField('Device_2 IP Address', validators=[CustomInputRequired(), validate_ipv4_address]) Device_2_IF_address_prefix = IntegerField('Device_2 IP Prefix length', validators=[CustomInputRequired(), validate_uint32]) Device_2_IF_description = StringField ('Device_2 SubIF Description', validators=[Optional()]) - \ No newline at end of file