-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCreate.html
More file actions
37 lines (33 loc) · 1.17 KB
/
Copy pathCreate.html
File metadata and controls
37 lines (33 loc) · 1.17 KB
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
<script type="text/javascript">
RED.nodes.registerType('create',{
category: 'Docker',
color: '#F6CEF5',
defaults: {
name: {value:""}
},
inputs:1,
outputs:1,
icon: "docker.png",
label: function() {
return this.name||"create";
}
});
</script>
<script type="text/x-red" data-template-name="create">
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script>
<script type="text/x-red" data-help-name="create">
<p>A node that Creates a docker container.</p>
<p>Requires:</p>
<p><code>payload.Service</code> Name of service being stopped.</p>
<p><code>payload.S_Tag</code> QinQ Service <code>802.1ad</code>tag of service being stopped.</p>
<p><code>payload.C_Tag</code> QinQ Customer <code>802.1q</code>tag of service being stopped.</p>
<code>{</code><br>
     <code> "Service":"vSG",</code><br>
     <code> "S_Tag":5,</code><br>
     <code> "C_Tag":7</code><br>
<code>}</code>
</script>