links.html 4.07 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<%include file="header.html" args="page='/config/links', subtitle='Link configuration'"/>

<div class="container">
    <h2>Link configuration</h2>

    <p>
        Parameters per link. If only source or only destination is specified, it applies to any
        transfer from/to that storage.
    </p>

    <table class="table">
        <thead>
            <tr>
                <th></th>
                <th>Symbolic name</th>
                <th>Source</th>
                <th>Destination</th>
                <th>Autotuning</th>
                <th>N.streams</th>
                <th>TCP buffer size</th>
                <th>Timeout</th>
            </tr>
        </thead>
        <tbody id="link-config-list">
        </tbody>
        <tbody id="link-config-add">
            <tr>
            <form id="link-config-add-frm">
                <td>
                    <button class="btn btn-link" type="submit">
                        <i class="glyphicon glyphicon-plus"></i>
                    </button>
                </td>
                <td>
                    <input class="form-control" type="text" placeholder="Symbolic name" name="symbolicname"/>
                </td>
                <td>
                    <input class="form-control" type="text" placeholder="Source" name="source"
                        id="link-add-field-source"/>
                </td>
                <td>
                    <input class="form-control" type="text" placeholder="Destination" name="destination"
                        id="link-add-field-destination"/>
                </td>
                <td>
                    <input type="checkbox" checked="checked" name="state"/>
                </td>
                <td>
                    <input class="form-control" type="number" placeholder="Streams" name="nostreams"
                        min="0" max="100"/>
                </td>
                <td>
                    <input class="form-control" type="number" placeholder="TCP buffer size" name="tcp_buffer_size"
                        min="0" max="999999"/>
                </td>
                <td>
                    <input class="form-control" type="number" placeholder="Timeout" name="urlcopy_tx_to"
                        min="0" max="999999"/>
                </td>
            </form>
            </tr>
        </tbody>
    </table>

    <h2>Share configuration</h2>
    <p>
        Based on these values FTS3 will split the load between the different VOS configured per link.
        Note that the values are normalized to a percentage.
    </p>
    <p>
        When configuring shares, do not forget the <kbd>public</kbd> "VO", so any other VO can have access too.
    </p>

    <table class="table">
        <thead>
            <tr>
                <th style="width: 5em"></th>
                <th>Source</th>
                <th>Destination</th>
                <th>VO</th>
                <th>Share</th>
            </tr>
        </thead>
        <tbody id="share-list">
        </tbody>
        <tbody id="share-add">
            <tr>
            <form id="share-add-frm">
                <td>
                    <button class="btn btn-link" type="submit">
                        <i class="glyphicon glyphicon-plus"></i>
                    </button>
                </td>
                <td>
                    <input type="text" name="source" placeholder="Source" class="form-control"
                        id="share-add-field-source"/>
                </td>
                <td>
                    <input type="text" name="destination" placeholder="Destination" class="form-control"
                        id="share-add-field-destination"/>
                </td>
                <td>
                    <input type="text" name="vo" placeholder="VO" class="form-control"/>
                </td>
                <td>
                    <input type="number" name="share" placeholder="Share" class="form-control" min="0" max="100"/>
                </td>
            </form>
            </tr>
        </tbody>
    </table>
</div>

<script src="/js/config/links.js" onload="setupLinks()"></script>

<%include file="footer.html"/>