# Path: netdevice/views.py
# def router_detail(request, router_id):
# def router_create(request):
# def router_edit(request, router_id):
# def router_config(request, router_id):
# def vrf_list(request):
# def vrf_detail(request, vrf_id):
# def vrf_create(request):
# def vrf_edit(request, vrf_id):
# def interface_create(request, router_id):
# def interface_edit(request, interface_id):
# def logical_interface_create(request, interface_id):
# def logical_interface_edit(request, logical_interface_id):


from django.conf.urls import url
from django.contrib.auth import views as auth_views
from netdevice import views
        name='router_config'
       ),
    url(
        r'^vrf/$',
        views.vrf_list,
        name='vrf_list'
       ),
    url(
        r'^create/vrf/$',
        views.vrf_create,
        name='vrf_create'
       ),
    url(
        r'^(?P<vrf_id>[0-9]+)/edit/vrf/$',
        views.vrf_edit,
        name='vrf_edit'
       ),
    url(
        r'^(?P<vrf_id>[0-9]+)/vrf/$',
        views.vrf_detail,
        name='vrf_detail'
       ),
    url(
        r'^(?P<router_id>[0-9]+)/create/interface/$',
        views.interface_create,
        name='interface_create'
       ),
    url(
        r'^(?P<interface_id>[0-9]+)/edit/interface/$',
        views.interface_edit,

# Path: netdevice/views.py
# def router_detail(request, router_id):
# def router_create(request):
# def router_edit(request, router_id):
# def router_config(request, router_id):
# def vrf_list(request):
# def vrf_detail(request, vrf_id):
# def vrf_create(request):
# def vrf_edit(request, vrf_id):
# def interface_create(request, router_id):
# def interface_edit(request, interface_id):
# def logical_interface_create(request, interface_id):
# def logical_interface_edit(request, logical_interface_id):


# Path: netdevice/urls.py
from django.conf.urls import url
from django.contrib.auth import views as auth_views
from netdevice import views

        name='router_config'
       ),
    url(
        r'^vrf/$',
        views.vrf_list,
        name='vrf_list'
       ),
    url(
        r'^create/vrf/$',
        views.vrf_create,
        name='vrf_create'
       ),
    url(
        r'^(?P<vrf_id>[0-9]+)/edit/vrf/$',
        views.vrf_edit,
        name='vrf_edit'
       ),
    url(
        r'^(?P<vrf_id>[0-9]+)/vrf/$',
        views.vrf_detail,
        name='vrf_detail'
       ),
    url(
        r'^(?P<router_id>[0-9]+)/create/interface/$',
        views.interface_create,
        name='interface_create'
       ),
    url(
        r'^(?P<interface_id>[0-9]+)/edit/interface/$',
        views.interface_edit,

        name='interface_edit'