summaryrefslogtreecommitdiff
path: root/FS/FS/part_export.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-12-30 18:51:09 -0800
committerMark Wells <mark@freeside.biz>2015-12-30 18:52:11 -0800
commitc565f9d78ae95bf3a4dc051e3bfbd356d9f4ff38 (patch)
tree9358435232a6d61372f6c362198cbd8bc5c93794 /FS/FS/part_export.pm
parent8d41520e7b5f1b54ae321d8c2de25249a2856833 (diff)
add option for exports to avoid suspending services, #20739
Diffstat (limited to 'FS/FS/part_export.pm')
-rw-r--r--FS/FS/part_export.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm
index f3d9774..d6357fd 100644
--- a/FS/FS/part_export.pm
+++ b/FS/FS/part_export.pm
@@ -58,6 +58,12 @@ fields are currently supported:
=item nodomain - blank or "Y" : usernames are exported to this service with no domain
+=item default_machine - For exports that require a machine to be selected for
+each service (see L<FS::svc_export_machine>), the one to use as the default.
+
+=item no_suspend - Don't export service suspensions. In the future there may
+be "no_*" options for the other service actions.
+
=back
=head1 METHODS
@@ -337,6 +343,7 @@ sub check {
|| $self->ut_textn('exportname')
|| $self->ut_domainn('machine')
|| $self->ut_alpha('exporttype')
+ || $self->ut_flag('no_suspend')
;
if ( $self->machine eq '_SVC_MACHINE' ) {