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
<div class="page-header" >
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<h1 id="headerTitle">Register an Image archive</h1>
<h3>owner: {{vfimage.owner.username}}</h3>
<p>This image will be used by VNFs. The location of this image will be used by VIMs to download it and install it.
If you don't have a public URL, you may also upload your image to the 5GinFIRE Image repository</p>
<form class="form-horizontal" name="form" role="form" ng-submit="submitNewVFImage()" id="addVFImageForm">
<div class="form-group">
<label for="vfimage.name" class="col-sm-2 control-label" >Name*</label>
<div class="col-sm-10">
<input type="text" class="form-control" ng-model="vfimage.name" value="" placeholder="Image Name (will be used inside VNFs VDU)" ng-blur="checkVFImageName()"/>
<p class="help-block">Mandatory. Use a unique name e.g. <i>vendor_imageName_version</i> </p>
<p class="alert alert-danger" ng-show="nameExists" > Error. Image name is already registered in the repository</p>
</div>
</div>
<div class="form-group">
<label for="vfimage.shortDescription" class="col-sm-2 control-label">Description</label>
<div class="col-sm-10">
<input type="text" class="form-control" ng-model="vfimage.shortDescription" value="" placeholder="a short description" />
</div>
</div>
<div class="form-group">
<label for="vfimage.uploadedVFImageFile" class="col-sm-2 control-label">Image File </label>
<div class="col-sm-10">
<input type="file" class="form-control" name="uploadedVFImageFile" file-model="uploadedVFImageFile" placeholder="" />
<p class="help-block">[Optional] Upload your image file, to be hosted by 5GinFIRE portal</p>
</div>
</div>
<div class="form-group">
<label for="vfimage.publicURL" class="col-sm-2 control-label">URL</label>
<div class="col-sm-10">
<input type="text" class="form-control" ng-model="vfimage.publicURL" value="" placeholder="[Optional] Public URL that VIMs can use to download your image" />
</div>
</div>
<div class="form-group" >
<label for="name" class="col-sm-2 control-label">Published</label>
<div class="col-sm-10">
<div class="col-sm-1"><input type="checkbox" class="form-control" ng-model="vfimage.published" value="" /></div>
<div class="col-sm-9"><span></span></div>
<div class="col-sm-12">
<p class="help-block">If checked, the image will be visible for all users of the portal. (Testbed providers, admins can download it in any case)</p>
</div>
</div>
</div>
<div class="form-group">
<label for="vfimage.termsOfUse" class="col-sm-2 control-label">Terms of Use</label>
<div class="col-sm-10">
<textarea rows="5" class="form-control" ng-model="vfimage.termsOfUse" value="" placeholder="" ></textarea>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<input class="btn btn-default" type="submit" value="Save" ng-disabled="!nameIsValid" />
</div>
</div>
</form>
</div>
</div>
</div>
</div>