Exemplo n.º 1
0
        login_required(NetworksAutoscan.as_view()), {}, 'networks'),
    url(r'^networks/(?P<network_id>[^/]*)/(?P<details>scan)/(?P<device>\d+)/$',
        login_required(NetworksScan.as_view()), {}, 'networks'),
    url(r'^networks/(?P<network_id>[^/]*)/(?P<details>scan)/(?P<address>[\d.]*)/$',
        login_required(NetworksScan.as_view()), {}, 'networks'),
    url(r'^networks/(?P<network_id>[^/]*)/(?P<details>\w+)/(?P<device>)$',
        login_required(NetworksDeviceList.as_view()), {}, 'networks'),

    url(r'^deployment/mass/start/$',
        login_required(PrepareMassDeployment.as_view()),
        {},
        'prepare_mass_deploy'),
    url(r'^deployment/mass/define/(?P<deployment>[0-9]+)/$',
        login_required(MassDeployment.as_view()), {}, 'mass_deploy'),

    url(r'^scan/list/(?P<change_type>new|existing)/$',
        login_required(
            ScanList.as_view()), {}, 'scan_list',
        ),
    url(r'^scan/status/(?P<job_id>[a-z0-9-]+)/$',
        login_required(
            ScanStatus.as_view()), {}, 'scan_results',
        ),
    url(r'^scan/status/(?P<address>[0-9.]+)/$',
        login_required(
            ScanStatus.as_view()), {}, 'scan_results',
        ),
    url(r'^scan/(?P<address>[0-9.]+)/$',
        login_required(Scan.as_view()), {}, 'scan'),
)
Exemplo n.º 2
0
        {},
        "networks",
    ),
    url(
        r"^networks/(?P<network_id>[^/]*)/(?P<details>scan)/(?P<device>\d+)/$",
        login_required(NetworksScan.as_view()),
        {},
        "networks",
    ),
    url(
        r"^networks/(?P<network_id>[^/]*)/(?P<details>scan)/(?P<address>[\d.]*)/$",
        login_required(NetworksScan.as_view()),
        {},
        "networks",
    ),
    url(
        r"^networks/(?P<network_id>[^/]*)/(?P<details>\w+)/(?P<device>)$",
        login_required(NetworksDeviceList.as_view()),
        {},
        "networks",
    ),
    url(r"^deployment/mass/start/$", login_required(PrepareMassDeployment.as_view()), {}, "prepare_mass_deploy"),
    url(
        r"^deployment/mass/define/(?P<deployment>[0-9]+)/$", login_required(MassDeployment.as_view()), {}, "mass_deploy"
    ),
    url(r"^scan/list/(?P<change_type>new|existing)/$", login_required(ScanList.as_view()), {}, "scan_list"),
    url(r"^scan/status/(?P<job_id>[a-z0-9-]+)/$", login_required(ScanStatus.as_view()), {}, "scan_results"),
    url(r"^scan/status/(?P<address>[0-9.]+)/$", login_required(ScanStatus.as_view()), {}, "scan_results"),
    url(r"^scan/(?P<address>[0-9.]+)/$", login_required(Scan.as_view()), {}, "scan"),
)
Exemplo n.º 3
0
        login_required(NetworksDeviceList.as_view()), {}, 'networks'),

    url(r'^catalog/$', login_required(Catalog.as_view()), {}, 'catalog'),
    url(r'^catalog/history/$', login_required(CatalogHistory.as_view()), {},
        'catalog_history'),
    url(r'^catalog/(?P<kind>device)/(?P<type>\d*)/$', login_required(CatalogDevice.as_view()), {}, 'catalog'),
    url(r'^catalog/(?P<kind>component)/(?P<type>\d*)/$', login_required(CatalogComponent.as_view()), {}, 'catalog'),
    url(r'^catalog/(?P<kind>device)/(?P<type>\d*)/(?P<group>\d*)/$', login_required(CatalogDevice.as_view()), {}, 'catalog'),
    url(r'^catalog/(?P<kind>component)/(?P<type>\d*)/(?P<group>\d*)/$', login_required(CatalogComponent.as_view()), {}, 'catalog'),
    url(r'^catalog/(?P<kind>pricing)/$', login_required(CatalogPricingNew.as_view()), {}, 'catalog_pricing'),
    url(r'^catalog/(?P<kind>pricing)/(?P<year>\d\d\d\d)-(?P<month>\d\d)/$', login_required(CatalogPricingNew.as_view()), {}, 'catalog_pricing'),
    url(r'^catalog/(?P<kind>pricing)/(?P<year>\d\d\d\d)-(?P<month>\d\d)/(?P<group>.*)/$', login_required(CatalogPricingGroup.as_view()), {}, 'catalog_pricing'),

    url(r'^reports/$', login_required(ReportVentures.as_view()), {}, 'reports'),
    url(r'^reports/services/$', login_required(ReportServices.as_view()), {}, 'reports_services'),
    url(r'^reports/ventures/$', login_required(ReportVentures.as_view()), {}, 'reports_ventures'),
    url(r'^reports/margins/$', login_required(ReportMargins.as_view()), {}, 'reports_margins'),
    url(r'^reports/devices/$', login_required(ReportDevices.as_view()), {}, 'reports_devices'),
    url(r'^reports/device_prices_per_venture/$', login_required(ReportDevicePricesPerVenture.as_view()), {}, 'device_prices_per_venture'),

    url(r'^deployment/mass/start/$',
        login_required(PrepareMassDeployment.as_view())),
    url(r'^deployment/mass/define/(?P<deployment>[0-9]+)/$',
        login_required(MassDeployment.as_view())),

    url(r'^scan/(?P<job_id>[a-z0-9-]+)/$',
        login_required(ScanStatus.as_view()), {}, 'scan'),
    url(r'^scan/(?P<address>[0-9.]+)/$',
        login_required(Scan.as_view()), {}, 'scan'),
)
Exemplo n.º 4
0
        r'^networks/(?P<network_id>[^/]*)/(?P<details>scan)/(?P<address>[\d.]*)/$',
        login_required(NetworksScan.as_view()), {}, 'networks'),
    url(r'^networks/(?P<network_id>[^/]*)/(?P<details>\w+)/(?P<device>)$',
        login_required(NetworksDeviceList.as_view()), {}, 'networks'),
    url(r'^deployment/mass/start/$',
        login_required(PrepareMassDeployment.as_view()), {},
        'prepare_mass_deploy'),
    url(r'^deployment/mass/define/(?P<deployment>[0-9]+)/$',
        login_required(MassDeployment.as_view()), {}, 'mass_deploy'),
    url(
        r'^scan/list/(?P<change_type>new|existing)/$',
        login_required(ScanList.as_view()),
        {},
        'scan_list',
    ),
    url(
        r'^scan/status/(?P<job_id>[a-z0-9-]+)/$',
        login_required(ScanStatus.as_view()),
        {},
        'scan_results',
    ),
    url(
        r'^scan/status/(?P<address>[0-9.]+)/$',
        login_required(ScanStatus.as_view()),
        {},
        'scan_results',
    ),
    url(r'^scan/(?P<address>[0-9.]+)/$', login_required(Scan.as_view()), {},
        'scan'),
)
Exemplo n.º 5
0
        login_required(CatalogComponent.as_view()), {}, 'catalog'),
    url(r'^catalog/(?P<kind>pricing)/$',
        login_required(CatalogPricingNew.as_view()), {}, 'catalog_pricing'),
    url(r'^catalog/(?P<kind>pricing)/(?P<year>\d\d\d\d)-(?P<month>\d\d)/$',
        login_required(CatalogPricingNew.as_view()), {}, 'catalog_pricing'),
    url(
        r'^catalog/(?P<kind>pricing)/(?P<year>\d\d\d\d)-(?P<month>\d\d)/(?P<group>.*)/$',
        login_required(CatalogPricingGroup.as_view()), {}, 'catalog_pricing'),
    url(r'^reports/$', login_required(ReportVentures.as_view()), {},
        'reports'),
    url(r'^reports/services/$', login_required(ReportServices.as_view()), {},
        'reports_services'),
    url(r'^reports/ventures/$', login_required(ReportVentures.as_view()), {},
        'reports_ventures'),
    url(r'^reports/margins/$', login_required(ReportMargins.as_view()), {},
        'reports_margins'),
    url(r'^reports/devices/$', login_required(ReportDevices.as_view()), {},
        'reports_devices'),
    url(r'^reports/device_prices_per_venture/$',
        login_required(ReportDevicePricesPerVenture.as_view()), {},
        'device_prices_per_venture'),
    url(r'^deployment/mass/start/$',
        login_required(PrepareMassDeployment.as_view())),
    url(r'^deployment/mass/define/(?P<deployment>[0-9]+)/$',
        login_required(MassDeployment.as_view())),
    url(r'^scan/(?P<job_id>[a-z0-9-]+)/$',
        login_required(ScanStatus.as_view()), {}, 'scan'),
    url(r'^scan/(?P<address>[0-9.]+)/$', login_required(Scan.as_view()), {},
        'scan'),
)