@itentialopensource/adapter-netbox_v33 2.4.1 → 2.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CALLS.md +1864 -0
- package/README.md +9 -1
- package/adapter.js +29547 -0
- package/entities/Circuits/action.json +1113 -0
- package/entities/Circuits/schema.json +1351 -157
- package/entities/Core/action.json +538 -0
- package/entities/Core/schema.json +2057 -0
- package/entities/Dcim/action.json +384 -0
- package/entities/Dcim/schema.json +2643 -445
- package/entities/Extras/action.json +1620 -0
- package/entities/Extras/schema.json +1817 -259
- package/entities/Ipam/action.json +587 -0
- package/entities/Ipam/schema.json +1348 -226
- package/entities/Schema/action.json +25 -0
- package/entities/Schema/schema.json +19 -0
- package/entities/Virtualization/action.json +202 -0
- package/entities/Virtualization/schema.json +709 -137
- package/entities/Vpn/action.json +1824 -0
- package/entities/Vpn/schema.json +3353 -0
- package/metadata.json +2 -1
- package/package.json +1 -1
- package/pronghorn.json +37236 -0
- package/report/Netbox_4.2.1.json +229481 -0
- package/report/adapterInfo.json +8 -8
- package/report/auto-adapter-openapi.json +29636 -2
- package/test/integration/adapterTestIntegration.js +8204 -0
- package/test/unit/adapterTestUnit.js +8905 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getSchema",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/schema/?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": ""
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": true,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "getSchema",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getSchema"
|
|
14
|
+
],
|
|
15
|
+
"external_name": "ph_request_type"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"definitions": {}
|
|
19
|
+
}
|
|
@@ -909,6 +909,208 @@
|
|
|
909
909
|
"mockFile": ""
|
|
910
910
|
}
|
|
911
911
|
]
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"name": "getVirtualDiskList",
|
|
915
|
+
"protocol": "REST",
|
|
916
|
+
"method": "GET",
|
|
917
|
+
"entitypath": "{base_path}/{version}/virtualization/virtual-disks/?{query}",
|
|
918
|
+
"requestSchema": "schema.json",
|
|
919
|
+
"responseSchema": "schema.json",
|
|
920
|
+
"timeout": 0,
|
|
921
|
+
"sendEmpty": false,
|
|
922
|
+
"sendGetBody": false,
|
|
923
|
+
"requestDatatype": "JSON",
|
|
924
|
+
"responseDatatype": "JSON",
|
|
925
|
+
"headers": {},
|
|
926
|
+
"responseObjects": [
|
|
927
|
+
{
|
|
928
|
+
"type": "default",
|
|
929
|
+
"key": "",
|
|
930
|
+
"mockFile": ""
|
|
931
|
+
}
|
|
932
|
+
]
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
"name": "postVirtualDiskList",
|
|
936
|
+
"protocol": "REST",
|
|
937
|
+
"method": "POST",
|
|
938
|
+
"entitypath": "{base_path}/{version}/virtualization/virtual-disks/?{query}",
|
|
939
|
+
"requestSchema": "schema.json",
|
|
940
|
+
"responseSchema": "schema.json",
|
|
941
|
+
"timeout": 0,
|
|
942
|
+
"sendEmpty": false,
|
|
943
|
+
"requestDatatype": "JSON",
|
|
944
|
+
"responseDatatype": "JSON",
|
|
945
|
+
"headers": {},
|
|
946
|
+
"responseObjects": [
|
|
947
|
+
{
|
|
948
|
+
"type": "default",
|
|
949
|
+
"key": "",
|
|
950
|
+
"mockFile": ""
|
|
951
|
+
}
|
|
952
|
+
]
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"name": "putVirtualDiskList",
|
|
956
|
+
"protocol": "REST",
|
|
957
|
+
"method": "PUT",
|
|
958
|
+
"entitypath": "{base_path}/{version}/virtualization/virtual-disks/?{query}",
|
|
959
|
+
"requestSchema": "schema.json",
|
|
960
|
+
"responseSchema": "schema.json",
|
|
961
|
+
"timeout": 0,
|
|
962
|
+
"sendEmpty": false,
|
|
963
|
+
"requestDatatype": "JSON",
|
|
964
|
+
"responseDatatype": "JSON",
|
|
965
|
+
"headers": {},
|
|
966
|
+
"responseObjects": [
|
|
967
|
+
{
|
|
968
|
+
"type": "default",
|
|
969
|
+
"key": "",
|
|
970
|
+
"mockFile": ""
|
|
971
|
+
}
|
|
972
|
+
]
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
"name": "patchVirtualDiskList",
|
|
976
|
+
"protocol": "REST",
|
|
977
|
+
"method": "PATCH",
|
|
978
|
+
"entitypath": "{base_path}/{version}/virtualization/virtual-disks/?{query}",
|
|
979
|
+
"requestSchema": "schema.json",
|
|
980
|
+
"responseSchema": "schema.json",
|
|
981
|
+
"timeout": 0,
|
|
982
|
+
"sendEmpty": false,
|
|
983
|
+
"requestDatatype": "JSON",
|
|
984
|
+
"responseDatatype": "JSON",
|
|
985
|
+
"headers": {},
|
|
986
|
+
"responseObjects": [
|
|
987
|
+
{
|
|
988
|
+
"type": "default",
|
|
989
|
+
"key": "",
|
|
990
|
+
"mockFile": ""
|
|
991
|
+
}
|
|
992
|
+
]
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"name": "deleteVirtualDiskList",
|
|
996
|
+
"protocol": "REST",
|
|
997
|
+
"method": "DELETE",
|
|
998
|
+
"entitypath": "{base_path}/{version}/virtualization/virtual-disks/?{query}",
|
|
999
|
+
"requestSchema": "schema.json",
|
|
1000
|
+
"responseSchema": "schema.json",
|
|
1001
|
+
"timeout": 0,
|
|
1002
|
+
"sendEmpty": false,
|
|
1003
|
+
"requestDatatype": "JSON",
|
|
1004
|
+
"responseDatatype": "JSON",
|
|
1005
|
+
"headers": {},
|
|
1006
|
+
"responseObjects": [
|
|
1007
|
+
{
|
|
1008
|
+
"type": "default",
|
|
1009
|
+
"key": "",
|
|
1010
|
+
"mockFile": ""
|
|
1011
|
+
}
|
|
1012
|
+
]
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"name": "getVirtualDisk",
|
|
1016
|
+
"protocol": "REST",
|
|
1017
|
+
"method": "GET",
|
|
1018
|
+
"entitypath": "{base_path}/{version}/virtualization/virtual-disks/{pathv1}/?{query}",
|
|
1019
|
+
"requestSchema": "schema.json",
|
|
1020
|
+
"responseSchema": "schema.json",
|
|
1021
|
+
"timeout": 0,
|
|
1022
|
+
"sendEmpty": false,
|
|
1023
|
+
"sendGetBody": false,
|
|
1024
|
+
"requestDatatype": "JSON",
|
|
1025
|
+
"responseDatatype": "JSON",
|
|
1026
|
+
"headers": {},
|
|
1027
|
+
"responseObjects": [
|
|
1028
|
+
{
|
|
1029
|
+
"type": "default",
|
|
1030
|
+
"key": "",
|
|
1031
|
+
"mockFile": ""
|
|
1032
|
+
}
|
|
1033
|
+
]
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"name": "putVirtualDisk",
|
|
1037
|
+
"protocol": "REST",
|
|
1038
|
+
"method": "PUT",
|
|
1039
|
+
"entitypath": "{base_path}/{version}/virtualization/virtual-disks/{pathv1}/?{query}",
|
|
1040
|
+
"requestSchema": "schema.json",
|
|
1041
|
+
"responseSchema": "schema.json",
|
|
1042
|
+
"timeout": 0,
|
|
1043
|
+
"sendEmpty": false,
|
|
1044
|
+
"requestDatatype": "JSON",
|
|
1045
|
+
"responseDatatype": "JSON",
|
|
1046
|
+
"headers": {},
|
|
1047
|
+
"responseObjects": [
|
|
1048
|
+
{
|
|
1049
|
+
"type": "default",
|
|
1050
|
+
"key": "",
|
|
1051
|
+
"mockFile": ""
|
|
1052
|
+
}
|
|
1053
|
+
]
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"name": "patchVirtualDisk",
|
|
1057
|
+
"protocol": "REST",
|
|
1058
|
+
"method": "PATCH",
|
|
1059
|
+
"entitypath": "{base_path}/{version}/virtualization/virtual-disks/{pathv1}/?{query}",
|
|
1060
|
+
"requestSchema": "schema.json",
|
|
1061
|
+
"responseSchema": "schema.json",
|
|
1062
|
+
"timeout": 0,
|
|
1063
|
+
"sendEmpty": false,
|
|
1064
|
+
"requestDatatype": "JSON",
|
|
1065
|
+
"responseDatatype": "JSON",
|
|
1066
|
+
"headers": {},
|
|
1067
|
+
"responseObjects": [
|
|
1068
|
+
{
|
|
1069
|
+
"type": "default",
|
|
1070
|
+
"key": "",
|
|
1071
|
+
"mockFile": ""
|
|
1072
|
+
}
|
|
1073
|
+
]
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"name": "deleteVirtualDisk",
|
|
1077
|
+
"protocol": "REST",
|
|
1078
|
+
"method": "DELETE",
|
|
1079
|
+
"entitypath": "{base_path}/{version}/virtualization/virtual-disks/{pathv1}/?{query}",
|
|
1080
|
+
"requestSchema": "schema.json",
|
|
1081
|
+
"responseSchema": "schema.json",
|
|
1082
|
+
"timeout": 0,
|
|
1083
|
+
"sendEmpty": false,
|
|
1084
|
+
"requestDatatype": "JSON",
|
|
1085
|
+
"responseDatatype": "JSON",
|
|
1086
|
+
"headers": {},
|
|
1087
|
+
"responseObjects": [
|
|
1088
|
+
{
|
|
1089
|
+
"type": "default",
|
|
1090
|
+
"key": "",
|
|
1091
|
+
"mockFile": ""
|
|
1092
|
+
}
|
|
1093
|
+
]
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
"name": "renderVirtualMachineConfig",
|
|
1097
|
+
"protocol": "REST",
|
|
1098
|
+
"method": "POST",
|
|
1099
|
+
"entitypath": "{base_path}/{version}/virtualization/virtual-machines/{pathv1}/render-config/?{query}",
|
|
1100
|
+
"requestSchema": "schema.json",
|
|
1101
|
+
"responseSchema": "schema.json",
|
|
1102
|
+
"timeout": 0,
|
|
1103
|
+
"sendEmpty": false,
|
|
1104
|
+
"requestDatatype": "JSON",
|
|
1105
|
+
"responseDatatype": "JSON",
|
|
1106
|
+
"headers": {},
|
|
1107
|
+
"responseObjects": [
|
|
1108
|
+
{
|
|
1109
|
+
"type": "default",
|
|
1110
|
+
"key": "",
|
|
1111
|
+
"mockFile": ""
|
|
1112
|
+
}
|
|
1113
|
+
]
|
|
912
1114
|
}
|
|
913
1115
|
]
|
|
914
1116
|
}
|