Initial commit for OpenECOMP SDN-C OA&M
Change-Id: I7ab579fd0d206bf356f36d52dcdf4f71f1fa2680
Signed-off-by: Timoney, Daniel (dt5972) <dtimoney@att.com>
Former-commit-id: 2a9f0edd09581f907e62ec4689b5ac94dd5382ba
diff --git a/admportal/views/partials/vnf_profile.ejs b/admportal/views/partials/vnf_profile.ejs
new file mode 100644
index 0000000..d67cf1a
--- /dev/null
+++ b/admportal/views/partials/vnf_profile.ejs
@@ -0,0 +1,32 @@
+ <div class="modal fade" id="add_vnf_profile" tabindex="-1" role="dialog"
+ aria-labelledby="add_vnf_profile" aria-hidden="true">
+ <div class="modal-dialog">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
+ <h4 class="modal-title">Add VNF Profile</h4>
+ </div>
+ <div class="modal-body">
+ <form name="addForm" role="form" action="/mobility/addVnfProfile" method="POST">
+ <div class="form-group">
+ <label for="nf_vnf_type">*VNF Type</label>
+ <input type="text" class="form-control" name="nf_vnf_type" id="nf_vnf_type" maxlength="200" placeholder="varchar(200)">
+ </div>
+ <div class="form-group">
+ <label for="nf_availability_zone_count">Availability Zone Count</label>
+ <input type="text" class="form-control" name="nf_availability_zone_count" id="nf_availability_zone_count" maxlength="11" placeholder="int(11)">
+ </div>
+ <div class="form-group">
+ <label for="nf_equipment_role">Equipment Role</label>
+ <input type="text" class="form-control" name="nf_equipment_role" id="nf_equipment_role" maxlength="11" placeholder="varchar(80)">
+ </div>
+ <div class="form-group">
+ <input type="hidden" name="nf_action" id="nf_action">
+ <button type="button" class="btn btn-primary" onclick="addVnfProfile(this.form);">Submit</button>
+ <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+ </div>