Initial commit for OpenECOMP SDN-C OA&M
[sdnc/oam.git] / admportal / views / partials / vr_lan_interface.ejs
1    <div class="modal fade" id="vr-lan-interface-modal" tabindex="-1" role="dialog" 
2                 aria-labelledby="vr-lan-interface-modal-label" aria-hidden="true">
3       <div class="modal-dialog">
4         <div class="modal-content">
5           <div class="modal-header">
6             <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
7             <h4 class="modal-title">VR-LAN-INTERFACE</h4>
8           </div>
9           <div class="modal-body">
10             <form id="vr_lan_interface_form" role="form" action="/odl/update_vr_lan_interface" method="POST">
11               <div class="form-group">
12                 <label for="vr_designation">vr-designation</label>
13                 <input type="text" class="form-control" name="vr_designation" id="vr_designation">
14               </div>
15               <div class="form-group">
16                 <label for="v6_vr_lan_prefix">v6-vr-lan-prefix</label>
17                 <input type="text" class="form-control" name="v6_vr_lan_prefix" id="v6_vr_lan_prefix">
18               </div>
19               <div class="form-group">
20                 <label for="v6_vr_lan_prefix_length">v6-vr-lan-prefix-length</label>
21                 <input type="text" class="form-control" name="v6_vr_lan_prefix_length" id="v6_vr_lan_prefix_length">
22               </div>
23               <div class="form-group">
24                 <label for="v6_vce_wan_address">v6-vce-wan-address</label>
25                 <input type="text" class="form-control" name="v6_vce_wan_address" id="v6_vce_wan_address">
26               </div>
27               <div class="form-group">
28                 <label for="v4_vr_lan_prefix">v4-vr-lan-prefix</label>
29                 <input type="text" class="form-control" name="v4_vr_lan_prefix" id="v4_vr_lan_prefix">
30               </div>
31               <div class="form-group">
32                 <label for="v4_vr_lan_prefix_length">v4-vr-lan-prefix-length</label>
33                 <input type="text" class="form-control" name="v4_vr_lan_prefix_length" id="v4_vr_lan_prefix_length">
34               </div>
35               <div class="form-group">
36                 <label for="t_defaulted_v6_vrlan">t-defaulted-v6-vrlan</label>
37                 <input type="text" class="form-control" name="t_defaulted_v6_vrlan" id="t_defaulted_v6_vrlan">
38               </div>
39               <div class="form-group">
40                 <label for="v4_vce_loopback_address">v4-vce-loopback-address</label>
41                 <input type="text" class="form-control" name="v4_vce_loopback_address" id="v4_vce_loopback_address">
42               </div>
43
44 <!--
45               <div class="form-group">
46                                 <input type="hidden" name="svc_instance_id" id="svc_instance_id">
47                                 <input type="hidden" name="uf_action" id="uf_action">
48                 <button type="button" class="btn btn-primary" onclick="submit(this.form);">Submit</button>
49                                 <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
50               </div>
51 -->
52            </form>
53           </div>
54       </div>
55     </div>
56   </div>
57
58 <script type="text/javascript">
59 function submit(form){
60         $('#vr-lan-interface-modal').modal('hide');
61         form.action = form.uf_action.value;
62         form.submit();
63         return;
64 }
65 </script>
66