File tree 4 files changed +5
-54
lines changed
4 files changed +5
-54
lines changed Original file line number Diff line number Diff line change 19
19
#
20
20
import os
21
21
import sys
22
- sys .path .insert (0 , os .path .abspath ('../ ' ))
22
+ sys .path .insert (0 , os .path .abspath ('..' ))
23
23
24
24
25
25
# -- General configuration ------------------------------------------------
83
83
# The theme to use for HTML and HTML Help pages. See the documentation for
84
84
# a list of builtin themes.
85
85
#
86
- html_theme = 'sphinx_rtd_theme'
86
+ # html_theme = 'sphinx_rtd_theme'
87
87
88
88
# Theme options are theme-specific and customize the look and feel of a theme
89
89
# further. For a list of options available for each theme, see the
94
94
# Add any paths that contain custom static files (such as style sheets) here,
95
95
# relative to this directory. They are copied after the builtin static files,
96
96
# so a file named "default.css" will overwrite the builtin "default.css".
97
- html_static_path = ['_static' ]
97
+ # html_static_path = ['_static']
98
98
99
99
100
100
# -- Options for HTMLHelp output ------------------------------------------
Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ Get all devices:
29
29
30
30
Get devices per rack:
31
31
32
- >>> netbox.dcim.get_devices_per_rack( ' rack_name ' )
32
+ >>> netbox.dcim.get_devices( rack_id = ' 1 ' )
33
33
34
34
Get device by name
35
35
36
- >>> netbox.dcim.get_device_by_name( ' device_name' )
36
+ >>> netbox.dcim.get_devices( name = ' device_name' )
37
37
38
38
Get per device the primary ip and mac address:
39
39
Original file line number Diff line number Diff line change @@ -4,14 +4,6 @@ netbox package
4
4
Submodules
5
5
----------
6
6
7
- netbox\. connection module
8
- -------------------------
9
-
10
- .. automodule :: netbox.connection
11
- :members:
12
- :undoc-members:
13
- :show-inheritance:
14
-
15
7
netbox\. dcim module
16
8
-------------------
17
9
@@ -20,14 +12,6 @@ netbox\.dcim module
20
12
:undoc-members:
21
13
:show-inheritance:
22
14
23
- netbox\. exceptions module
24
- -------------------------
25
-
26
- .. automodule :: netbox.exceptions
27
- :members:
28
- :undoc-members:
29
- :show-inheritance:
30
-
31
15
netbox\. ipam module
32
16
-------------------
33
17
@@ -36,14 +20,6 @@ netbox\.ipam module
36
20
:undoc-members:
37
21
:show-inheritance:
38
22
39
- netbox\. netbox module
40
- ---------------------
41
-
42
- .. automodule :: netbox.netbox
43
- :members:
44
- :undoc-members:
45
- :show-inheritance:
46
-
47
23
netbox\. virtualization module
48
24
---------------------
49
25
Original file line number Diff line number Diff line change @@ -4,14 +4,6 @@ netbox package
4
4
Submodules
5
5
----------
6
6
7
- netbox\. connection module
8
- -------------------------
9
-
10
- .. automodule :: netbox.connection
11
- :members:
12
- :undoc-members:
13
- :show-inheritance:
14
-
15
7
netbox\. dcim module
16
8
-------------------
17
9
@@ -20,14 +12,6 @@ netbox\.dcim module
20
12
:undoc-members:
21
13
:show-inheritance:
22
14
23
- netbox\. exceptions module
24
- -------------------------
25
-
26
- .. automodule :: netbox.exceptions
27
- :members:
28
- :undoc-members:
29
- :show-inheritance:
30
-
31
15
netbox\. ipam module
32
16
-------------------
33
17
@@ -36,15 +20,6 @@ netbox\.ipam module
36
20
:undoc-members:
37
21
:show-inheritance:
38
22
39
- netbox\. netbox module
40
- ---------------------
41
-
42
- .. automodule :: netbox.netbox
43
- :members:
44
- :undoc-members:
45
- :show-inheritance:
46
-
47
-
48
23
Module contents
49
24
---------------
50
25
You can’t perform that action at this time.
0 commit comments