itoolkit 1.0.0 → 1.0.2

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.
Files changed (45) hide show
  1. package/README.md +13 -8
  2. package/lib/CommandCall.js +2 -16
  3. package/lib/Connection.js +2 -17
  4. package/lib/Deprecated.js +5 -26
  5. package/lib/ProgramCall.js +4 -18
  6. package/lib/itoolkit.js +2 -16
  7. package/lib/transports/httpTransport.js +4 -18
  8. package/lib/transports/idbTransport.js +24 -26
  9. package/lib/transports/odbcTransport.js +16 -16
  10. package/lib/transports/sshTransport.js +5 -20
  11. package/package.json +23 -16
  12. package/.eslintrc.js +0 -13
  13. package/.gitattributes +0 -2
  14. package/.readthedocs.yml +0 -16
  15. package/CHANGELOG.md +0 -195
  16. package/contributors.txt +0 -2
  17. package/test/README.md +0 -46
  18. package/test/functional/CommandCallFunctional.js +0 -79
  19. package/test/functional/ProgramCallFunctional.js +0 -166
  20. package/test/functional/checkObjectExists.js +0 -182
  21. package/test/functional/config.js +0 -35
  22. package/test/functional/deprecated/commandsFunctional.js +0 -99
  23. package/test/functional/deprecated/iDataQueueFunctional.js +0 -104
  24. package/test/functional/deprecated/iNetworkFunctional.js +0 -160
  25. package/test/functional/deprecated/iObjFunctional.js +0 -350
  26. package/test/functional/deprecated/iPgmFunctional.js +0 -140
  27. package/test/functional/deprecated/iProdFunctional.js +0 -161
  28. package/test/functional/deprecated/iSqlFunctional.js +0 -455
  29. package/test/functional/deprecated/iUserSpaceFunctional.js +0 -127
  30. package/test/functional/deprecated/iWorkFunctional.js +0 -236
  31. package/test/functional/iDataQueueFunctional.js +0 -84
  32. package/test/functional/iNetworkFunctional.js +0 -133
  33. package/test/functional/iObjFunctional.js +0 -327
  34. package/test/functional/iProdFunctional.js +0 -135
  35. package/test/functional/iSqlFunctional.js +0 -449
  36. package/test/functional/iUserSpaceFunctional.js +0 -123
  37. package/test/functional/iWorkFunctional.js +0 -219
  38. package/test/unit/CommandCallUnit.js +0 -88
  39. package/test/unit/ConnectionUnit.js +0 -195
  40. package/test/unit/ProgamCallUnit.js +0 -279
  41. package/test/unit/deprecated/commandsUnit.js +0 -88
  42. package/test/unit/deprecated/iConnUnit.js +0 -162
  43. package/test/unit/deprecated/iPgmUnit.js +0 -207
  44. package/test/unit/deprecated/iSqlUnit.js +0 -442
  45. package/test/unit/deprecated/xmlToJsonUnit.js +0 -203
@@ -1,236 +0,0 @@
1
- // Copyright (c) International Business Machines Corp. 2019
2
-
3
- // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4
- // associated documentation files (the "Software"), to deal in the Software without restriction,
5
- // including without limitation the rights to use, copy, modify, merge, publish, distribute,
6
- // sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7
- // furnished to do so, subject to the following conditions:
8
-
9
- // The above copyright notice and this permission notice shall be included in all copies or
10
- // substantial portions of the Software.
11
-
12
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13
- // NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14
- // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15
- // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17
-
18
- /* eslint-env mocha */
19
- /* eslint-disable new-cap */
20
-
21
- const { expect } = require('chai');
22
- const { iConn, iWork } = require('../../../lib/itoolkit');
23
- const { config, printConfig } = require('../config');
24
- const { checkObjectExists } = require('../checkObjectExists');
25
-
26
- // deprecated tests are in place to test compatability using deprecated classes and functions
27
- // these tests use deprecated iConn Class to create a connnection
28
- // iConn only supported idb and rest transports
29
- if (config.transport !== 'idb' && config.transport !== 'rest') {
30
- throw new Error('Only idb and rest transports are available for deprecated tests');
31
- }
32
-
33
- const {
34
- database, username, password, host, port = 80, path,
35
- } = config.transportOptions;
36
-
37
- let restOptions = null;
38
- if (config.transport === 'rest') {
39
- restOptions = {
40
- host,
41
- port,
42
- path,
43
- };
44
- }
45
-
46
- describe('iWork Functional Tests', () => {
47
- before(() => {
48
- printConfig();
49
- });
50
-
51
- describe('constructor', () => {
52
- it('creates and returns an instance of iWork', () => {
53
- const connection = new iConn(database, config.user, password);
54
-
55
- const work = new iWork(connection);
56
-
57
- expect(work).to.be.instanceOf(iWork);
58
- });
59
- });
60
-
61
- describe('getSysValue', () => {
62
- it('returns the value of system variable', (done) => {
63
- const connection = new iConn(database, username, password, restOptions);
64
-
65
- const work = new iWork(connection);
66
-
67
- work.getSysValue('QCENTURY', (output) => {
68
- expect(output).to.be.a('string').and.to.equal('1');
69
- done();
70
- });
71
- });
72
- });
73
-
74
- describe('getSysStatus', () => {
75
- it('returns basic system status information about the signed-on users '
76
- + 'and batch jobs',
77
- (done) => {
78
- const connection = new iConn(database, username, password, restOptions);
79
- const work = new iWork(connection);
80
-
81
- work.getSysStatus((output) => {
82
- expect(output).to.be.an('Object');
83
- expect(output).to.have.a.property('Current_date_and_time');
84
- expect(output).to.have.a.property('System_name');
85
- expect(output).to.have.a.property('Users_currently_signed_on');
86
- expect(output).to.have.a.property('Users_temporarily_signed_off_(disconnected)');
87
- expect(output).to.have.a.property('Users_suspended_by_system_request');
88
- expect(output).to.have.a.property('Users_suspended_by_group_jobs');
89
- expect(output).to.have.a.property('Users_signed_off_with_printer_output_waiting_to_print');
90
- expect(output).to.have.a.property('Batch_jobs_waiting_for_messages');
91
- expect(output).to.have.a.property('Batch_jobs_running');
92
- expect(output).to.have.a.property('Batch_jobs_held_while_running');
93
- expect(output).to.have.a.property('Batch_jobs_ending');
94
- expect(output).to.have.a.property('Batch_jobs_waiting_to_run_or_already_scheduled');
95
- expect(output).to.have.a.property('Batch_jobs_held_on_a_job_queue');
96
- expect(output).to.have.a.property('Batch_jobs_on_a_held_job_queue');
97
- expect(output).to.have.a.property('Batch_jobs_on_an_unassigned_job_queue');
98
- expect(output).to.have.a.property('Batch_jobs_ended_with_printer_output_waiting_to_print');
99
- done();
100
- });
101
- });
102
- });
103
-
104
- describe('getSysStatusExt', () => {
105
- it('returns more detailed system status info',
106
- (done) => {
107
- const connection = new iConn(database, username, password, restOptions);
108
-
109
- const work = new iWork(connection);
110
-
111
- work.getSysStatusExt((output) => {
112
- expect(output).to.be.an('Object');
113
- expect(output).to.have.a.property('Current_date_and_time');
114
- expect(output).to.have.a.property('System_name');
115
- expect(output).to.have.a.property('Elapsed_time');
116
- expect(output).to.have.a.property('Restricted_state_flag');
117
- expect(output).to.have.a.property('%_processing_unit_used');
118
- expect(output).to.have.a.property('Jobs_in_system');
119
- expect(output).to.have.a.property('%_permanent_addresses');
120
- expect(output).to.have.a.property('%_temporary_addresses');
121
- expect(output).to.have.a.property('System_ASP');
122
- expect(output).to.have.a.property('%_system_ASP_used');
123
- expect(output).to.have.a.property('Total_auxiliary_storage');
124
- expect(output).to.have.a.property('Current_unprotected_storage_used');
125
- expect(output).to.have.a.property('Maximum_unprotected_storage_used');
126
- expect(output).to.have.a.property('%_DB_capability');
127
- expect(output).to.have.a.property('Main_storage_size');
128
- expect(output).to.have.a.property('Number_of_partitions');
129
- expect(output).to.have.a.property('Partition_identifier');
130
- expect(output).to.have.a.property('Current_processing_capacity');
131
- expect(output).to.have.a.property('Processor_sharing_attribute');
132
- expect(output).to.have.a.property('Number_of_processors');
133
- expect(output).to.have.a.property('Active_jobs_in_system');
134
- expect(output).to.have.a.property('Active_threads_in_system');
135
- expect(output).to.have.a.property('Maximum_jobs_in_system');
136
- expect(output).to.have.a.property('%_temporary_256MB_segments_used');
137
- expect(output).to.have.a.property('%_temporary_4GB_segments_used');
138
- expect(output).to.have.a.property('%_permanent_256MB_segments_used');
139
- expect(output).to.have.a.property('%_permanent_4GB_segments_used');
140
- expect(output).to.have.a.property('%_current_interactive_performance');
141
- expect(output).to.have.a.property('%_uncapped_CPU_capacity_used');
142
- expect(output).to.have.a.property('%_shared_processor_pool_used');
143
- expect(output).to.have.a.property('Main_storage_size_(long)');
144
- done();
145
- });
146
- });
147
- });
148
-
149
- describe('getJobStatus', () => {
150
- it('returns status of specified job',
151
- (done) => {
152
- const connection = new iConn(database, username, password, restOptions);
153
-
154
- const work = new iWork(connection);
155
-
156
- work.getJobStatus('000000', (output) => {
157
- expect(output).to.be.an('Object');
158
- expect(output).to.have.a.property('Job_status');
159
- expect(output).to.have.a.property('Fully_qualified_job_name');
160
- done();
161
- });
162
- });
163
- });
164
-
165
- describe('getJobInfo', () => {
166
- it('returns info on specfed job', (done) => {
167
- const connection = new iConn(database, username, password, restOptions);
168
-
169
- const work = new iWork(connection);
170
-
171
- work.getJobInfo('SCPF', 'QSYS', '000000', (output) => {
172
- expect(output).to.be.an('Object');
173
- expect(output).to.have.a.property('Job_name');
174
- expect(output).to.have.a.property('User_name');
175
- expect(output).to.have.a.property('Job_number');
176
- expect(output).to.have.a.property('Job_status');
177
- expect(output).to.have.a.property('Job_type');
178
- expect(output).to.have.a.property('Job_subtype');
179
- expect(output).to.have.a.property('Subsystem_description_name');
180
- expect(output).to.have.a.property('Run_priority_(job)');
181
- expect(output).to.have.a.property('System_pool_identifier');
182
- expect(output).to.have.a.property('Processing_unit_time_used,_if_less_than_2,147,483,647_milliseconds');
183
- expect(output).to.have.a.property('Number_of_auxiliary_I/O_requests,_if_less_than_2,147,483,647');
184
- expect(output).to.have.a.property('Number_of_interactive_transactions');
185
- expect(output).to.have.a.property('Response_time_total');
186
- expect(output).to.have.a.property('Function_type');
187
- expect(output).to.have.a.property('Function_name');
188
- expect(output).to.have.a.property('Active_job_status');
189
- expect(output).to.have.a.property('Number_of_database_lock_waits');
190
- expect(output).to.have.a.property('Number_of_internal_machine_lock_waits');
191
- expect(output).to.have.a.property('Number_of_nondatabase_lock_waits');
192
- expect(output).to.have.a.property('Time_spent_on_database_lock_waits');
193
- expect(output).to.have.a.property('Time_spent_on_internal_machine_lock_waits');
194
- expect(output).to.have.a.property('Time_spent_on_nondatabase_lock_waits');
195
- expect(output).to.have.a.property('Current_system_pool_identifier');
196
- expect(output).to.have.a.property('Thread_count');
197
- expect(output).to.have.a.property('Processing_unit_time_used_-_total_for_the_job');
198
- expect(output).to.have.a.property('Number_of_auxiliary_I/O_requests');
199
- expect(output).to.have.a.property('Processing_unit_time_used_for_database_-_total_for_the_job');
200
- expect(output).to.have.a.property('Page_faults');
201
- expect(output).to.have.a.property('Active_job_status_for_jobs_ending');
202
- expect(output).to.have.a.property('Memory_pool_name');
203
- expect(output).to.have.a.property('Message_reply');
204
- expect(output).to.have.a.property('Message_key,_when_active_job_waiting_for_a_message');
205
- expect(output).to.have.a.property('Message_queue_name,_when_active_job_waiting_for_a_message');
206
- expect(output).to.have.a.property('Message_queue_library_name,_when_active_job_waiting_for_a_message');
207
- expect(output).to.have.a.property('Message_queue_library_ASP_device_name,_when_active_job_waiting_for_a_message');
208
- done();
209
- });
210
- });
211
- });
212
-
213
- describe('getDataArea', () => {
214
- before('init lib, data area, and add data', (done) => {
215
- checkObjectExists(config, 'TESTDA', '*DTAARA', (error) => {
216
- if (error) { throw error; }
217
- done();
218
- });
219
- });
220
- it('returns contents of a data area', (done) => {
221
- const connection = new iConn(database, username, password, restOptions);
222
-
223
- const work = new iWork(connection);
224
-
225
- work.getDataArea('NODETKTEST', 'TESTDA', 20, (output) => {
226
- expect(output).to.be.an('Object');
227
- expect(output).to.have.a.property('Type_of_value_returned');
228
- expect(output).to.have.a.property('Library_name');
229
- expect(output).to.have.a.property('Length_of_value_returned');
230
- expect(output).to.have.a.property('Number_of_decimal_positions');
231
- expect(output).to.have.a.property('Value');
232
- done();
233
- });
234
- });
235
- });
236
- });
@@ -1,84 +0,0 @@
1
- // Copyright (c) International Business Machines Corp. 2019
2
-
3
- // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4
- // associated documentation files (the "Software"), to deal in the Software without restriction,
5
- // including without limitation the rights to use, copy, modify, merge, publish, distribute,
6
- // sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7
- // furnished to do so, subject to the following conditions:
8
-
9
- // The above copyright notice and this permission notice shall be included in all copies or
10
- // substantial portions of the Software.
11
-
12
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13
- // NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14
- // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15
- // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17
-
18
- /* eslint-env mocha */
19
- /* eslint-disable new-cap */
20
-
21
- const { expect } = require('chai');
22
- const { iDataQueue, Connection } = require('../../lib/itoolkit');
23
- const { config, printConfig } = require('./config');
24
- const { checkObjectExists } = require('./checkObjectExists');
25
-
26
- const lib = 'NODETKTEST';
27
-
28
- describe('DataQueue Functional Tests', () => {
29
- const dqName = 'TESTQ';
30
- const dqName2 = 'TESTQ2';
31
-
32
- before('check if data queue exists for tests', (done) => {
33
- printConfig();
34
- checkObjectExists(config, dqName, '*DTAQ', (error) => {
35
- if (error) { throw error; }
36
-
37
- checkObjectExists(config, dqName2, '*DTAQ', (error2) => {
38
- if (error2) { throw error2; }
39
- done();
40
- });
41
- });
42
- });
43
- describe('sendToDataQueue', () => {
44
- it('sends data to specified DQ', (done) => {
45
- const connection = new Connection(config);
46
-
47
- const dq = new iDataQueue(connection);
48
-
49
- dq.sendToDataQueue(dqName, lib, 'Hello from DQ!', (error, output) => {
50
- expect(error).to.equal(null);
51
- expect(output).to.equal(true);
52
- done();
53
- });
54
- });
55
- });
56
-
57
- describe('receiveFromDataQueue', () => {
58
- it('receives data from specfied DQ', (done) => {
59
- const connection = new Connection(config);
60
-
61
- const dq = new iDataQueue(connection);
62
-
63
- dq.receiveFromDataQueue(dqName, lib, 100, (error, output) => {
64
- expect(error).to.equal(null);
65
- expect(output).to.be.a('string').and.to.equal('Hello from DQ!');
66
- done();
67
- });
68
- });
69
- });
70
-
71
- describe('clearDataQueue', () => {
72
- it('clears the specifed DQ', (done) => {
73
- const connection = new Connection(config);
74
-
75
- const dq = new iDataQueue(connection);
76
-
77
- dq.clearDataQueue(dqName2, lib, (error, output) => {
78
- expect(error).to.equal(null);
79
- expect(output).to.equal(true);
80
- done();
81
- });
82
- });
83
- });
84
- });
@@ -1,133 +0,0 @@
1
- // Copyright (c) International Business Machines Corp. 2019
2
-
3
- // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4
- // associated documentation files (the "Software"), to deal in the Software without restriction,
5
- // including without limitation the rights to use, copy, modify, merge, publish, distribute,
6
- // sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7
- // furnished to do so, subject to the following conditions:
8
-
9
- // The above copyright notice and this permission notice shall be included in all copies or
10
- // substantial portions of the Software.
11
-
12
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13
- // NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14
- // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15
- // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17
-
18
- /* eslint-env mocha */
19
- /* eslint-disable new-cap */
20
-
21
- const { expect } = require('chai');
22
- const { Connection, iNetwork } = require('../../lib/itoolkit');
23
- const { config, printConfig } = require('./config');
24
-
25
-
26
- describe('iNetwork Functional Tests', () => {
27
- before(() => {
28
- printConfig();
29
- });
30
-
31
- describe('getTCPIPAttr', () => {
32
- it('retrieves TCP/IP Attributes', (done) => {
33
- const connection = new Connection(config);
34
-
35
- const net = new iNetwork(connection);
36
-
37
- net.getTCPIPAttr((error, output) => {
38
- expect(error).to.equal(null);
39
- expect(output).to.be.an('Object');
40
- expect(output).to.have.a.property('TCP/IPv4_stack_status');
41
- expect(output).to.have.a.property('How_long_active');
42
- expect(output).to.have.a.property('When_last_started_-_date');
43
- expect(output).to.have.a.property('When_last_started_-_time');
44
- expect(output).to.have.a.property('When_last_ended_-_date');
45
- expect(output).to.have.a.property('When_last_ended_-_time');
46
- expect(output).to.have.a.property('Who_last_started_-_job_name');
47
- expect(output).to.have.a.property('Who_last_started_-_job_user_name');
48
- expect(output).to.have.a.property('Who_last_started_-_job_number');
49
- expect(output).to.have.a.property('Who_last_started_-_internal_job_identifier');
50
- expect(output).to.have.a.property('Who_last_ended_-_job_name');
51
- expect(output).to.have.a.property('Who_last_ended_-_job_user_name');
52
- expect(output).to.have.a.property('Who_last_ended_-_job_number');
53
- expect(output).to.have.a.property('Who_last_ended_-_internal_job_identifier');
54
- expect(output).to.have.a.property('Offset_to_additional_information');
55
- expect(output).to.have.a.property('Length_of_additional_information');
56
- expect(output).to.have.a.property('Limited_mode');
57
- expect(output).to.have.a.property('Offset_to_list_of_Internet_addresses');
58
- expect(output).to.have.a.property('Number_of_Internet_addresses');
59
- expect(output).to.have.a.property('Entry_length_for_list_of_Internet_addresses');
60
- expect(output).to.have.a.property('DNS_protocol');
61
- expect(output).to.have.a.property('Retries');
62
- expect(output).to.have.a.property('Time_interval');
63
- expect(output).to.have.a.property('Search_order');
64
- expect(output).to.have.a.property('Initial_domain_name_server');
65
- expect(output).to.have.a.property('DNS_listening_port');
66
- expect(output).to.have.a.property('Host_name');
67
- expect(output).to.have.a.property('Domain_name');
68
- expect(output).to.have.a.property('Domain_search_list');
69
- done();
70
- });
71
- });
72
- });
73
-
74
- describe('getNetInterfaceData', () => {
75
- it('retrieves IPv4 network interface info', (done) => {
76
- const connection = new Connection(config);
77
-
78
- const net = new iNetwork(connection);
79
-
80
- net.getNetInterfaceData('127.0.0.1', (error, output) => {
81
- expect(error).to.equal(null);
82
- expect(output).to.be.an('Object');
83
- expect(output).to.have.a.property('Internet_address');
84
- expect(output).to.have.a.property('Internet_address_binary');
85
- expect(output).to.have.a.property('Network_address');
86
- expect(output).to.have.a.property('Network_address_binary');
87
- expect(output).to.have.a.property('Line_description');
88
- expect(output).to.have.a.property('Interface_status');
89
- expect(output).to.have.a.property('Interface_type_of_service');
90
- expect(output).to.have.a.property('Interface_MTU');
91
- expect(output).to.have.a.property('Interface_line_type');
92
- expect(output).to.have.a.property('Host_address');
93
- expect(output).to.have.a.property('Host_address_binary');
94
- expect(output).to.have.a.property('Interface_subnet_mask');
95
- expect(output).to.have.a.property('Interface_subnet_mask_binary');
96
- expect(output).to.have.a.property('Directed_broadcast_address');
97
- expect(output).to.have.a.property('Directed_broadcast_address_binary');
98
- expect(output).to.have.a.property('Change_date');
99
- expect(output).to.have.a.property('Change_time');
100
- expect(output).to.have.a.property('Associated_local_interface');
101
- expect(output).to.have.a.property('Associated_local_interface_binary');
102
- expect(output).to.have.a.property('Packet_rules');
103
- expect(output).to.have.a.property('Change_status');
104
- expect(output).to.have.a.property('Automatic_start');
105
- expect(output).to.have.a.property('TRLAN_bit_sequencing');
106
- expect(output).to.have.a.property('Interface_type');
107
- expect(output).to.have.a.property('Proxy_ARP_allowed');
108
- expect(output).to.have.a.property('Proxy_ARP_enabled');
109
- expect(output).to.have.a.property('Configured_MTU');
110
- expect(output).to.have.a.property('Network_name');
111
- expect(output).to.have.a.property('Interface_name');
112
- expect(output).to.have.a.property('Alias_name');
113
- expect(output).to.have.a.property('Interface_description');
114
- expect(output).to.have.a.property('Offset_to_preferred_interface_list');
115
- expect(output).to.have.a.property('Number_of_entries_in_preferred_interface_list');
116
- expect(output).to.have.a.property('Length_of_one_preferred_interface_list_entry');
117
- expect(output).to.have.a.property('DHCP_created');
118
- expect(output).to.have.a.property('DHCP_dynamic_DNS_updates');
119
- expect(output).to.have.a.property('DHCP_lease_expiration');
120
- expect(output).to.have.a.property('DHCP_lease_expiration_-_date');
121
- expect(output).to.have.a.property('DHCP_lease_expiration_-_time');
122
- expect(output).to.have.a.property('DHCP_lease_obtained');
123
- expect(output).to.have.a.property('DHCP_lease_obtained_-_date');
124
- expect(output).to.have.a.property('DHCP_lease_obtained_-_time');
125
- expect(output).to.have.a.property('Use_DHCP_unique_identifier');
126
- expect(output).to.have.a.property('DHCP_server_IP_address');
127
- expect(output).to.have.a.property('Preferred_interface_Internet_address');
128
- expect(output).to.have.a.property('Preferred_interface_Internet_address_binary');
129
- done();
130
- });
131
- });
132
- });
133
- });