예제 #1
0
    url(r'^ldap/(?P<command>%s)$' % command_regex, LdapServiceView.as_view()),
    url(r'^sftp$', SFTPServiceView.as_view()),
    url(r'^sftp/(?P<command>%s)$' % command_regex, SFTPServiceView.as_view()),
    url(r'^replication$', ReplicationServiceView.as_view()),
    url(r'^replication/(?P<command>%s)$' % command_regex,
        ReplicationServiceView.as_view()),
    url(r'^task-scheduler$', TaskSchedulerServiceView.as_view()),
    url(r'^task-scheduler/(?P<command>%s)$' % command_regex,
        TaskSchedulerServiceView.as_view()),
    url(r'^data-collector$', DataCollectorServiceView.as_view()),
    url(r'^data-collector/(?P<command>%s)$' % command_regex,
        DataCollectorServiceView.as_view()),
    url(r'^service-monitor$', ServiceMonitorView.as_view()),
    url(r'^service-monitor/(?P<command>%s)$' % command_regex,
        ServiceMonitorView.as_view()),
    url(r'^snmpd$', SNMPServiceView.as_view()),
    url(r'^snmpd/(?P<command>%s)$' % command_regex, SNMPServiceView.as_view()),
    url(r'^docker$', DockerServiceView.as_view()),
    url(r'^docker/(?P<command>%s)$' % command_regex,
        DockerServiceView.as_view()),
    url(r'^smartd$', SMARTDServiceView.as_view()),
    url(r'^smartd/(?P<command>%s)$' % command_regex,
        SMARTDServiceView.as_view()),
    url(r'^nut$', NUTServiceView.as_view()),
    url(r'^nut/(?P<command>%s)$' % command_regex, NUTServiceView.as_view()),
    url(r'^ztask-daemon$', ZTaskdServiceView.as_view()),
    url(r'^ztask-daemon/(?P<command>%s)$' % command_regex, ZTaskdServiceView.as_view()),
    url(r'^rockstor-bootstrap$', BootstrapServiceView.as_view()),
    url(r'^rockstor-bootstrap/(?P<command>%s)$' % command_regex, BootstrapServiceView.as_view()),
)
예제 #2
0
 url(r'^sftp/(?P<command>%s)$' % command_regex, SFTPServiceView.as_view()),
 url(r'^replication$', ReplicationServiceView.as_view()),
 url(r'^replication/(?P<command>%s)$' % command_regex,
     ReplicationServiceView.as_view()),
 url(r'^task-scheduler$', TaskSchedulerServiceView.as_view()),
 url(r'^task-scheduler/(?P<command>%s)$' % command_regex,
     TaskSchedulerServiceView.as_view()),
 url(r'^data-collector$', DataCollectorServiceView.as_view()),
 url(r'^data-collector/(?P<command>%s)$' % command_regex,
     DataCollectorServiceView.as_view()),
 url(r'^service-monitor$', ServiceMonitorView.as_view()),
 url(r'^service-monitor/(?P<command>%s)$' % command_regex,
     ServiceMonitorView.as_view()),
 url(r'^snmpd$', SNMPServiceView.as_view()),
 url(r'^snmpd/(?P<command>%s)$' % command_regex, SNMPServiceView.as_view()),
 url(r'^docker$', DockerServiceView.as_view()),
 url(r'^docker/(?P<command>%s)$' % command_regex,
     DockerServiceView.as_view()),
 url(r'^smartd$', SMARTDServiceView.as_view()),
 url(r'^smartd/(?P<command>%s)$' % command_regex,
     SMARTDServiceView.as_view()),
 url(r'^nut$', NUTServiceView.as_view()),
 url(r'^nut/(?P<command>%s)$' % command_regex, NUTServiceView.as_view()),
 url(r'^ztask-daemon$', ZTaskdServiceView.as_view()),
 url(r'^ztask-daemon/(?P<command>%s)$' % command_regex,
     ZTaskdServiceView.as_view()),
 url(r'^rockstor-bootstrap$', BootstrapServiceView.as_view()),
 url(r'^rockstor-bootstrap/(?P<command>%s)$' % command_regex,
     BootstrapServiceView.as_view()),
 url(r'^shellinaboxd$', ShellInABoxServiceView.as_view()),
 url(r'^shellinaboxd/(?P<command>%s)$' % command_regex,
예제 #3
0
     r"^task-scheduler/(?P<command>%s)$" % command_regex,
     TaskSchedulerServiceView.as_view(),
 ),
 url(r"^data-collector$", DataCollectorServiceView.as_view()),
 url(
     r"^data-collector/(?P<command>%s)$" % command_regex,
     DataCollectorServiceView.as_view(),
 ),
 url(r"^service-monitor$", ServiceMonitorView.as_view()),
 url(
     r"^service-monitor/(?P<command>%s)$" % command_regex,
     ServiceMonitorView.as_view(),
 ),
 url(r"^snmpd$", SNMPServiceView.as_view()),
 url(r"^snmpd/(?P<command>%s)$" % command_regex, SNMPServiceView.as_view()),
 url(r"^docker$", DockerServiceView.as_view()),
 url(r"^docker/(?P<command>%s)$" % command_regex,
     DockerServiceView.as_view()),
 url(r"^smartd$", SMARTDServiceView.as_view()),
 url(r"^smartd/(?P<command>%s)$" % command_regex,
     SMARTDServiceView.as_view()),
 url(r"^nut$", NUTServiceView.as_view()),
 url(r"^nut/(?P<command>%s)$" % command_regex, NUTServiceView.as_view()),
 url(r"^ztask-daemon$", ZTaskdServiceView.as_view()),
 url(r"^ztask-daemon/(?P<command>%s)$" % command_regex,
     ZTaskdServiceView.as_view()),
 url(r"^rockstor-bootstrap$", BootstrapServiceView.as_view()),
 url(
     r"^rockstor-bootstrap/(?P<command>%s)$" % command_regex,
     BootstrapServiceView.as_view(),
 ),