17c478bd9Sstevel@tonic-gate<?xml version="1.0"?> 27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 37c478bd9Sstevel@tonic-gate<!-- 46ba597c5SAnurag S. Maskey Copyright 2010 Sun Microsystems, Inc. All rights reserved. 57c478bd9Sstevel@tonic-gate Use is subject to license terms. 67c478bd9Sstevel@tonic-gate 78047359fSJohn Levon Copyright 2019 Joyent, Inc. 88047359fSJohn Levon 97c478bd9Sstevel@tonic-gate CDDL HEADER START 107c478bd9Sstevel@tonic-gate 117c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the 12a192e900Samaguire Common Development and Distribution License (the "License"). 13a192e900Samaguire You may not use this file except in compliance with the License. 147c478bd9Sstevel@tonic-gate 157c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 167c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing. 177c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions 187c478bd9Sstevel@tonic-gate and limitations under the License. 197c478bd9Sstevel@tonic-gate 207c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each 217c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE. 227c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the 237c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying 247c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner] 257c478bd9Sstevel@tonic-gate 267c478bd9Sstevel@tonic-gate CDDL HEADER END 277c478bd9Sstevel@tonic-gate 287c478bd9Sstevel@tonic-gate NOTE: This service manifest is not editable; its contents will 297c478bd9Sstevel@tonic-gate be overwritten by package or patch operations, including 307c478bd9Sstevel@tonic-gate operating system upgrade. Make customizations in a different 317c478bd9Sstevel@tonic-gate file. 327c478bd9Sstevel@tonic-gate--> 337c478bd9Sstevel@tonic-gate 347c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWcsr:network-physical'> 357c478bd9Sstevel@tonic-gate 367c478bd9Sstevel@tonic-gate<service 377c478bd9Sstevel@tonic-gate name='network/physical' 387c478bd9Sstevel@tonic-gate type='service' 397c478bd9Sstevel@tonic-gate version='1'> 407c478bd9Sstevel@tonic-gate 41a192e900Samaguire <!-- ifconfig needs loopback for IPC with dhcpagent --> 42a192e900Samaguire <dependency 43a192e900Samaguire name='loopback' 44a192e900Samaguire grouping='require_all' 45a192e900Samaguire restart_on='none' 46a192e900Samaguire type='service'> 47a192e900Samaguire <service_fmri value='svc:/network/loopback' /> 48a192e900Samaguire </dependency> 49a192e900Samaguire 507c478bd9Sstevel@tonic-gate <instance name='default' enabled='true'> 517c478bd9Sstevel@tonic-gate 526ba597c5SAnurag S. Maskey <!-- 536ba597c5SAnurag S. Maskey physical:default and physical:nwam are mutually exclusive. 546ba597c5SAnurag S. Maskey Use a one-way dependency for now since two-way exclude_all 558047359fSJohn Levon does not work. 566ba597c5SAnurag S. Maskey --> 576ba597c5SAnurag S. Maskey <dependency 586ba597c5SAnurag S. Maskey name='physical_nwam' 596ba597c5SAnurag S. Maskey grouping='exclude_all' 606ba597c5SAnurag S. Maskey restart_on='none' 616ba597c5SAnurag S. Maskey type='service'> 626ba597c5SAnurag S. Maskey <service_fmri value='svc:/network/physical:nwam' /> 636ba597c5SAnurag S. Maskey </dependency> 646ba597c5SAnurag S. Maskey 657c478bd9Sstevel@tonic-gate <exec_method 667c478bd9Sstevel@tonic-gate type='method' 677c478bd9Sstevel@tonic-gate name='start' 687c478bd9Sstevel@tonic-gate exec='/lib/svc/method/net-physical' 697c478bd9Sstevel@tonic-gate timeout_seconds='600' /> 707c478bd9Sstevel@tonic-gate 717c478bd9Sstevel@tonic-gate <exec_method 727c478bd9Sstevel@tonic-gate type='method' 737c478bd9Sstevel@tonic-gate name='stop' 747c478bd9Sstevel@tonic-gate exec=':true' 757c478bd9Sstevel@tonic-gate timeout_seconds='3' /> 767c478bd9Sstevel@tonic-gate 777c478bd9Sstevel@tonic-gate <property_group name='startd' type='framework'> 787c478bd9Sstevel@tonic-gate <propval name='duration' type='astring' value='transient' /> 797c478bd9Sstevel@tonic-gate </property_group> 807c478bd9Sstevel@tonic-gate 817c478bd9Sstevel@tonic-gate <template> 827c478bd9Sstevel@tonic-gate <common_name> 837c478bd9Sstevel@tonic-gate <loctext xml:lang='C'> 847c478bd9Sstevel@tonic-gate physical network interfaces 857c478bd9Sstevel@tonic-gate </loctext> 867c478bd9Sstevel@tonic-gate </common_name> 877c478bd9Sstevel@tonic-gate <documentation> 88*bbf21555SRichard Lowe <manpage title='ifconfig' section='8' 897c478bd9Sstevel@tonic-gate manpath='/usr/share/man' /> 907c478bd9Sstevel@tonic-gate </documentation> 917c478bd9Sstevel@tonic-gate </template> 92d71dbb73Sjbeck 93d71dbb73Sjbeck </instance> 94d71dbb73Sjbeck 95d71dbb73Sjbeck <instance name='nwam' enabled='false'> 96d71dbb73Sjbeck 97d71dbb73Sjbeck <exec_method 98d71dbb73Sjbeck type='method' 99d71dbb73Sjbeck name='start' 100d71dbb73Sjbeck exec='/lib/svc/method/net-nwam start' 1016ba597c5SAnurag S. Maskey timeout_seconds='120' > 1026ba597c5SAnurag S. Maskey <method_context> 10369b43529SMichael Hunter <method_credential user='root' group='root' 1046ba597c5SAnurag S. Maskey supp_groups='netadm' privileges='zone' /> 1056ba597c5SAnurag S. Maskey </method_context> 1066ba597c5SAnurag S. Maskey </exec_method> 107d71dbb73Sjbeck 108d71dbb73Sjbeck <exec_method 109d71dbb73Sjbeck type='method' 110d71dbb73Sjbeck name='stop' 111d71dbb73Sjbeck exec='/lib/svc/method/net-nwam stop' 1126ba597c5SAnurag S. Maskey timeout_seconds='60' > 1136ba597c5SAnurag S. Maskey <method_context> 11469b43529SMichael Hunter <method_credential user='root' group='root' 1156ba597c5SAnurag S. Maskey supp_groups='netadm' privileges='zone' /> 1166ba597c5SAnurag S. Maskey </method_context> 1176ba597c5SAnurag S. Maskey </exec_method> 118d71dbb73Sjbeck 119d71dbb73Sjbeck <exec_method 120d71dbb73Sjbeck type='method' 121d71dbb73Sjbeck name='refresh' 122d71dbb73Sjbeck exec='/lib/svc/method/net-nwam refresh' 1236ba597c5SAnurag S. Maskey timeout_seconds='60' > 1246ba597c5SAnurag S. Maskey <method_context> 12569b43529SMichael Hunter <method_credential user='root' group='root' 1266ba597c5SAnurag S. Maskey supp_groups='netadm' privileges='zone' /> 1276ba597c5SAnurag S. Maskey </method_context> 1286ba597c5SAnurag S. Maskey </exec_method> 129d71dbb73Sjbeck 130d71dbb73Sjbeck <property_group name='general' type='framework'> 131d71dbb73Sjbeck <!-- to start/stop NWAM services --> 132d71dbb73Sjbeck <propval name='action_authorization' type='astring' 133d71dbb73Sjbeck value='solaris.smf.manage.nwam' /> 134d71dbb73Sjbeck <propval name='value_authorization' type='astring' 135d71dbb73Sjbeck value='solaris.smf.manage.nwam' /> 136d71dbb73Sjbeck </property_group> 137d71dbb73Sjbeck 138d71dbb73Sjbeck <property_group name='nwamd' type='application'> 139d71dbb73Sjbeck <stability value='Unstable' /> 140d71dbb73Sjbeck <propval name='debug' type='boolean' value='false' /> 141afc7d545Smh138676 <propval name='autoconf' type='boolean' value='false' /> 1426ba597c5SAnurag S. Maskey <propval name='ncu_wait_time' type='count' value='60' /> 1436ba597c5SAnurag S. Maskey <propval name='condition_check_interval' type='count' 1446ba597c5SAnurag S. Maskey value='120' /> 145d71dbb73Sjbeck <propval name='scan_interval' type='count' value='120' /> 1466ba597c5SAnurag S. Maskey <propval name='scan_level' type='astring' value='weak' /> 147ab32bdf2SJames Carlson <propval name='strict_bssid' type='boolean' value='false' /> 1486ba597c5SAnurag S. Maskey <propval name='active_ncp' type='astring' value='Automatic' /> 149d71dbb73Sjbeck <propval name='value_authorization' type='astring' 150d71dbb73Sjbeck value='solaris.smf.value.nwam' /> 151d71dbb73Sjbeck </property_group> 152d71dbb73Sjbeck 153d71dbb73Sjbeck <template> 154d71dbb73Sjbeck <common_name> 155d71dbb73Sjbeck <loctext xml:lang='C'> 156d71dbb73Sjbeck physical network interface autoconfiguration 157d71dbb73Sjbeck </loctext> 158d71dbb73Sjbeck </common_name> 159d71dbb73Sjbeck <documentation> 160*bbf21555SRichard Lowe <manpage title='nwamd' section='8' 161d71dbb73Sjbeck manpath='/usr/share/man' /> 162afc7d545Smh138676 <doc_link 163afc7d545Smh138676 name='Network Auto-Magic OpenSolaris Project Page' 1646ba597c5SAnurag S. Maskey uri='http://hub.opensolaris.org/bin/view/Project+nwam/' 165afc7d545Smh138676 /> 166d71dbb73Sjbeck </documentation> 167d71dbb73Sjbeck </template> 168d71dbb73Sjbeck 169d71dbb73Sjbeck </instance> 170d71dbb73Sjbeck 171d71dbb73Sjbeck <stability value='Unstable' /> 172d71dbb73Sjbeck 1737c478bd9Sstevel@tonic-gate</service> 1747c478bd9Sstevel@tonic-gate 1757c478bd9Sstevel@tonic-gate</service_bundle> 176