webpackJsonp([27],{wnlg:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o("/oeL"),i=o("BkNc"),a=o("NAOi"),r=(o.n(a),o("xrDH")),c=(o.n(r),o("ZV8k")),p=o("mQGb"),l=this&&this.__decorate||function(e,t,o,n){var i,a=arguments.length,r=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(r=(a<3?i(r):a>3?i(t,o,r):i(t,o))||r);return a>3&&r&&Object.defineProperty(t,o,r),r},s=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},f=function(){function e(e,t,o,n,i,a,r,c){this.router=e,this.rest=t,this.ws=o,this.formService=n,this._injector=i,this._appRef=a,this._state=r,this.tooltipsService=c,this.resource_name="network/globalconfiguration/",this.fieldConfig=[{type:"input",name:"gc_hostname",placeholder:"Hostname"},{type:"input",name:"gc_domain",placeholder:"Domain"},{type:"input",name:"gc_ipv4gateway",placeholder:"IPv4 Default Gateway"},{type:"input",name:"gc_ipv6gateway",placeholder:"IPv6 Default Gateway"},{type:"input",name:"gc_nameserver1",placeholder:"Nameserver 1"},{type:"input",name:"gc_nameserver2",placeholder:"Nameserver 2"},{type:"input",name:"gc_nameserver3",placeholder:"Nameserver 3"},{type:"input",name:"gc_httpproxy",placeholder:"HTTP Proxy"},{type:"checkbox",name:"gc_netwait_enabled",placeholder:"Enable netwait feature",tooltip:'If enabled, delays the start of network-reliant services until interface is up and ICMP packets to a destination defined in netwait ip list are flowing. Link state is examined first, followed by "pinging" an IP address to verify network usability. If no destination can be reached or timeouts are exceeded, network services are started anyway with no guarantee that the network is usable.'},{type:"input",name:"gc_netwait_ip",placeholder:"Netwait IP list",tooltip:""},{type:"textarea",name:"gc_hosts",placeholder:"Host name data base",tooltip:"This field is appended to /etc/hosts which contains information regarding known hosts on the network. hosts(5)"}]}return e.prototype.ngOnInit=function(){var e=this;this.tooltipsService.getTooltip("gc_netwait_ip").then(function(t){var o=t.body;e.gc_netwait_ip=r.find(e.fieldConfig,{name:"gc_netwait_ip"}),e.gc_netwait_ip.tooltip=o})},e.prototype.afterInit=function(e){this.entityEdit=e},e=l([Object(n.Component)({selector:"app-networkconfiguration",template:'\n  <entity-form [conf]="this"></entity-form>\n  ',providers:[p.i]}),s("design:paramtypes",["function"==typeof(t=void 0!==i.c&&i.c)&&t||Object,"function"==typeof(o=void 0!==p.f&&p.f)&&o||Object,"function"==typeof(f=void 0!==p.l&&p.l)&&f||Object,"function"==typeof(d=void 0!==a.DynamicFormService&&a.DynamicFormService)&&d||Object,"function"==typeof(u=void 0!==n.Injector&&n.Injector)&&u||Object,"function"==typeof(h=void 0!==n.ApplicationRef&&n.ApplicationRef)&&h||Object,"function"==typeof(m=void 0!==c.a&&c.a)&&m||Object,"function"==typeof(g=void 0!==p.i&&p.i)&&g||Object])],e);var t,o,f,d,u,h,m,g}(),d=o("BkNc"),u=[{path:"configuration",component:f},{path:"interfaces",loadChildren:"app/pages/network/interfaces/interfaces.module#InterfacesModule"},{path:"vlans",loadChildren:"app/pages/network/vlans/vlan.module#VlanModule"},{path:"laggs",loadChildren:"app/pages/network/laggs/lagg.module#LaggModule"},{path:"staticroutes",loadChildren:"app/pages/network/staticroutes/staticroute.module#StaticRouteModule"}],h=d.d.forChild(u);o.d(t,"NetworkModule",function(){return R});var m=o("qbdv"),g=o("/oeL"),y=o("bm2B"),v=o("NAOi"),w=(o.n(v),o("QzwJ")),b=(o.n(w),o("RulC")),_=o("Rhg7"),j=o("UV3D"),k=o("j9tJ"),O=this&&this.__decorate||function(e,t,o,n){var i,a=arguments.length,r=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(r=(a<3?i(r):a>3?i(t,o,r):i(t,o))||r);return a>3&&r&&Object.defineProperty(t,o,r),r},R=function(){function e(){}return e=O([Object(g.NgModule)({imports:[k.a,v.DynamicFormsCoreModule.forRoot(),w.DynamicFormsBootstrapUIModule,m.CommonModule,y.e,y.l,_.a,b.b,j.a,h],declarations:[f],providers:[]})],e)}()}});