|
<!DOCTYPE html><!--[if lt IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--><!--[if IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8"> <![endif]--><!--[if IE 8]> <html lang="en" class="no-js lt-ie9"> <![endif]--><!--[if gt IE 8]><!--><html lang="en" class="no-js"><!--<![endif]--><head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<title>Edit host1338</title>
|
|
<meta name="description" content="">
|
|
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
|
|
|
<link href="/assets/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon">
|
|
|
|
<link data-turbolinks-track="true" href="/assets/application.css" media="screen" rel="stylesheet">
|
|
|
|
|
|
|
|
<script data-turbolinks-track="true" src="/assets/application.js"></script><style id="ace_editor.css">.ace_editor {position: relative;overflow: hidden;font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;direction: ltr;}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: '';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_editor.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}
|
|
/*# sourceURL=ace/css/ace_editor.css */</style><style id="ace-tm">.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}
|
|
/*# sourceURL=ace/css/ace-tm */</style><style> .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }</style>
|
|
<script data-turbolinks-track="true" src="/assets/hosts.js"></script>
|
|
<script data-turbolinks-track="true" src="/assets/host_edit.js"></script>
|
|
<script data-turbolinks-track="true" src="/assets/host_edit_interfaces.js"></script>
|
|
<script data-turbolinks-track="true" src="/assets/class_edit.js"></script>
|
|
<script data-turbolinks-track="true" src="/assets/compute_resource.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
var URL_PREFIX = '';
|
|
|
|
var AUTH_TOKEN = null
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
<style type="text/css">* {-webkit-transition: none !important;-moz-transition: none !important;-ms-transition: none !important;-o-transition: none !important;transition: none !important;}</style></head>
|
|
|
|
<body>
|
|
<!--[if lt IE 8]>
|
|
You are using an unsupported browser.
|
|
<![endif]-->
|
|
<div class="navbar navbar-default navbar-outer">
|
|
<div class="navbar-header">
|
|
<div class="container">
|
|
<div class="navbar-brand">
|
|
<!--[if IE]><div class='logo-small'> <![endif]-->
|
|
<img alt="Header logo" src="/assets/header_logo.png">
|
|
<!--[if IE]></div> <![endif]-->
|
|
<a data-id="aid_not_defined" href="/">Foreman</a>
|
|
</div>
|
|
<div>
|
|
<ul class="nav navbar-nav navbar-right navbar-header-menu navbar-collapse collapse" id="menu4">
|
|
|
|
<li class="dropdown menu_tab_dropdown">
|
|
<a class="dropdown-toggle" data-id="aid_not_defined" data-toggle="dropdown" href="#" id="account_menu"><img alt="Change your avatar at gravatar.com" class="avatar small" onerror="this.src='/assets/user.jpg'" src="http://secure.gravatar.com/avatar/64670aba4155aebeab596ee4204fefe7?d=mm&s=30">Admin User <span class="caret"></span></a>
|
|
<ul class="dropdown-menu pull-right">
|
|
<li class="menu_tab_/users_edit"><a data-id="aid_users_135138680_edit" href="/users/135138680/edit" id="menu_item_my_account">My account</a></li>
|
|
<li class="divider"></li>
|
|
<li class="menu_tab_/users_logout"><a data-id="aid_users_logout" data-method="post" href="/users/logout" id="menu_item_logout" rel="nofollow">Log out</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="navbar navbar-default navbar-inner navbar-fixed-top persist-header" style="display: none; ">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-header-menu">
|
|
<span class="glyphicon glyphicon-user"></span>
|
|
</button>
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-menu">
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-admin">
|
|
<span class="glyphicon glyphicon-cog"></span>
|
|
</button>
|
|
<div class="container">
|
|
<!-- menu -->
|
|
<ul class="nav navbar-nav navbar-menu navbar-collapse collapse" id="menu">
|
|
|
|
<li class="dropdown menu_tab_dropdown">
|
|
<a class="dropdown-toggle" data-id="aid_not_defined" data-toggle="dropdown" href="#" id="monitor_menu">Monitor<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li class="menu_tab_dashboard_index"><a data-id="aid_dashboard" href="/dashboard" id="menu_item_dashboard">Dashboard</a></li>
|
|
<li class="menu_tab_fact_values_index"><a data-id="aid_fact_values" href="/fact_values" id="menu_item_fact_values">Facts</a></li>
|
|
<li class="menu_tab_statistics_index"><a data-id="aid_statistics" href="/statistics" id="menu_item_statistics">Statistics</a></li>
|
|
<li class="menu_tab_trends_index"><a data-id="aid_trends" href="/trends" id="menu_item_trends">Trends</a></li>
|
|
<li class="menu_tab_audits_index"><a data-id="aid_audits" href="/audits" id="menu_item_audits">Audits</a></li>
|
|
<li class="divider"></li>
|
|
<li class="nav-header">Reports</li>
|
|
<li class="menu_tab_/config_reports_index"><a data-id="aid_config_reports" href="/config_reports?search=eventful+%3D+true" id="menu_item_reports">Config management</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="dropdown menu_tab_dropdown">
|
|
<a class="dropdown-toggle" data-id="aid_not_defined" data-toggle="dropdown" href="#" id="hosts_menu">Hosts<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li class="menu_tab_hosts_index"><a data-id="aid_hosts" href="/hosts" id="menu_item_hosts">All hosts</a></li>
|
|
<li class="menu_tab_/hosts_new"><a data-id="aid_hosts_new" href="/hosts/new" id="menu_item_newhost">New host</a></li>
|
|
<li class="divider"></li>
|
|
<li class="nav-header">Provisioning Setup</li>
|
|
<li class="menu_tab_architectures_index"><a data-id="aid_architectures" href="/architectures" id="menu_item_architectures">Architectures</a></li>
|
|
<li class="menu_tab_models_index"><a data-id="aid_models" href="/models" id="menu_item_models">Hardware models</a></li>
|
|
<li class="menu_tab_media_index"><a data-id="aid_media" href="/media" id="menu_item_media">Installation media</a></li>
|
|
<li class="menu_tab_operatingsystems_index"><a data-id="aid_operatingsystems" href="/operatingsystems" id="menu_item_operatingsystems">Operating systems</a></li>
|
|
<li class="divider"></li>
|
|
<li class="nav-header">Templates</li>
|
|
<li class="menu_tab_ptables_index"><a data-id="aid_templates_ptables" href="/templates/ptables" id="menu_item_partition_tables">Partition tables</a></li>
|
|
<li class="menu_tab_provisioning_templates_index"><a data-id="aid_templates_provisioning_templates" href="/templates/provisioning_templates" id="menu_item_provisioning_templates">Provisioning templates</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="dropdown menu_tab_dropdown">
|
|
<a class="dropdown-toggle" data-id="aid_not_defined" data-toggle="dropdown" href="#" id="configure_menu">Configure<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li class="menu_tab_hostgroups_index"><a data-id="aid_hostgroups" href="/hostgroups" id="menu_item_hostgroups">Host groups</a></li>
|
|
<li class="menu_tab_common_parameters_index"><a data-id="aid_common_parameters" href="/common_parameters" id="menu_item_common_parameters">Global parameters</a></li>
|
|
<li class="divider"></li>
|
|
<li class="nav-header">Puppet</li>
|
|
<li class="menu_tab_environments_index"><a data-id="aid_environments" href="/environments" id="menu_item_environments">Environments</a></li>
|
|
<li class="menu_tab_puppetclasses_index"><a data-id="aid_puppetclasses" href="/puppetclasses" id="menu_item_puppetclasses">Classes</a></li>
|
|
<li class="menu_tab_config_groups_index"><a data-id="aid_config_groups" href="/config_groups" id="menu_item_config_groups">Config groups</a></li>
|
|
<li class="menu_tab_variable_lookup_keys_index"><a data-id="aid_variable_lookup_keys" href="/variable_lookup_keys" id="menu_item_variable_lookup_keys">Smart variables</a></li>
|
|
<li class="menu_tab_puppetclass_lookup_keys_index"><a data-id="aid_puppetclass_lookup_keys" href="/puppetclass_lookup_keys" id="menu_item_puppetclass_lookup_keys">Smart class parameters</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="dropdown menu_tab_dropdown">
|
|
<a class="dropdown-toggle" data-id="aid_not_defined" data-toggle="dropdown" href="#" id="infrastructure_menu">Infrastructure<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li class="menu_tab_smart_proxies_index"><a data-id="aid_smart_proxies" href="/smart_proxies" id="menu_item_smart_proxies">Smart proxies</a></li>
|
|
<li class="menu_tab_compute_resources_index"><a data-id="aid_compute_resources" href="/compute_resources" id="menu_item_compute_resources">Compute resources</a></li>
|
|
<li class="menu_tab_compute_profiles_index"><a data-id="aid_compute_profiles" href="/compute_profiles" id="menu_item_compute_profiles">Compute profiles</a></li>
|
|
<li class="menu_tab_subnets_index"><a data-id="aid_subnets" href="/subnets" id="menu_item_subnets">Subnets</a></li>
|
|
<li class="menu_tab_domains_index"><a data-id="aid_domains" href="/domains" id="menu_item_domains">Domains</a></li>
|
|
<li class="menu_tab_realms_index"><a data-id="aid_realms" href="/realms" id="menu_item_realms">Realms</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
</ul>
|
|
<ul class="nav navbar-nav navbar-admin navbar-right navbar-collapse collapse" id="menu2">
|
|
<li class="dropdown menu_tab_dropdown">
|
|
<a class="dropdown-toggle" data-id="aid_not_defined" data-toggle="dropdown" href="#" id="administer_menu">Administer<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li class="menu_tab_locations_index"><a data-id="aid_locations" href="/locations" id="menu_item_locations">Locations</a></li>
|
|
<li class="menu_tab_organizations_index"><a data-id="aid_organizations" href="/organizations" id="menu_item_organizations">Organizations</a></li>
|
|
<li class="divider"></li>
|
|
|
|
<li class="menu_tab_auth_source_ldaps_index"><a data-id="aid_auth_source_ldaps" href="/auth_source_ldaps" id="menu_item_auth_source_ldaps">LDAP authentication</a></li>
|
|
<li class="menu_tab_users_index"><a data-id="aid_users" href="/users" id="menu_item_users">Users</a></li>
|
|
<li class="menu_tab_usergroups_index"><a data-id="aid_usergroups" href="/usergroups" id="menu_item_usergroups">User groups</a></li>
|
|
<li class="menu_tab_roles_index"><a data-id="aid_roles" href="/roles" id="menu_item_roles">Roles</a></li>
|
|
<li class="divider"></li>
|
|
|
|
<li class="menu_tab_bookmarks_index"><a data-id="aid_bookmarks" href="/bookmarks" id="menu_item_bookmarks">Bookmarks</a></li>
|
|
<li class="menu_tab_settings_index"><a data-id="aid_settings" href="/settings" id="menu_item_settings">Settings</a></li>
|
|
<li class="menu_tab_about_index"><a data-id="aid_about" href="/about" id="menu_item_about_index">About</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
</ul>
|
|
</div>
|
|
</div><div class="navbar navbar-default navbar-inner navbar-fixed-top persist-header" style="position: static; top: 0px; ">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-header-menu">
|
|
<span class="glyphicon glyphicon-user"></span>
|
|
</button>
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-menu">
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-admin">
|
|
<span class="glyphicon glyphicon-cog"></span>
|
|
</button>
|
|
<div class="container">
|
|
<!-- menu -->
|
|
<ul class="nav navbar-nav navbar-menu navbar-collapse collapse" id="menu">
|
|
|
|
<li class="dropdown menu_tab_dropdown">
|
|
<a class="dropdown-toggle" data-id="aid_not_defined" data-toggle="dropdown" href="#" id="monitor_menu">Monitor<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li class="menu_tab_dashboard_index"><a data-id="aid_dashboard" href="/dashboard" id="menu_item_dashboard">Dashboard</a></li>
|
|
<li class="menu_tab_fact_values_index"><a data-id="aid_fact_values" href="/fact_values" id="menu_item_fact_values">Facts</a></li>
|
|
<li class="menu_tab_statistics_index"><a data-id="aid_statistics" href="/statistics" id="menu_item_statistics">Statistics</a></li>
|
|
<li class="menu_tab_trends_index"><a data-id="aid_trends" href="/trends" id="menu_item_trends">Trends</a></li>
|
|
<li class="menu_tab_audits_index"><a data-id="aid_audits" href="/audits" id="menu_item_audits">Audits</a></li>
|
|
<li class="divider"></li>
|
|
<li class="nav-header">Reports</li>
|
|
<li class="menu_tab_/config_reports_index"><a data-id="aid_config_reports" href="/config_reports?search=eventful+%3D+true" id="menu_item_reports">Config management</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="dropdown menu_tab_dropdown">
|
|
<a class="dropdown-toggle" data-id="aid_not_defined" data-toggle="dropdown" href="#" id="hosts_menu">Hosts<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li class="menu_tab_hosts_index"><a data-id="aid_hosts" href="/hosts" id="menu_item_hosts">All hosts</a></li>
|
|
<li class="menu_tab_/hosts_new"><a data-id="aid_hosts_new" href="/hosts/new" id="menu_item_newhost">New host</a></li>
|
|
<li class="divider"></li>
|
|
<li class="nav-header">Provisioning Setup</li>
|
|
<li class="menu_tab_architectures_index"><a data-id="aid_architectures" href="/architectures" id="menu_item_architectures">Architectures</a></li>
|
|
<li class="menu_tab_models_index"><a data-id="aid_models" href="/models" id="menu_item_models">Hardware models</a></li>
|
|
<li class="menu_tab_media_index"><a data-id="aid_media" href="/media" id="menu_item_media">Installation media</a></li>
|
|
<li class="menu_tab_operatingsystems_index"><a data-id="aid_operatingsystems" href="/operatingsystems" id="menu_item_operatingsystems">Operating systems</a></li>
|
|
<li class="divider"></li>
|
|
<li class="nav-header">Templates</li>
|
|
<li class="menu_tab_ptables_index"><a data-id="aid_templates_ptables" href="/templates/ptables" id="menu_item_partition_tables">Partition tables</a></li>
|
|
<li class="menu_tab_provisioning_templates_index"><a data-id="aid_templates_provisioning_templates" href="/templates/provisioning_templates" id="menu_item_provisioning_templates">Provisioning templates</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="dropdown menu_tab_dropdown">
|
|
<a class="dropdown-toggle" data-id="aid_not_defined" data-toggle="dropdown" href="#" id="configure_menu">Configure<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li class="menu_tab_hostgroups_index"><a data-id="aid_hostgroups" href="/hostgroups" id="menu_item_hostgroups">Host groups</a></li>
|
|
<li class="menu_tab_common_parameters_index"><a data-id="aid_common_parameters" href="/common_parameters" id="menu_item_common_parameters">Global parameters</a></li>
|
|
<li class="divider"></li>
|
|
<li class="nav-header">Puppet</li>
|
|
<li class="menu_tab_environments_index"><a data-id="aid_environments" href="/environments" id="menu_item_environments">Environments</a></li>
|
|
<li class="menu_tab_puppetclasses_index"><a data-id="aid_puppetclasses" href="/puppetclasses" id="menu_item_puppetclasses">Classes</a></li>
|
|
<li class="menu_tab_config_groups_index"><a data-id="aid_config_groups" href="/config_groups" id="menu_item_config_groups">Config groups</a></li>
|
|
<li class="menu_tab_variable_lookup_keys_index"><a data-id="aid_variable_lookup_keys" href="/variable_lookup_keys" id="menu_item_variable_lookup_keys">Smart variables</a></li>
|
|
<li class="menu_tab_puppetclass_lookup_keys_index"><a data-id="aid_puppetclass_lookup_keys" href="/puppetclass_lookup_keys" id="menu_item_puppetclass_lookup_keys">Smart class parameters</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="dropdown menu_tab_dropdown">
|
|
<a class="dropdown-toggle" data-id="aid_not_defined" data-toggle="dropdown" href="#" id="infrastructure_menu">Infrastructure<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li class="menu_tab_smart_proxies_index"><a data-id="aid_smart_proxies" href="/smart_proxies" id="menu_item_smart_proxies">Smart proxies</a></li>
|
|
<li class="menu_tab_compute_resources_index"><a data-id="aid_compute_resources" href="/compute_resources" id="menu_item_compute_resources">Compute resources</a></li>
|
|
<li class="menu_tab_compute_profiles_index"><a data-id="aid_compute_profiles" href="/compute_profiles" id="menu_item_compute_profiles">Compute profiles</a></li>
|
|
<li class="menu_tab_subnets_index"><a data-id="aid_subnets" href="/subnets" id="menu_item_subnets">Subnets</a></li>
|
|
<li class="menu_tab_domains_index"><a data-id="aid_domains" href="/domains" id="menu_item_domains">Domains</a></li>
|
|
<li class="menu_tab_realms_index"><a data-id="aid_realms" href="/realms" id="menu_item_realms">Realms</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
</ul>
|
|
<ul class="nav navbar-nav navbar-admin navbar-right navbar-collapse collapse" id="menu2">
|
|
<li class="dropdown menu_tab_dropdown">
|
|
<a class="dropdown-toggle" data-id="aid_not_defined" data-toggle="dropdown" href="#" id="administer_menu">Administer<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li class="menu_tab_locations_index"><a data-id="aid_locations" href="/locations" id="menu_item_locations">Locations</a></li>
|
|
<li class="menu_tab_organizations_index"><a data-id="aid_organizations" href="/organizations" id="menu_item_organizations">Organizations</a></li>
|
|
<li class="divider"></li>
|
|
|
|
<li class="menu_tab_auth_source_ldaps_index"><a data-id="aid_auth_source_ldaps" href="/auth_source_ldaps" id="menu_item_auth_source_ldaps">LDAP authentication</a></li>
|
|
<li class="menu_tab_users_index"><a data-id="aid_users" href="/users" id="menu_item_users">Users</a></li>
|
|
<li class="menu_tab_usergroups_index"><a data-id="aid_usergroups" href="/usergroups" id="menu_item_usergroups">User groups</a></li>
|
|
<li class="menu_tab_roles_index"><a data-id="aid_roles" href="/roles" id="menu_item_roles">Roles</a></li>
|
|
<li class="divider"></li>
|
|
|
|
<li class="menu_tab_bookmarks_index"><a data-id="aid_bookmarks" href="/bookmarks" id="menu_item_bookmarks">Bookmarks</a></li>
|
|
<li class="menu_tab_settings_index"><a data-id="aid_settings" href="/settings" id="menu_item_settings">Settings</a></li>
|
|
<li class="menu_tab_about_index"><a data-id="aid_about" href="/about" id="menu_item_about_index">About</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div id="main">
|
|
|
|
|
|
|
|
<div id="content" class="container">
|
|
<div class="row form-group">
|
|
<h1 class="col-md-8">Edit host1338</h1>
|
|
</div>
|
|
<div class="row">
|
|
<div class="title_filter col-md-4">
|
|
|
|
|
|
</div>
|
|
<div id="title_action" class="col-md-8">
|
|
<div class="btn-toolbar pull-right"><a data-id="aid_hosts_host1338_toggle_manage" data-method="put" href="/hosts/host1338/toggle_manage" rel="nofollow" class="btn btn-default">Manage host</a> <a data-id="aid_hosts_host1338_disassociate" data-method="put" href="/hosts/host1338/disassociate" rel="nofollow" class="btn btn-default">Disassociate host</a></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="host-progress" class="alert alert-block alert-info base in fade hide alert-dismissable">
|
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
<h3><span class="pficon pficon-info "></span> Edit in Progress</h3>
|
|
<p id="tasks_progress">edit in progress.</p>
|
|
<div class="progress active">
|
|
<div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<form accept-charset="UTF-8" action="/hosts/host1338" class="form-horizontal well" data-id="2" data-submit="progress_bar" data-type-changed="false" id="edit_host_2" method="post"><div style="display:none"><input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="patch"></div>
|
|
|
|
|
|
<ul class="nav nav-tabs" data-tabs="tabs">
|
|
<li class=""><a href="#primary" data-toggle="tab" aria-expanded="false">Host</a></li>
|
|
<li><a href="#puppet_klasses" data-toggle="tab">Puppet Classes</a></li>
|
|
<li id="network_tab" data-refresh-url="/hosts/interfaces"><a href="#network" data-toggle="tab">Interfaces</a></li>
|
|
<li class="active"><a href="#params" id="params-tab" data-url="/hosts/current_parameters" data-url2="/hosts/puppetclass_parameters" data-toggle="tab" aria-expanded="true">Parameters</a></li>
|
|
<li><a href="#info" data-toggle="tab">Additional Information</a></li>
|
|
</ul>
|
|
|
|
<div class="tab-content">
|
|
|
|
<div class="tab-pane" id="primary">
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-2 control-label" for="name">Name *</label><div class="col-md-5"><input class="form-control " focus_on_load="true" id="host_name" name="host[name]" type="text" value="host1338"><span class="help-block"></span></div><span class="help-block help-inline">This value is used also as the host's primary interface name.</span></div></div>
|
|
|
|
|
|
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-2 control-label" for="hostgroup_id">Hostgroup</label><div class="col-md-4"><div class="select2-container form-control" id="s2id_host_hostgroup_id" title="" style="display: inline-block; "><a href="javascript:void(0)" class="select2-choice select2-default" tabindex="-1"> <span class="select2-chosen" id="select2-chosen-7"></span><abbr class="select2-search-choice-close"></abbr> <span class="select2-arrow" role="presentation"><b role="presentation"></b></span></a><label for="s2id_autogen7" class="select2-offscreen"></label><input class="select2-focusser select2-offscreen" type="text" aria-haspopup="true" role="button" aria-labelledby="select2-chosen-7" id="s2id_autogen7"><div class="select2-drop select2-display-none select2-with-searchbox"> <div class="select2-search"> <label for="s2id_autogen7_search" class="select2-offscreen"></label> <input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" role="combobox" aria-expanded="true" aria-autocomplete="list" aria-owns="select2-results-7" id="s2id_autogen7_search" placeholder=""> </div> <ul class="select2-results" role="listbox" id="select2-results-7"> </ul></div></div><select class="form-control" data-had-hostgroup="false" data-host-id="2" data-url="/hosts/hostgroup_or_environment_selected" id="host_hostgroup_id" name="host[hostgroup_id]" onchange="hostgroup_changed(this);" title="" style="display: none; " data-original-title="" tabindex="-1"><option value=""></option>
|
|
<option value="636252244">Common</option>
|
|
<option value="1">Parent</option>
|
|
<option value="928644285">Parent/inherited</option>
|
|
<option value="866317115">Unusual</option>
|
|
<option value="603241515">db</option></select><span class="help-block"></span></div><span class="help-block"><div class="hide spinner spinner-xs"></div></span></div></div>
|
|
|
|
|
|
|
|
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-2 control-label" for="environment_id">Environment</label><div class="col-md-4"><div class="input-group"><div class="select2-container form-control" id="s2id_host_environment_id" title="" style="display: block; "><a href="javascript:void(0)" class="select2-choice select2-default" tabindex="-1"> <span class="select2-chosen" id="select2-chosen-8"></span><abbr class="select2-search-choice-close"></abbr> <span class="select2-arrow" role="presentation"><b role="presentation"></b></span></a><label for="s2id_autogen8" class="select2-offscreen"></label><input class="select2-focusser select2-offscreen" type="text" aria-haspopup="true" role="button" aria-labelledby="select2-chosen-8" id="s2id_autogen8"><div class="select2-drop select2-display-none select2-with-searchbox"> <div class="select2-search"> <label for="s2id_autogen8_search" class="select2-offscreen"></label> <input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" role="combobox" aria-expanded="true" aria-autocomplete="list" aria-owns="select2-results-8" id="s2id_autogen8_search" placeholder=""> </div> <ul class="select2-results" role="listbox" id="select2-results-8"> </ul></div></div><select class="form-control" data-host-id="2" data-url="/hosts/hostgroup_or_environment_selected" id="host_environment_id" name="host[environment_id]" onchange="update_puppetclasses(this)" title="" style="display: none; " data-original-title="" tabindex="-1"><option value=""></option>
|
|
<option value="687036938">environment127</option>
|
|
<option value="153855663">global_puppetmaster</option>
|
|
<option value="334344675">production</option>
|
|
<option value="687036937">testing</option></select><span class="input-group-btn"><button class="btn btn-default btn-can-disable" data-explicit="true" data-toggle="button" href="#" name="is_overridden_btn" onclick="disableButtonToggle(this)" type="button">inherit</button></span></div><span class="help-block"></span></div><span class="help-block"><div class="hide spinner spinner-xs"></div></span></div></div>
|
|
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-2 control-label" for="puppet_ca_proxy_id">Puppet CA</label><div class="col-md-4"><div class="input-group"><div class="select2-container form-control" id="s2id_host_puppet_ca_proxy_id" title="" style="display: block; "><a href="javascript:void(0)" class="select2-choice select2-default" tabindex="-1"> <span class="select2-chosen" id="select2-chosen-9"></span><abbr class="select2-search-choice-close"></abbr> <span class="select2-arrow" role="presentation"><b role="presentation"></b></span></a><label for="s2id_autogen9" class="select2-offscreen"></label><input class="select2-focusser select2-offscreen" type="text" aria-haspopup="true" role="button" aria-labelledby="select2-chosen-9" id="s2id_autogen9"><div class="select2-drop select2-display-none select2-with-searchbox"> <div class="select2-search"> <label for="s2id_autogen9_search" class="select2-offscreen"></label> <input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" role="combobox" aria-expanded="true" aria-autocomplete="list" aria-owns="select2-results-9" id="s2id_autogen9_search" placeholder=""> </div> <ul class="select2-results" role="listbox" id="select2-results-9"> </ul></div></div><select class="form-control" id="host_puppet_ca_proxy_id" name="host[puppet_ca_proxy_id]" title="" style="display: none; " data-original-title="" tabindex="-1"><option value=""></option>
|
|
<option value="182953976">Puppetmaster Proxy</option></select><span class="input-group-btn"><button class="btn btn-default btn-can-disable" data-explicit="true" data-toggle="button" href="#" name="is_overridden_btn" onclick="disableButtonToggle(this)" type="button">inherit</button></span></div><span class="help-block"></span></div><span class="help-block help-inline">Use this puppet server as a CA server</span></div></div> <div class="clearfix"><div class="form-group "><label class="col-md-2 control-label" for="puppet_proxy_id">Puppet Master</label><div class="col-md-4"><div class="input-group"><div class="select2-container form-control" id="s2id_host_puppet_proxy_id" title="" style="display: block; "><a href="javascript:void(0)" class="select2-choice select2-default" tabindex="-1"> <span class="select2-chosen" id="select2-chosen-10"></span><abbr class="select2-search-choice-close"></abbr> <span class="select2-arrow" role="presentation"><b role="presentation"></b></span></a><label for="s2id_autogen10" class="select2-offscreen"></label><input class="select2-focusser select2-offscreen" type="text" aria-haspopup="true" role="button" aria-labelledby="select2-chosen-10" id="s2id_autogen10"><div class="select2-drop select2-display-none select2-with-searchbox"> <div class="select2-search"> <label for="s2id_autogen10_search" class="select2-offscreen"></label> <input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" role="combobox" aria-expanded="true" aria-autocomplete="list" aria-owns="select2-results-10" id="s2id_autogen10_search" placeholder=""> </div> <ul class="select2-results" role="listbox" id="select2-results-10"> </ul></div></div><select class="form-control" id="host_puppet_proxy_id" name="host[puppet_proxy_id]" title="" style="display: none; " data-original-title="" tabindex="-1"><option value=""></option>
|
|
<option value="182953976">Puppetmaster Proxy</option></select><span class="input-group-btn"><button class="btn btn-default btn-can-disable" data-explicit="true" data-toggle="button" href="#" name="is_overridden_btn" onclick="disableButtonToggle(this)" type="button">inherit</button></span></div><span class="help-block"></span></div><span class="help-block help-inline">Use this puppet server as an initial Puppet Server or to execute puppet runs</span></div></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="tab-pane" id="puppet_klasses">
|
|
<div class="alert alert-info alert-dismissable"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button><span class="pficon pficon-info "></span> <h4 class="alert-heading">Warning!</h4><span class="text">Please select an environment first</span></div>
|
|
</div>
|
|
|
|
<input id="host_managed" name="host[managed]" type="hidden" value="f">
|
|
<input data-url="/tasks/f3adbd32-6174-4c09-b535-b278db40df01" id="host_progress_report_id" name="host[progress_report_id]" type="hidden" value="f3adbd32-6174-4c09-b535-b278db40df01">
|
|
|
|
|
|
<div class="tab-pane" id="network">
|
|
|
|
<fieldset id="interfaces" data-url="/interfaces/new">
|
|
<!-- interface list -->
|
|
<table class="table table-bordered table-striped" id="interfaceList">
|
|
<thead>
|
|
<tr>
|
|
<th class="hidden-xs" width="3%"></th>
|
|
<th class="hidden-xs" width="6%"></th>
|
|
<th class="ellipsis" data-original-title="" title="">Identifier</th>
|
|
<th class="hidden-xs">Type</th>
|
|
<th class="hidden-xs">MAC address</th>
|
|
<th class="hidden-xs">IP address</th>
|
|
<th class="hidden-xs">FQDN</th>
|
|
<th>Actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr id="interface555393780" style="display: table-row; ">
|
|
<td class="status hidden-xs" align="center"></td>
|
|
<td class="flags hidden-xs" align="center"><i class="glyphicon glyphicon glyphicon-tag primary-flag active" title="" data-original-title="Primary"></i><i class="glyphicon glyphicon glyphicon-hdd provision-flag active" title="" data-original-title="Provisioning"></i></td>
|
|
<td class="identifier ellipsis" data-original-title="" title=""></td>
|
|
<td class="type hidden-xs">Interface<div class="additional-info">physical</div></td>
|
|
<td class="mac hidden-xs"></td>
|
|
<td class="ip hidden-xs"></td>
|
|
<td class="fqdn hidden-xs"></td>
|
|
<td>
|
|
<button type="button" class="btn btn-default showModal">Edit</button>
|
|
<button type="button" class="btn btn-danger removeInterface disabled">Delete</button>
|
|
</td>
|
|
</tr><tr id="interfaceTemplate" style="display: none">
|
|
<td class="status hidden-xs" align="center"></td>
|
|
<td class="flags hidden-xs" align="center"></td>
|
|
<td class="identifier ellipsis" data-original-title="" title=""></td>
|
|
<td class="type hidden-xs"></td>
|
|
<td class="mac hidden-xs"></td>
|
|
<td class="ip hidden-xs"></td>
|
|
<td class="fqdn hidden-xs"></td>
|
|
<td>
|
|
<button type="button" class="btn btn-default showModal">Edit</button>
|
|
<button type="button" class="btn btn-danger removeInterface">Delete</button>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="btn-toolbar">
|
|
<button type="button" onclick="edit_interface();return false;" class="info btn btn-success" id="addInterface" title="" data-original-title="add new network interface">+ Add Interface
|
|
</button>
|
|
</div>
|
|
|
|
<!-- hidden interface forms -->
|
|
<div id="interfaceForms">
|
|
|
|
|
|
<div class="hidden" id="interfaceHidden555393780" data-interface-id="555393780">
|
|
<fieldset data-url="/interfaces/new" id="interface">
|
|
<input class="destroyFlag" id="host_interfaces_attributes_0__destroy" name="host[interfaces_attributes][0][_destroy]" type="hidden" value="0">
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="type">Type</label><div class="col-md-8"><select class="form-control interface_type without_select2" disabled="disabled" id="host_interfaces_attributes_0_type" name="host[interfaces_attributes][0][type]"><option selected="selected" value="Nic::Managed">Interface</option>
|
|
<option value="Nic::BMC">BMC</option>
|
|
<option value="Nic::Bond">Bond</option>
|
|
<option value="Nic::Bridge">Bridge</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option></select><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="mac">Mac</label><div class="col-md-8"><input class="form-control interface_mac" focus_on_load="false" id="host_interfaces_attributes_0_mac" name="host[interfaces_attributes][0][mac]" type="text"><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="identifier">Device identifier</label><div class="col-md-8"><input class="form-control interface_identifier" focus_on_load="false" id="host_interfaces_attributes_0_identifier" name="host[interfaces_attributes][0][identifier]" type="text"><span class="help-block"></span></div><span class="help-block help-inline"><a data-container="body" data-content="Device identifier for this interface. This may be different on various platforms and environments, here are some common examples.<br/><ul><li>Use the basic name for physical interface identifiers, e.g. <strong>eth0</strong> or <strong>em0</strong> with biosdevname.</li><li>For virtual interfaces, use either alias notation (<strong>eth0:1</strong>, name:index) or VLAN notation (<strong>eth0.15</strong>, name.tag).</li><li>For bonds it's common to use <strong>bond0</strong> on Linux, <strong>lagg0</strong> on FreeBSD systems.</li></ul>" data-html="true" data-original-title="" data-placement="top" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1" title="Device identifier"><span class="glyphicon glyphicon-info-sign "></span> </a></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="name">DNS name</label><div class="col-md-8"><input class="form-control interface_name" focus_on_load="true" id="host_interfaces_attributes_0_name" name="host[interfaces_attributes][0][name]" type="text" value="host1338"><span class="help-block"></span></div><span class="help-block help-inline"><a data-container="body" data-content="Primary interface's DNS name and domain define host's FQDN" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="domain_id">Domain</label><div class="col-md-8"><select class="form-control interface_domain without_select2" data-url="/hosts/domain_selected" id="host_interfaces_attributes_0_domain_id" name="host[interfaces_attributes][0][domain_id]"><option value=""></option>
|
|
<option value="759776764">example428.com</option>
|
|
<option value="22495316">mydomain.net</option>
|
|
<option value="759776763">unused.net</option>
|
|
<option value="229305443">useless.net</option>
|
|
<option value="589326610">yourdomain.net</option></select><span class="help-block"></span></div><span class="help-block"><div class="hide spinner spinner-xs"></div></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="subnet_id">Subnet</label><div class="col-md-8"><select class="form-control interface_subnet without_select2" data-url="/subnets/freeip" id="host_interfaces_attributes_0_subnet_id" name="host[interfaces_attributes][0][subnet_id]"><option value=""></option>
|
|
<option value="1018350795">five (10.0.0.0/24)</option>
|
|
<option value="281110143">four (3.3.5.0/24)</option>
|
|
<option value="980190962">one (2.3.4.0/24)</option>
|
|
<option value="113629430">three (3.3.4.3/24)</option>
|
|
<option value="298486374">two (3.3.4.0/24)</option></select><span class="help-block"></span></div><span class="help-block"><div class="hide spinner spinner-xs"></div></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="ip">Ip</label><div class="col-md-8"><input autocomplete="off" class="form-control interface_ip" focus_on_load="false" id="host_interfaces_attributes_0_ip" name="host[interfaces_attributes][0][ip]" type="text"><span class="help-block"><a class="suggest_new_ip" data-id="aid_not_defined" href="#">Suggest new</a></span></div><span class="help-block help-inline"><a data-container="body" data-content="An IP address will be auto-suggested if you have a DHCP-enabled Smart Proxy on the subnet selected above.<br/><br/>The IP address can be left blank when:<br/><ul><li>provisioning tokens are enabled</li><li>the domain does not manage DNS</li><li>the subnet does not manage reverse DNS</li><li>and the subnet does not manage DHCP reservations</li></ul>" data-html="true" data-original-title="" data-placement="top" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1" title="IP address auto-suggest"><span class="glyphicon glyphicon-info-sign "></span> </a></span></div></div>
|
|
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="managed">Managed</label><div class="col-md-8"><input name="host[interfaces_attributes][0][managed]" type="hidden" value="0"><input checked="checked" id="host_interfaces_attributes_0_managed" name="host[interfaces_attributes][0][managed]" type="checkbox" value="1"> <span class="help-inline"><a data-container="body" data-content="Should this interface be managed via DHCP and DNS smart proxy and should it be configured during provisioning?" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="primary">Primary</label><div class="col-md-8"><input name="host[interfaces_attributes][0][primary]" type="hidden" value="0"><input checked="checked" class="interface_primary" id="host_interfaces_attributes_0_primary" name="host[interfaces_attributes][0][primary]" type="checkbox" value="1"> <span class="help-inline"><a data-container="body" data-content="The Primary interface is used for constructing the FQDN of the host" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="provision">Provision</label><div class="col-md-8"><input name="host[interfaces_attributes][0][provision]" type="hidden" value="0"><input checked="checked" class="interface_provision" id="host_interfaces_attributes_0_provision" name="host[interfaces_attributes][0][provision]" type="checkbox" value="1"> <span class="help-inline"><a data-container="body" data-content="The Provisioning interface is used for TFTP of PXELinux (or SSH for image-based hosts)" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
|
|
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="virtual">Virtual NIC</label><div class="col-md-8"><input disabled="disabled" name="host[interfaces_attributes][0][virtual]" type="hidden" value="0"><input class="virtual" disabled="disabled" id="host_interfaces_attributes_0_virtual" name="host[interfaces_attributes][0][virtual]" type="checkbox" value="1"> <span class="help-inline"><a data-container="body" data-content="Enable if this is an alias or VLAN interface, note that alias can be used only with static boot mode subnet" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
|
|
<div class="virtual_form hidden">
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="tag">Tag</label><div class="col-md-8"><input class="form-control " focus_on_load="false" id="host_interfaces_attributes_0_tag" name="host[interfaces_attributes][0][tag]" type="text" value=""><span class="help-block"></span></div><span class="help-block help-inline"><a data-container="body" data-content="Inherits from subnet VLAN ID if not set" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="attached_to">Attached to *</label><div class="col-md-8"><input class="form-control attached" focus_on_load="false" id="host_interfaces_attributes_0_attached_to" name="host[interfaces_attributes][0][attached_to]" type="text" value=""><span class="help-block"></span></div><span class="help-block help-inline"><a data-container="body" data-content="Identifier of the interface to which this interface belongs, e.g. eth1" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span></div></div>
|
|
|
|
</div>
|
|
|
|
|
|
</fieldset></div>
|
|
|
|
<input id="host_interfaces_attributes_0_id" name="host[interfaces_attributes][0][id]" type="hidden" value="2"> </div>
|
|
<!-- modal window -->
|
|
<div class="modal fade" id="interfaceModal" role="dialog" aria-hidden="true">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" onclick="close_interface_modal(); return false;"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
|
<h4 class="modal-title"></h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn btn-default" onclick="close_interface_modal(); return false;">Cancel</button>
|
|
<button type="button" class="btn btn-primary" onclick="save_interface_modal(); return false;">Ok</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="interfaces_fields_template form_template" style="display: none;">
|
|
<div class="hidden" id="interfaceHidden" data-interface-id="">
|
|
<fieldset data-url="/interfaces/new" id="interface">
|
|
<input class="destroyFlag" id="host_interfaces_attributes_new_interfaces__destroy" name="host[interfaces_attributes][new_interfaces][_destroy]" type="hidden" value="1">
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="type">Type</label><div class="col-md-8"><select class="form-control interface_type without_select2" id="host_interfaces_attributes_new_interfaces_type" name="host[interfaces_attributes][new_interfaces][type]"><option value="Nic::Managed">Interface</option>
|
|
<option value="Nic::BMC">BMC</option>
|
|
<option value="Nic::Bond">Bond</option>
|
|
<option value="Nic::Bridge">Bridge</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option>
|
|
<option value="NicTest::DefaultTestNic">DefaultTestNic</option>
|
|
<option value="NicTest::HumanizedTestNic">Custom</option></select><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="mac">Mac</label><div class="col-md-8"><input class="form-control interface_mac" focus_on_load="false" id="host_interfaces_attributes_new_interfaces_mac" name="host[interfaces_attributes][new_interfaces][mac]" type="text"><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="identifier">Device identifier</label><div class="col-md-8"><input class="form-control interface_identifier" focus_on_load="false" id="host_interfaces_attributes_new_interfaces_identifier" name="host[interfaces_attributes][new_interfaces][identifier]" type="text"><span class="help-block"></span></div><span class="help-block help-inline"><a data-container="body" data-content="Device identifier for this interface. This may be different on various platforms and environments, here are some common examples.<br/><ul><li>Use the basic name for physical interface identifiers, e.g. <strong>eth0</strong> or <strong>em0</strong> with biosdevname.</li><li>For virtual interfaces, use either alias notation (<strong>eth0:1</strong>, name:index) or VLAN notation (<strong>eth0.15</strong>, name.tag).</li><li>For bonds it's common to use <strong>bond0</strong> on Linux, <strong>lagg0</strong> on FreeBSD systems.</li></ul>" data-html="true" data-original-title="" data-placement="top" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1" title="Device identifier"><span class="glyphicon glyphicon-info-sign "></span> </a></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="name">DNS name</label><div class="col-md-8"><input class="form-control interface_name" focus_on_load="true" id="host_interfaces_attributes_new_interfaces_name" name="host[interfaces_attributes][new_interfaces][name]" type="text"><span class="help-block"></span></div><span class="help-block help-inline"><a data-container="body" data-content="Primary interface's DNS name and domain define host's FQDN" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="domain_id">Domain</label><div class="col-md-8"><select class="form-control interface_domain without_select2" data-url="/hosts/domain_selected" id="host_interfaces_attributes_new_interfaces_domain_id" name="host[interfaces_attributes][new_interfaces][domain_id]"><option value=""></option>
|
|
<option value="759776764">example428.com</option>
|
|
<option value="22495316">mydomain.net</option>
|
|
<option value="759776763">unused.net</option>
|
|
<option value="229305443">useless.net</option>
|
|
<option value="589326610">yourdomain.net</option></select><span class="help-block"></span></div><span class="help-block"><div class="hide spinner spinner-xs"></div></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="subnet_id">Subnet</label><div class="col-md-8"><select class="form-control interface_subnet without_select2" data-url="/subnets/freeip" id="host_interfaces_attributes_new_interfaces_subnet_id" name="host[interfaces_attributes][new_interfaces][subnet_id]"><option value=""></option>
|
|
<option value="1018350795">five (10.0.0.0/24)</option>
|
|
<option value="281110143">four (3.3.5.0/24)</option>
|
|
<option value="980190962">one (2.3.4.0/24)</option>
|
|
<option value="113629430">three (3.3.4.3/24)</option>
|
|
<option value="298486374">two (3.3.4.0/24)</option></select><span class="help-block"></span></div><span class="help-block"><div class="hide spinner spinner-xs"></div></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="ip">Ip</label><div class="col-md-8"><input autocomplete="off" class="form-control interface_ip" focus_on_load="false" id="host_interfaces_attributes_new_interfaces_ip" name="host[interfaces_attributes][new_interfaces][ip]" type="text"><span class="help-block"><a class="suggest_new_ip" data-id="aid_not_defined" href="#">Suggest new</a></span></div><span class="help-block help-inline"><a data-container="body" data-content="An IP address will be auto-suggested if you have a DHCP-enabled Smart Proxy on the subnet selected above.<br/><br/>The IP address can be left blank when:<br/><ul><li>provisioning tokens are enabled</li><li>the domain does not manage DNS</li><li>the subnet does not manage reverse DNS</li><li>and the subnet does not manage DHCP reservations</li></ul>" data-html="true" data-original-title="" data-placement="top" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1" title="IP address auto-suggest"><span class="glyphicon glyphicon-info-sign "></span> </a></span></div></div>
|
|
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="managed">Managed</label><div class="col-md-8"><input name="host[interfaces_attributes][new_interfaces][managed]" type="hidden" value="0"><input checked="checked" id="host_interfaces_attributes_new_interfaces_managed" name="host[interfaces_attributes][new_interfaces][managed]" type="checkbox" value="1"> <span class="help-inline"><a data-container="body" data-content="Should this interface be managed via DHCP and DNS smart proxy and should it be configured during provisioning?" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="primary">Primary</label><div class="col-md-8"><input name="host[interfaces_attributes][new_interfaces][primary]" type="hidden" value="0"><input class="interface_primary" id="host_interfaces_attributes_new_interfaces_primary" name="host[interfaces_attributes][new_interfaces][primary]" type="checkbox" value="1"> <span class="help-inline"><a data-container="body" data-content="The Primary interface is used for constructing the FQDN of the host" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="provision">Provision</label><div class="col-md-8"><input name="host[interfaces_attributes][new_interfaces][provision]" type="hidden" value="0"><input class="interface_provision" id="host_interfaces_attributes_new_interfaces_provision" name="host[interfaces_attributes][new_interfaces][provision]" type="checkbox" value="1"> <span class="help-inline"><a data-container="body" data-content="The Provisioning interface is used for TFTP of PXELinux (or SSH for image-based hosts)" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
|
|
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="virtual">Virtual NIC</label><div class="col-md-8"><input name="host[interfaces_attributes][new_interfaces][virtual]" type="hidden" value="0"><input class="virtual" id="host_interfaces_attributes_new_interfaces_virtual" name="host[interfaces_attributes][new_interfaces][virtual]" type="checkbox" value="1"> <span class="help-inline"><a data-container="body" data-content="Enable if this is an alias or VLAN interface, note that alias can be used only with static boot mode subnet" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
|
|
<div class="virtual_form hidden">
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="tag">Tag</label><div class="col-md-8"><input class="form-control " focus_on_load="false" id="host_interfaces_attributes_new_interfaces_tag" name="host[interfaces_attributes][new_interfaces][tag]" type="text" value=""><span class="help-block"></span></div><span class="help-block help-inline"><a data-container="body" data-content="Inherits from subnet VLAN ID if not set" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-3 control-label" for="attached_to">Attached to *</label><div class="col-md-8"><input class="form-control attached" focus_on_load="false" id="host_interfaces_attributes_new_interfaces_attached_to" name="host[interfaces_attributes][new_interfaces][attached_to]" type="text" value=""><span class="help-block"></span></div><span class="help-block help-inline"><a data-container="body" data-content="Identifier of the interface to which this interface belongs, e.g. eth1" data-html="true" data-original-title="" data-trigger="focus" icon="info-sign" rel="popover-modal" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span></div></div>
|
|
|
|
</div>
|
|
|
|
|
|
</fieldset></div>
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="tab-pane active" id="params">
|
|
<fieldset>
|
|
<h2>Puppet class parameters</h2>
|
|
<table class="table table-fixed" id="inherited_puppetclasses_parameters">
|
|
<thead class="white-header">
|
|
<tr>
|
|
<th class="col-md-3">Puppet class</th>
|
|
<th class="col-md-2">Name</th>
|
|
<th class="col-md-6">Value</th>
|
|
<th class="col-md-1 ca">Use Puppet default <a data-container="body" data-content="Do not send this parameter via the ENC.<br>Puppet will use the value defined in the manifest." data-html="true" data-original-title="Use Puppet default" data-trigger="focus" icon="info-sign" rel="popover" role="button" tabindex="-1" title=""><span class="glyphicon glyphicon-info-sign "></span> </a></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</fieldset>
|
|
<br>
|
|
<fieldset>
|
|
<h2>Global parameters</h2>
|
|
<table class="table table-fixed" id="inherited_parameters">
|
|
<thead class="white-header">
|
|
<tr>
|
|
<th class="col-md-3">Name</th>
|
|
<th class="col-md-8">Value</th>
|
|
<th class="col-md-1 ca">Actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="">
|
|
<td class="ellipsis" data-original-title="" title=""><span id="name_test">test</span>
|
|
</td>
|
|
<td><div class="input-group"><span class="input-group-addon"><a data-container="body" data-content="<b>Source:</b> global " data-html="true" data-original-title="" data-placement="top" data-trigger="focus" icon="info-sign" rel="popover" role="button" tabindex="-1"><span class="glyphicon glyphicon-info-sign "></span> </a></span><textarea class="form-control no-stretch" data-hidden-value="*****" data-property="value" disabled="disabled" id="value_myvalue" name="" rows="1">myvalue</textarea><span class="input-group-btn"><button class="btn btn-default btn-md btn-fullscreen" name="button" onclick="set_fullscreen($(this).closest('.input-group').find('input,textarea'))" title="" type="button" data-original-title="Full screen"><span class="glyphicon glyphicon-resize-full "></span> </button></span></div></td>
|
|
<td>
|
|
<a class="btn btn-default" data-tag="override" href="#" onclick="override_param(this); return false;" title="" data-original-title="Override this value">override</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<h4>Host parameters</h4>
|
|
<div id="parameters">
|
|
<table class="table" id="global_parameters_table">
|
|
<thead class="white-header">
|
|
<tr>
|
|
<th class="col-md-3">Name</th>
|
|
<th class="col-md-8">Value</th>
|
|
<th class="col-md-1 ca">Actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
<a class="btn btn-primary" href="#" onclick="add_fields('#global_parameters_table tbody', 'host_parameters', '<tr class=\"fields \">\n <td>\n <input class=\"form-control\" id=\"host_host_parameters_attributes_new_host_parameters_name\" name=\"host[host_parameters_attributes][new_host_parameters][name]\" placeholder=\"Name\" type=\"text\" />\n <\/td>\n <td>\n <div class=\"input-group\"><textarea class=\"form-control no-stretch\" id=\"host_host_parameters_attributes_new_host_parameters_value\" name=\"host[host_parameters_attributes][new_host_parameters][value]\" placeholder=\"Value\" rows=\"1\">\n<\/textarea><span class=\"input-group-btn\"><a class=\"btn btn-default btn-md btn-hide hide\" href=\"#\" onclick=\"input_group_hidden(this); return false;\" title=\"Unhide this value\"><span class=\"glyphicon glyphicon-eye-open \"><\/span> <\/a><a class=\"btn btn-default btn-md btn-hide \" href=\"#\" onclick=\"input_group_hidden(this); return false;\" title=\"Hide this value\"><span class=\"glyphicon glyphicon-eye-close \"><\/span> <\/a> <button class=\"btn btn-default btn-md btn-fullscreen\" name=\"button\" onclick=\"set_fullscreen($(this).closest(&#39;.input-group&#39;).find(&#39;input,textarea&#39;))\" title=\"Full screen\" type=\"button\"><span class=\"glyphicon glyphicon-resize-full \"><\/span> <\/button><\/span><\/div>\n <\/td>\n <td>\n <input name=\"host[host_parameters_attributes][new_host_parameters][hidden_value]\" type=\"hidden\" value=\"0\" /><input class=\"set_hidden_value hide\" id=\"host_host_parameters_attributes_new_host_parameters_hidden_value\" name=\"host[host_parameters_attributes][new_host_parameters][hidden_value]\" type=\"checkbox\" value=\"1\" />\n <input id=\"host_host_parameters_attributes_new_host_parameters__destroy\" name=\"host[host_parameters_attributes][new_host_parameters][_destroy]\" type=\"hidden\" value=\"false\" /><a href=\"#\" onclick=\"remove_fields(this); return false;\" title=\"Remove Parameter\"><span class=\"glyphicon glyphicon-remove \"><\/span> <\/a>remove\n <\/td>\n <span class=\"help-block\">\n \n <\/span>\n<\/tr>\n'); return false;" target="#global_parameters_table tbody">+ Add Parameter</a>
|
|
</div>
|
|
|
|
</fieldset>
|
|
</div>
|
|
|
|
<div class="tab-pane" id="info">
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-2 control-label" for="is_owned_by">Owned By</label><div class="col-md-4"><div class="select2-container form-control" id="s2id_host_is_owned_by" title="" style="display: inline-block; "><a href="javascript:void(0)" class="select2-choice" tabindex="-1"> <span class="select2-chosen" id="select2-chosen-11">Admin User (secret_admin)</span><abbr class="select2-search-choice-close"></abbr> <span class="select2-arrow" role="presentation"><b role="presentation"></b></span></a><label for="s2id_autogen11" class="select2-offscreen"></label><input class="select2-focusser select2-offscreen" type="text" aria-haspopup="true" role="button" aria-labelledby="select2-chosen-11" id="s2id_autogen11"><div class="select2-drop select2-display-none select2-with-searchbox"> <div class="select2-search"> <label for="s2id_autogen11_search" class="select2-offscreen"></label> <input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" role="combobox" aria-expanded="true" aria-autocomplete="list" aria-owns="select2-results-11" id="s2id_autogen11_search" placeholder=""> </div> <ul class="select2-results" role="listbox" id="select2-results-11"> </ul></div></div><select class="form-control" id="host_is_owned_by" name="host[is_owned_by]" title="" style="display: none; " data-original-title="" tabindex="-1"><option value="">select an owner</option>
|
|
<optgroup label="users"><option selected="selected" value="135138680-Users">Admin User (secret_admin)</option>
|
|
<option value="980190962-Users">One User (one)</option>
|
|
<option value="130842698-Users">Restricted User (restricted)</option>
|
|
<option value="298486374-Users">Two User (two)</option>
|
|
<option value="886836129-Users">apiadmin User (apiadmin)</option>
|
|
<option value="200482051-Users">test User (test)</option></optgroup><optgroup label="usergroups"></optgroup></select><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-2 control-label" for="enabled">Enabled</label><div class="col-md-4"><input name="host[enabled]" type="hidden" value="0"><input checked="checked" id="host_enabled" name="host[enabled]" type="checkbox" value="1"> <span class="help-inline">Include this host within Foreman reporting</span><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
<div id="model_name">
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-2 control-label" for="model_id">Hardware Model</label><div class="col-md-4"><div class="select2-container form-control" id="s2id_host_model_id" title="" style="display: inline-block; "><a href="javascript:void(0)" class="select2-choice select2-default" tabindex="-1"> <span class="select2-chosen" id="select2-chosen-12"></span><abbr class="select2-search-choice-close"></abbr> <span class="select2-arrow" role="presentation"><b role="presentation"></b></span></a><label for="s2id_autogen12" class="select2-offscreen"></label><input class="select2-focusser select2-offscreen" type="text" aria-haspopup="true" role="button" aria-labelledby="select2-chosen-12" id="s2id_autogen12"><div class="select2-drop select2-display-none select2-with-searchbox"> <div class="select2-search"> <label for="s2id_autogen12_search" class="select2-offscreen"></label> <input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" role="combobox" aria-expanded="true" aria-autocomplete="list" aria-owns="select2-results-12" id="s2id_autogen12_search" placeholder=""> </div> <ul class="select2-results" role="listbox" id="select2-results-12"> </ul></div></div><select class="form-control" id="host_model_id" name="host[model_id]" title="" style="display: none; " data-original-title="" tabindex="-1"><option value=""></option>
|
|
<option value="980190962">KVM</option>
|
|
<option value="139037058">SUN V210</option></select><span class="help-block"></span></div><span class="help-block help-inline"></span></div></div>
|
|
</div>
|
|
<div class="clearfix"><div class="form-group "><label class="col-md-2 control-label" for="comment">Comment</label><div class="col-md-8"><textarea class="form-control no-stretch" id="host_comment" name="host[comment]" rows="3"></textarea><span class="help-block">Additional information about this host</span></div><span class="help-block help-inline"></span></div></div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<input id="bare_metal_capabilities" name="bare_metal_capabilities" type="hidden" value="build">
|
|
<input id="host_overwrite" name="host[overwrite]" type="hidden" value="false">
|
|
<div class="clearfix"><div class="form-actions"><a class="btn btn-default" data-id="aid_hosts_host1338" href="/hosts/host1338">Cancel</a> <input class="btn btn-primary remove_form_templates" data-id="aid_update_host_managed" name="commit" type="submit" value="Submit"></div></div>
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<span role="status" aria-live="polite" class="select2-hidden-accessible"></span></body></html>
|