Commit 4db6aa17 authored by Maria Arsuaga Rios's avatar Maria Arsuaga Rios
Browse files

FTS-977: Changing metadata to se_metadata

parent 26d25a75
Pipeline #156711 passed with stage
in 4 minutes and 29 seconds
......@@ -60,7 +60,7 @@ class Se(Base):
storage = Column(String(150), primary_key=True)
site = Column(String(45))
metadata = Column(String(255))
se_metadata = Column(String(255))
ipv6 = Column(Flag(negative='off', positive='on'), default='off')
udt = Column(Flag(negative='off', positive='on'))
debug_level = Column(Integer)
......@@ -112,12 +112,9 @@ class SeConfigurationController(BaseController):
se =
config = response.get(se, dict())
link_config = dict()
for attr in ['inbound_min_actives', 'inbound_max_actives', 'inbound_min_throughput','inbound_max_throughput', 'udt', 'ipv6']:
for attr in ['inbound_max_actives', 'inbound_max_throughput', 'outbound_max_actives', 'out_max_throughput', 'udt', 'ipv6', 'se_metadata', 'site', 'debug_level']:
link_config[attr] = getattr(opt, attr)
config['as_destination'] = link_config
for attr in ['outbound_min_actives', 'outbound_max_actives', 'out_min_throughput','out_max_throughput', 'udt', 'ipv6']:
link_config[attr] = getattr(opt, attr)
config['as_source'] = link_config
config['se_info'] = link_config
response[se] = config
for op in from_ops:
......@@ -24,8 +24,8 @@ configuration'"/>
<div class="panel-body">
<div class="form-group">
<input class="form-control" name="metadata" type="text" value="{{metadata}}"/>
<label>SE Metadata</label>
<input class="form-control" name="se_metadata" type="text" value="{{se_metadata}}"/>
<div class="form-group">
<label>Inbound Max Active</label>
......@@ -154,8 +154,8 @@ configuration'"/>
<div class="panel-body">
<div class="form-group">
<label for="metadata">Metadata</label> <input
class="form-control" name="metadata" id="metadata"
<label for="se_metadata">SE Metadata</label> <input
class="form-control" name="se_metadata" id="se_metadata"
<div class="form-group">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment