% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
Returns the address block assigned to this service.
Returns the router assigned to this service, if there is one.
Returns the address as a NetAddr::IP object.
Use $svc-NetAddr->addr> to put it into canonical string form.
Wrapper for set/get on the IP address field.
Returns a list of FS::router objects allowed on this service.
Wrapper for ip_check which also checks the validity of the router.
Returns the FS::router attached via this service (as opposed to the one this service is connected through), that is, a router whose "svcnum" field equals this service's primary key.
If the 'router_routernum' pseudo-field is set, returns that router instead.
Returns the address block (FS::addr_block) assigned to the attached_router, if there is one.
If the 'router_blocknum' pseudo-field is set, returns that block instead.
Returns nothing.
Returns RADIUS reply items that are relevant across all exports and necessary for the IP address configuration of the service. Currently, that means "Framed-Route" if there's an attached router.
Returns the ping status record for this service's address, if there is one.
Returns the CSS color for the ping status of this service.
Hey! The above document had some coding errors, which are explained below:
'=item' outside of any '=over'
=over without closing =back