1 <?xml version="1.0"?>
   2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
   3 <!--
   4  Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
   5  Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
   6 
   7  CDDL HEADER START
   8 
   9  The contents of this file are subject to the terms of the
  10  Common Development and Distribution License (the "License").
  11  You may not use this file except in compliance with the License.
  12 
  13  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  14  or http://www.opensolaris.org/os/licensing.
  15  See the License for the specific language governing permissions
  16  and limitations under the License.
  17 
  18  When distributing Covered Code, include this CDDL HEADER in each
  19  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  20  If applicable, add the following below this CDDL HEADER, with the
  21  fields enclosed by brackets "[]" replaced with your own identifying
  22  information: Portions Copyright [yyyy] [name of copyright owner]
  23 
  24  CDDL HEADER END
  25 
  26         NOTE:  This service manifest is not editable; its contents will
  27         be overwritten by package or patch operations, including
  28         operating system upgrade.  Make customizations in a different
  29         file.
  30 -->
  31 
  32 <service_bundle type='manifest' name='SUNWcsr:global'>
  33 
  34 <service
  35         name='system/svc/global'
  36         type='service'
  37         version='1'>
  38 
  39         <!--
  40             There's no running configuration to manage here.  However,
  41             this service stores the system-wide definitions for
  42             templates.
  43         -->
  44 
  45         <create_default_instance enabled='false' />
  46 
  47         <single_instance/>
  48 
  49         <exec_method
  50                 type='method'
  51                 name='start'
  52                 exec=':true'
  53                 timeout_seconds='0' />
  54 
  55         <exec_method
  56                 type='method'
  57                 name='stop'
  58                 exec=':true'
  59                 timeout_seconds='0' />
  60 
  61         <stability value='Unstable' />
  62 
  63         <template>
  64                 <common_name>
  65                         <loctext xml:lang='C'>
  66 system-wide configuration definitions
  67                         </loctext>
  68                 </common_name>
  69                 <documentation>
  70                         <manpage title='smf' section='5'
  71                             manpath='/usr/share/man' />
  72                         <manpage title='smf_template' section='5'
  73                             manpath='/usr/share/man' />
  74                 </documentation>
  75 
  76                 <pg_pattern name='general' type='framework'
  77                     target='all' required='true'>
  78                         <description>
  79                                 <loctext xml:lang='C'>
  80 Basic information about a service instance which is supplied by the service author, sometimes modified by the administrator, and consumed by SMF and the service's restarter.
  81                                 </loctext>
  82                         </description>
  83                         <prop_pattern name='enabled' type='boolean'
  84                             required='true'>
  85                                 <description>
  86                                         <loctext xml:lang='C'>
  87 The service instance is expected to be started once all of its dependencies are satisfied.  If this property is not defined, the restarter will not be notified about this service instance.
  88                                         </loctext>
  89                                 </description>
  90                                 <cardinality min='1' max='1'/>
  91                         </prop_pattern>
  92                         <prop_pattern name='restarter' type='fmri'
  93                             required='false'>
  94                                 <description>
  95                                         <loctext xml:lang='C'>
  96 The restarter responsible for managing this service instance.  If the property is unset, the default restarter, svc.startd, is assumed.
  97                                         </loctext>
  98                                 </description>
  99                                 <cardinality min='1' max='1'/>
 100                         </prop_pattern>
 101                         <prop_pattern name='single_instance' type='boolean'
 102                             required='false'>
 103                                 <description>
 104                                         <loctext xml:lang='C'>
 105 Only one instance of this service may be run.  This property is currently unenforced, but will be at some point in the future.
 106                                         </loctext>
 107                                 </description>
 108                                 <cardinality min='1' max='1'/>
 109                         </prop_pattern>
 110                 </pg_pattern>
 111 
 112                 <pg_pattern type='dependency' target='all' required='false'>
 113                         <description>
 114                                 <loctext xml:lang='C'>
 115 A dependency declares a required condition for a service instance to start or stay running.  It is defined by the service author and consumed by SMF.
 116                                 </loctext>
 117                         </description>
 118                         <prop_pattern name='entities' type='fmri'
 119                             required='true'>
 120                                 <description>
 121                                         <loctext xml:lang='C'>
 122 The services, service instances, or files used to calculate this dependency.
 123                                         </loctext>
 124                                 </description>
 125                                 <cardinality min='1'/>
 126                         </prop_pattern>
 127                         <prop_pattern name='external' type='boolean'>
 128                                 <description>
 129                                         <loctext xml:lang='C'>
 130 This dependency was declared by the service defined in entities.  It will be removed only when that service is deleted.
 131                                         </loctext>
 132                                 </description>
 133                                 <visibility value='readonly'/>
 134                                 <cardinality min='1' max='1'/>
 135                         </prop_pattern>
 136                         <prop_pattern name='grouping' type='astring'
 137                             required='true'>
 138                                 <description>
 139                                         <loctext xml:lang='C'>
 140 How to decide whether this dependency is satisfied.
 141                                         </loctext>
 142                                 </description>
 143                                 <cardinality min='1' max='1'/>
 144                                 <constraints>
 145                                 <value name='require_all'>
 146                                         <description>
 147                                                 <loctext xml:lang='C'>
 148 Satisfied when all cited services are running (online or degraded), or when all indicated files are present.
 149                                                 </loctext>
 150                                         </description>
 151                                 </value>
 152                                 <value name='require_any'>
 153                                         <description>
 154                                                 <loctext xml:lang='C'>
 155 Satisfied when one of the cited services is running (online or degraded), or when at least one of the indicated files is present.
 156                                                 </loctext>
 157                                         </description>
 158                                 </value>
 159                                 <value name='optional_all'>
 160                                         <description>
 161                                                 <loctext xml:lang='C'>
 162 Satisfied if the cited services are running (online or degraded) or will not run without administrative action (disabled, maintenance, not present, or offline waiting for dependencies which will not start without administrative action).
 163 
 164                                                 </loctext>
 165                                         </description>
 166                                 </value>
 167                                 <value name='exclude_all'>
 168                                         <description>
 169                                                 <loctext xml:lang='C'>
 170 Satisfied when all of the cited services are disabled, in the maintenance state, or when cited services or files are not present.
 171                                                 </loctext>
 172                                         </description>
 173                                 </value>
 174                                 </constraints>
 175                                 <choices>
 176                                         <include_values type='constraints'/>
 177                                 </choices>
 178                         </prop_pattern>
 179                         <prop_pattern name='restart_on' type='astring'
 180                             required='true'>
 181                                 <description>
 182                                         <loctext xml:lang='C'>
 183 Determines whether to restart the service due to a dependency refresh, restart, or failure.
 184                                         </loctext>
 185                                 </description>
 186                                 <cardinality min='1' max='1'/>
 187                                 <constraints>
 188                                 <value name='none'>
 189                                         <description>
 190                                                 <loctext xml:lang='C'>
 191 Never restart due to dependency refresh, restart, or failure.
 192                                                 </loctext>
 193                                         </description>
 194                                 </value>
 195                                 <value name='error'>
 196                                         <description>
 197                                                 <loctext xml:lang='C'>
 198 Restart only if the dependency encounters an error, such as an uncorrectable hardware error, or a software error such as a core dump.
 199                                                 </loctext>
 200                                         </description>
 201                                 </value>
 202                                 <value name='restart'>
 203                                         <description>
 204                                                 <loctext xml:lang='C'>
 205 Restart if the dependency encounters an error or is explicitly restarted.
 206                                                 </loctext>
 207                                         </description>
 208                                 </value>
 209                                 <value name='refresh'>
 210                                         <description>
 211                                                 <loctext xml:lang='C'>
 212 Restart if the dependency encounters an error, is explicitly restarted, or explicitly refreshed.
 213                                                 </loctext>
 214                                         </description>
 215                                 </value>
 216                                 </constraints>
 217                                 <choices>
 218                                         <include_values type='constraints'/>
 219                                 </choices>
 220                         </prop_pattern>
 221                         <prop_pattern name='type' type='astring'
 222                             required='true'>
 223                                 <description>
 224                                         <loctext xml:lang='C'>
 225 The type of the dependency: service or file.
 226                                         </loctext>
 227                                 </description>
 228                                 <cardinality min='1' max='1'/>
 229                                 <constraints>
 230                                 <value name='service'>
 231                                         <description>
 232                                                 <loctext xml:lang='C'>
 233 Depend on services or instances.
 234                                                 </loctext>
 235                                         </description>
 236                                 </value>
 237                                 <value name='path'>
 238                                         <description>
 239                                                 <loctext xml:lang='C'>
 240 Depend on the existance of a file path.
 241                                                 </loctext>
 242                                         </description>
 243                                 </value>
 244                                 </constraints>
 245                                 <choices>
 246                                         <include_values type='constraints'/>
 247                                 </choices>
 248                         </prop_pattern>
 249                 </pg_pattern>
 250 
 251                 <pg_pattern type='template_pg_pattern' target='all'
 252                     required='false'>
 253                         <description>
 254                                 <loctext xml:lang='C'>
 255 Template data about property groups.  This information is provided in the manifest by the service author and should not be modified directly.
 256                                 </loctext>
 257                         </description>
 258 
 259                         <prop_pattern name='name' type='astring'
 260                             required='false'>
 261                                 <description>
 262                                         <loctext xml:lang='C'>
 263 Optional name of a property group which is described by this template.  No name means the name is wildcarded.
 264                                         </loctext>
 265                                 </description>
 266                                 <visibility value='hidden'/>
 267                                 <cardinality min='1' max='1'/>
 268                         </prop_pattern>
 269                         <prop_pattern name='type' type='astring'
 270                             required='false'>
 271                                 <description>
 272                                         <loctext xml:lang='C'>
 273 Optional type of property groups which are described by this template.  No type means that the type is wildcarded.
 274                                         </loctext>
 275                                 </description>
 276                                 <visibility value='hidden'/>
 277                                 <cardinality min='1' max='1'/>
 278                         </prop_pattern>
 279                         <prop_pattern name='required' type='boolean'
 280                             required='false'>
 281                                 <description>
 282                                         <loctext xml:lang='C'>
 283 If true, entities without a property group which matches this pattern are considered invalid.
 284                                         </loctext>
 285                                 </description>
 286                                 <visibility value='hidden'/>
 287                                 <cardinality min='1' max='1'/>
 288                         </prop_pattern>
 289                         <prop_pattern name='target' type='astring'
 290                             required='false'>
 291                                 <description>
 292                                         <loctext xml:lang='C'>
 293 The services or service instances to which this template should be applied.
 294                                         </loctext>
 295                                 </description>
 296                                 <visibility value='hidden'/>
 297                                 <cardinality min='1' max='1'/>
 298                                 <constraints>
 299                                 <value name='this'>
 300                                         <description>
 301                                                 <loctext xml:lang='C'>
 302 The service or instance on which the property group resides.
 303                                                 </loctext>
 304                                         </description>
 305                                 </value>
 306                                 <value name='instance'>
 307                                         <description>
 308                                                 <loctext xml:lang='C'>
 309 This instance, or any instance of this service.
 310                                                 </loctext>
 311                                         </description>
 312                                 </value>
 313                                 <value name='delegate'>
 314                                         <description>
 315                                                 <loctext xml:lang='C'>
 316 All instances which currently define this service as their restarter.
 317                                                 </loctext>
 318                                         </description>
 319                                 </value>
 320                                 <value name='all'>
 321                                         <description>
 322                                                 <loctext xml:lang='C'>
 323 All services and instances on the system.  "all" may only be set on the global service.
 324                                                 </loctext>
 325                                         </description>
 326                                 </value>
 327                                 </constraints>
 328                         </prop_pattern>
 329                 </pg_pattern>
 330 
 331                 <pg_pattern type='template_prop_pattern' target='all'
 332                     required='false'>
 333                         <description>
 334                                 <loctext xml:lang='C'>
 335 Template data about properties.  This information is provided in the manifest by the service author and should not be modified directly.
 336                                 </loctext>
 337                         </description>
 338                         <prop_pattern name='name' type='astring'
 339                             required='true'>
 340                                 <description>
 341                                         <loctext xml:lang='C'>
 342 Name of property this template applies to.
 343                                         </loctext>
 344                                 </description>
 345                                 <visibility value='hidden'/>
 346                                 <cardinality min='1' max='1'/>
 347                         </prop_pattern>
 348                         <prop_pattern name='pg_pattern' type='astring'
 349                             required='true'>
 350                                 <description>
 351                                         <loctext xml:lang='C'>
 352 Name of property group that describes the enclosing property group pattern.
 353                                         </loctext>
 354                                 </description>
 355                                 <visibility value='hidden'/>
 356                                 <cardinality min='1' max='1'/>
 357                         </prop_pattern>
 358                         <prop_pattern name='required' type='boolean'
 359                             required='false'>
 360                                 <description>
 361                                         <loctext xml:lang='C'>
 362 Defines whether a property matched by this template is required.
 363                                         </loctext>
 364                                 </description>
 365                                 <visibility value='hidden'/>
 366                                 <cardinality min='1' max='1'/>
 367                         </prop_pattern>
 368                         <prop_pattern name='type' type='astring'
 369                             required='false'>
 370                                 <description>
 371                                         <loctext xml:lang='C'>
 372 The type that a property which this template refers to should be.
 373                                         </loctext>
 374                                 </description>
 375                                 <visibility value='hidden'/>
 376                                 <cardinality min='1' max='1'/>
 377                         </prop_pattern>
 378                         <prop_pattern name='visibility' type='astring'
 379                             required='false'>
 380                                 <description>
 381                                         <loctext xml:lang='C'>
 382 The visibility of this property, which is readwrite by default.  Visibility is only a cue to the user interface, and will not be explicitly enforced by SMF.
 383                                         </loctext>
 384                                 </description>
 385                                 <visibility value='hidden'/>
 386                                 <cardinality min='1' max='1'/>
 387                                 <constraints>
 388                                 <value name='hidden'>
 389                                         <description>
 390                                                 <loctext xml:lang='C'>
 391 Hidden in default user interface views.
 392                                                 </loctext>
 393                                         </description>
 394                                 </value>
 395                                 <value name='readonly'>
 396                                         <description>
 397                                                 <loctext xml:lang='C'>
 398 Expected to be read only in most user interfaces.
 399                                                 </loctext>
 400                                         </description>
 401                                 </value>
 402                                 <value name='readwrite'>
 403                                         <description>
 404                                                 <loctext xml:lang='C'>
 405 Expected to be manipulated in many user interfaces.
 406                                                 </loctext>
 407                                         </description>
 408                                 </value>
 409                                 </constraints>
 410                         </prop_pattern>
 411                         <prop_pattern name='cardinality_min' type='count'
 412                             required='false'>
 413                                 <description>
 414                                         <loctext xml:lang='C'>
 415 Minimum number of required values.
 416                                         </loctext>
 417                                 </description>
 418                                 <cardinality min='1' max='1'/>
 419                         </prop_pattern>
 420                         <prop_pattern name='cardinality_max' type='count'
 421                             required='false'>
 422                                 <description>
 423                                         <loctext xml:lang='C'>
 424 Maximum number of required values.
 425                                         </loctext>
 426                                 </description>
 427                                 <visibility value='hidden'/>
 428                                 <cardinality min='1' max='1'/>
 429                         </prop_pattern>
 430                         <prop_pattern name='internal_separators' type='astring'
 431                             required='false'>
 432                                 <description>
 433                                         <loctext xml:lang='C'>
 434 List of separator characters for values.
 435                                         </loctext>
 436                                 </description>
 437                                 <visibility value='hidden'/>
 438                                 <cardinality min='1'/>
 439                         </prop_pattern>
 440                         <prop_pattern name='constraint_name' type='astring'
 441                             required='false'>
 442                                 <description>
 443                                         <loctext xml:lang='C'>
 444 Values the property is expected to be constrained to.
 445                                         </loctext>
 446                                 </description>
 447                                 <visibility value='hidden'/>
 448                                 <cardinality min='1'/>
 449                         </prop_pattern>
 450                         <prop_pattern name='constraint_range' type='astring'
 451                             required='false'>
 452                                 <description>
 453                                         <loctext xml:lang='C'>
 454 Ranges the property is expected to be constrained to.
 455                                         </loctext>
 456                                 </description>
 457                                 <visibility value='hidden'/>
 458                                 <cardinality min='1'/>
 459                                 <internal_separators>,</internal_separators>
 460                         </prop_pattern>
 461                         <prop_pattern name='choices_range' type='astring'
 462                             required='false'>
 463                                 <description>
 464                                         <loctext xml:lang='C'>
 465 Ranges a user should be offered as a choice for this property.
 466                                         </loctext>
 467                                 </description>
 468                                 <visibility value='hidden'/>
 469                                 <cardinality min='1'/>
 470                                 <internal_separators>,</internal_separators>
 471                         </prop_pattern>
 472                         <prop_pattern name='choices_name' type='astring'
 473                             required='false'>
 474                                 <description>
 475                                         <loctext xml:lang='C'>
 476 Values a users should be offered as a choice for this property.
 477                                         </loctext>
 478                                 </description>
 479                                 <visibility value='hidden'/>
 480                                 <cardinality min='1'/>
 481                         </prop_pattern>
 482                         <prop_pattern name='choices_include_values'
 483                             type='astring' required='false'>
 484                                 <description>
 485                                         <loctext xml:lang='C'>
 486 Whether the choices should include the defined constraints or values.
 487                                         </loctext>
 488                                 </description>
 489                                 <visibility value='hidden'/>
 490                                 <cardinality min='1' max='1'/>
 491                                 <constraints>
 492                                 <value name='constraints'>
 493                                         <description>
 494                                                 <loctext xml:lang='C'>
 495 Include all defined constraints as choices.
 496                                                 </loctext>
 497                                         </description>
 498                                 </value>
 499                                 <value name='values'>
 500                                         <description>
 501                                                 <loctext xml:lang='C'>
 502 Include all defined values as choices.
 503                                                 </loctext>
 504                                         </description>
 505                                 </value>
 506                                 </constraints>
 507                         </prop_pattern>
 508                 </pg_pattern>
 509 
 510                 <pg_pattern name='method_context' type='framework'
 511                     target='all' required='false'>
 512                         <description>
 513                                 <loctext xml:lang='C'>
 514 Specifies the default execution context for all service methods.  It is defined by the service author, may be augmented by an administrator, and is consumed by the service's restarter.
 515                                 </loctext>
 516                         </description>
 517 
 518                         <!-- method_context direct properties -->
 519                         <prop_pattern name='working_directory' type='astring'
 520                             required='false'>
 521                                 <description>
 522                                         <loctext xml:lang='C'>
 523 The working directory to launch the method from.  ":default" can be used as a token to indicate the home directory of the user specified by the credential or profile.
 524                                         </loctext>
 525                                 </description>
 526                                 <cardinality min='1' max='1'/>
 527                         </prop_pattern>
 528                         <prop_pattern name='project' type='astring'
 529                             required='false'>
 530                                 <description>
 531                                         <loctext xml:lang='C'>
 532 The project ID in numeric or text form.  ":default" can be used as a token to indicate a project identified by getdefaultproj(3PROJECT) for the user whose uid is used to launch the method.
 533                                         </loctext>
 534                                 </description>
 535                                 <cardinality min='1' max='1'/>
 536                         </prop_pattern>
 537                         <prop_pattern name='resource_pool' type='astring'
 538                             required='false'>
 539                                 <description>
 540                                         <loctext xml:lang='C'>
 541 The resource pool name in which to launch the method.  ":default" can be used
 542 as a token to indicate the pool specified in the project(4) entry given in
 543 the project attribute.
 544                                         </loctext>
 545                                 </description>
 546                                 <cardinality min='1' max='1'/>
 547                         </prop_pattern>
 548 
 549                         <!-- method_credential properties -->
 550                         <prop_pattern name='user' type='astring'
 551                             required='false'>
 552                                 <description>
 553                                         <loctext xml:lang='C'>
 554 The user ID in numeric or text form.
 555                                         </loctext>
 556                                 </description>
 557                                 <cardinality min='1' max='1'/>
 558                         </prop_pattern>
 559                         <prop_pattern name='group' type='astring'
 560                             required='false'>
 561                                 <description>
 562                                         <loctext xml:lang='C'>
 563 The group ID in numeric or text form.
 564                                         </loctext>
 565                                 </description>
 566                                 <cardinality min='1' max='1'/>
 567                         </prop_pattern>
 568                         <prop_pattern name='supp_groups' type='astring'
 569                             required='false'>
 570                                 <description>
 571                                         <loctext xml:lang='C'>
 572 An optional string that specifies the supplemental group memberships by ID,
 573 in numeric or text form.
 574                                         </loctext>
 575                                 </description>
 576                                 <cardinality min='1' max='1'/>
 577                         </prop_pattern>
 578                         <prop_pattern name='privileges' type='astring'
 579                             required='false'>
 580                                 <description>
 581                                         <loctext xml:lang='C'>
 582 An optional string specifying the privilege set as defined in privileges(5).
 583                                         </loctext>
 584                                 </description>
 585                                 <cardinality min='1' max='1'/>
 586                         </prop_pattern>
 587                         <prop_pattern name='limit_privileges' type='astring'
 588                             required='false'>
 589                                 <description>
 590                                         <loctext xml:lang='C'>
 591 An optional string specifying the limit privilege set as defined in
 592 privileges(5).
 593                                         </loctext>
 594                                 </description>
 595                                 <cardinality min='1' max='1'/>
 596                         </prop_pattern>
 597 
 598                         <!-- method_profile properties -->
 599                         <prop_pattern name='use_profile' type='boolean'
 600                             required='false'>
 601                                 <description>
 602                                         <loctext xml:lang='C'>
 603 A boolean that specifies whether the profile should be used instead of the
 604 user, group, privileges, and limit_privileges properties.
 605                                         </loctext>
 606                                 </description>
 607                                 <cardinality min='1' max='1'/>
 608                         </prop_pattern>
 609                         <prop_pattern name='profile' type='astring'
 610                             required='false'>
 611                                 <description>
 612                                         <loctext xml:lang='C'>
 613 The name of an RBAC (role-based access control) profile which, along with the
 614 method executable, identifies an entry in exec_attr(4).
 615                                         </loctext>
 616                                 </description>
 617                                 <cardinality min='1' max='1'/>
 618                         </prop_pattern>
 619                 </pg_pattern>
 620 
 621                 <pg_pattern name='firewall_context'
 622                     type='com.sun,fw_definition' target='all' required='false'>
 623                         <common_name>
 624                                 <loctext xml:lang='C'>
 625 Static definition
 626                                 </loctext>
 627                         </common_name>
 628                         <description>
 629                                 <loctext xml:lang='C'>
 630 Service static network and firewall definition.
 631                                 </loctext>
 632                         </description>
 633                         <prop_pattern name='name' type='astring'
 634                             required='false'>
 635                                 <common_name>
 636                                         <loctext xml:lang='C'>
 637 Service name
 638                                         </loctext>
 639                                 </common_name>
 640                                 <description>
 641                                         <loctext xml:lang='C'>
 642 IANA name or RPC name for non-inetd service, equivalent to inetd/name property. For RPC services, the value of this property is not an IANA name but is either an RPC program number or name, see rpc(4).
 643                                         </loctext>
 644                                 </description>
 645                         </prop_pattern>
 646                         <prop_pattern name='isrpc' type='boolean'
 647                             required='false'>
 648                                 <common_name>
 649                                         <loctext xml:lang='C'>
 650 RPC service
 651                                         </loctext>
 652                                 </common_name>
 653                                 <description>
 654                                         <loctext xml:lang='C'>
 655 A boolean property where a "true" value indicates an RPC service, equivalent to inetd/isrpc property.
 656                                         </loctext>
 657                                 </description>
 658                         </prop_pattern>
 659                         <prop_pattern name='ipf_method' type='astring'
 660                             required='false'>
 661                                 <common_name>
 662                                         <loctext xml:lang='C'>
 663 Custom firewall script 
 664                                         </loctext>
 665                                 </common_name>
 666                                 <description>
 667                                         <loctext xml:lang='C'>
 668 A script that generates ipf rules for a service. Services that require custom IPfilter configuration can use this mechanism to generate and supply their own ipf rules.  The firewall framework does not generate rules for services that has this property definition but expect these services to provide their own rules.
 669                                         </loctext>
 670                                 </description>
 671                         </prop_pattern> </pg_pattern>
 672 
 673                 <pg_pattern name='firewall_config'
 674                     type='com.sun,fw_configuration' target='all'
 675                     required='false'>
 676                         <common_name>
 677                                 <loctext xml:lang='C'>
 678 Firewall configuration
 679                                 </loctext>
 680                         </common_name>
 681                         <description>
 682                                 <loctext xml:lang='C'>
 683 Service firewall configuration.
 684                                 </loctext>
 685                         </description>
 686                         <prop_pattern name='policy' type='astring'
 687                             required='true'>
 688                                 <common_name>
 689                                         <loctext xml:lang='C'>
 690 Firewall policy
 691                                         </loctext>
 692                                 </common_name>
 693                                 <description>
 694                                         <loctext xml:lang='C'>
 695 Service firewall policy.
 696                                         </loctext>
 697                                 </description>
 698                                 <visibility value='readwrite'/>
 699                                 <cardinality min='1' max='1'/>
 700                                 <values>
 701                                         <value name='use_global'>
 702                                                 <description>
 703                                                         <loctext xml:lang='C'>
 704 Apply Global Default policy, specified in network/ipfilter for the service. This is the default value.
 705                                                         </loctext>
 706                                                 </description>
 707                                         </value>
 708                                         <value name='none'>
 709                                                 <description>
 710                                                         <loctext xml:lang='C'>
 711 No firewall (allow all).
 712                                                         </loctext>
 713                                                 </description>
 714                                         </value>
 715                                         <value name='deny'>
 716                                                 <description>
 717                                                         <loctext xml:lang='C'>
 718 Deny access to entities specified in 'apply_to' property.
 719                                                         </loctext>
 720                                                 </description>
 721                                         </value>
 722                                         <value name='allow'>
 723                                                 <description>
 724                                                         <loctext xml:lang='C'>
 725 Allow access to entities specified in 'apply_to' property.
 726                                                         </loctext>
 727                                                 </description>
 728                                         </value>
 729                                 </values>
 730                                 <choices>
 731                                         <include_values type='values'/>
 732                                 </choices>
 733                         </prop_pattern>
 734                         <prop_pattern name='block_policy' type='astring'
 735                             required='false'>
 736                                 <common_name>
 737                                         <loctext xml:lang='C'>
 738 Firewall block policy
 739                                         </loctext>
 740                                 </common_name>
 741                                 <description>
 742                                         <loctext xml:lang='C'>
 743 Service firewall block policy.
 744                                         </loctext>
 745                                 </description>
 746                                 <visibility value='readwrite'/>
 747                                 <cardinality min='1' max='1'/>
 748                                 <values>
 749                                         <value name='use_global'>
 750                                                 <description>
 751                                                         <loctext xml:lang='C'>
 752 Apply Global Default block policy, specified in network/ipfilter for the service. This is the default value.
 753                                                         </loctext>
 754                                                 </description>
 755                                         </value>
 756                                         <value name='none'>
 757                                                 <description>
 758                                                         <loctext xml:lang='C'>
 759 Block by dropping packets.
 760                                                         </loctext>
 761                                                 </description>
 762                                         </value>
 763                                         <value name='return'>
 764                                                 <description>
 765                                                         <loctext xml:lang='C'>
 766 Block by returning RST or ICMP messages.
 767                                                         </loctext>
 768                                                 </description>
 769                                         </value>
 770                                 </values>
 771                                 <choices>
 772                                         <include_values type='values'/>
 773                                 </choices>
 774                         </prop_pattern>
 775                         <prop_pattern name="apply_to" type="astring"
 776                             required="false">
 777                                 <common_name>
 778                                         <loctext xml:lang='C'>
 779 Apply policy to
 780                                         </loctext>
 781                                 </common_name>
 782                                 <description>
 783                                         <loctext xml:lang="C">
 784 The source host and network IPv4 addresses, incoming network interfaces, and ippools to deny if the policy is set to deny, or accept if the policy is set to accept.
 785                                         </loctext>
 786                                 </description>
 787                         </prop_pattern>
 788                         <prop_pattern name="apply_to_6" type="astring"
 789                             required="false">
 790                                 <common_name>
 791                                         <loctext xml:lang='C'>
 792 Apply policy to
 793                                         </loctext>
 794                                 </common_name>
 795                                 <description>
 796                                         <loctext xml:lang="C">
 797 The source host and network IPv6 addresses, incoming network interfaces, and ippools to deny if the policy is set to deny, or accept if the policy is set to accept.
 798                                         </loctext>
 799                                 </description>
 800                         </prop_pattern>
 801                         <prop_pattern name="exceptions" type="astring"
 802                             required="false">
 803                                 <common_name>
 804                                         <loctext xml:lang='C'>
 805 Make exceptions to
 806                                         </loctext>
 807                                 </common_name>
 808                                 <description>
 809                                         <loctext xml:lang="C">
 810 The source host and network IPv4 addresses, incoming network interfaces, and ippools to exempt from the set policy. That is, those to accept if the policy is set to deny, or to deny if the policy is set to accept.
 811                                         </loctext>
 812                                 </description>
 813                         </prop_pattern>
 814                         <prop_pattern name="exceptions_6" type="astring"
 815                             required="false">
 816                                 <common_name>
 817                                         <loctext xml:lang='C'>
 818 Make exceptions to
 819                                         </loctext>
 820                                 </common_name>
 821                                 <description>
 822                                         <loctext xml:lang="C">
 823 The source host and network IPv6 addressess, incoming network interfaces, and ippools to exempt from the set policy. That is, those to accept if the policy is set to deny, or to deny if the policy is set to accept.
 824                                         </loctext>
 825                                 </description>
 826                         </prop_pattern>
 827                         <prop_pattern name="target" type="astring"
 828                             required="false">
 829                                 <common_name>
 830                                         <loctext xml:lang='C'>
 831 Apply policy to
 832                                         </loctext>
 833                                 </common_name>
 834                                 <description>
 835                                         <loctext xml:lang="C">
 836 The destination host and network IPv4 addresses, and ippools to deny if the policy is set to deny, or accept if the policy is set to accept.
 837                                         </loctext>
 838                                 </description>
 839                         </prop_pattern>
 840                         <prop_pattern name="target6" type="astring"
 841                             required="false">
 842                                 <common_name>
 843                                         <loctext xml:lang='C'>
 844 Apply policy to
 845                                         </loctext>
 846                                 </common_name>
 847                                 <description>
 848                                         <loctext xml:lang="C">
 849 The destination host and network IPv6 addresses, and ippools to deny if the policy is set to deny, or accept if the policy is set to accept.
 850                                         </loctext>
 851                                 </description>
 852                         </prop_pattern>
 853                 </pg_pattern>
 854                 <pg_pattern type='notify_params' target='all' required='false'>
 855                         <common_name>
 856                                 <loctext xml:lang='C'>
 857 FMA and SMF notification parameters
 858                                 </loctext>
 859                         </common_name>
 860                         <description>
 861                                 <loctext xml:lang='C'>
 862 Parameters for notification of FMA events and SMF state transitions.
 863                                 </loctext>
 864                         </description>
 865                         <prop_pattern name='smtp,active' type='boolean'
 866                             required='false'>
 867                                 <common_name>
 868                                         <loctext xml:lang='C'>
 869 smtp notification active
 870                                         </loctext>
 871                                 </common_name>
 872                                 <description>
 873                                         <loctext xml:lang='C'>
 874 Notifcation mechanism smtp active status.
 875                                         </loctext>
 876                                 </description>
 877                         </prop_pattern>
 878                         <prop_pattern name='smtp,to' type='astring'
 879                             required='false'>
 880                                 <common_name>
 881                                         <loctext xml:lang='C'>
 882 smtp notification recipient
 883                                         </loctext>
 884                                 </common_name>
 885                                 <description>
 886                                         <loctext xml:lang='C'>
 887 Recipient for smtp notification mechanism.
 888                                         </loctext>
 889                                 </description>
 890                         </prop_pattern>
 891                         <prop_pattern name='smtp,reply-to' type='astring'
 892                             required='false'>
 893                                 <common_name>
 894                                         <loctext xml:lang='C'>
 895 smtp notification reply-to
 896                                         </loctext>
 897                                 </common_name>
 898                                 <description>
 899                                         <loctext xml:lang='C'>
 900 Header reply-to for smtp notification mechanism.
 901                                         </loctext>
 902                                 </description>
 903                         </prop_pattern>
 904                         <prop_pattern name='snmp,active' type='boolean'
 905                             required='false'>
 906                                 <common_name>
 907                                         <loctext xml:lang='C'>
 908 snmp notification active
 909                                         </loctext>
 910                                 </common_name>
 911                                 <description>
 912                                         <loctext xml:lang='C'>
 913 Notifcation mechanism snmp active status.
 914                                         </loctext>
 915                                 </description>
 916                         </prop_pattern>
 917                         <prop_pattern name='syslog,active' type='boolean'
 918                             required='false'>
 919                                 <common_name>
 920                                         <loctext xml:lang='C'>
 921 syslog notification active
 922                                         </loctext>
 923                                 </common_name>
 924                                 <description>
 925                                         <loctext xml:lang='C'>
 926 Notifcation mechanism syslog active status.
 927                                         </loctext>
 928                                 </description>
 929                         </prop_pattern>
 930                 </pg_pattern>
 931         </template>
 932 </service>
 933 
 934 </service_bundle>