admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 1 | class NEC: |
| 2 | def __init__( self ): |
| 3 | self.prompt = '(.*)' |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 4 | self.timeout = 60 |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 5 | |
| 6 | def show(self, *options, **def_args ): |
| 7 | '''Possible Options :[' access-filter ', ' accounting ', ' acknowledgments ', ' auto-config ', ' axrp ', ' cfm ', ' channel-group ', ' clock ', ' config-lock-status ', ' cpu ', ' dhcp ', ' dot1x ', ' dumpfile ', ' efmoam ', ' environment ', ' file ', ' flash ', ' gsrp ', ' history ', ' igmp-snooping ', ' interfaces ', ' ip ', ' ip-dual ', ' ipv6-dhcp ', ' license ', ' lldp ', ' logging ', ' loop-detection ', ' mac-address-table ', ' mc ', ' memory ', ' mld-snooping ', ' netconf ', ' netstat ', ' ntp ', ' oadp ', ' openflow ', ' port ', ' power ', ' processes ', ' qos ', ' qos-flow ', ' sessions ', ' sflow ', ' spanning-tree ', ' ssh ', ' system ', ' tcpdump ', ' tech-support ', ' track ', ' version ', ' vlan ', ' vrrpstatus ', ' whoami ']''' |
| 8 | arguments= '' |
| 9 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 10 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 11 | prompt = def_args.setdefault('prompt',self.prompt) |
| 12 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 13 | self.execute( cmd= "show "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 14 | return main.TRUE |
| 15 | |
| 16 | def show_ip(self, *options, **def_args ): |
| 17 | '''Possible Options :[]''' |
| 18 | arguments= '' |
| 19 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 20 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 21 | prompt = def_args.setdefault('prompt',self.prompt) |
| 22 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 23 | self.execute( cmd= "show ip "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 24 | return main.TRUE |
| 25 | |
| 26 | def show_mc(self, *options, **def_args ): |
| 27 | '''Possible Options :[]''' |
| 28 | arguments= '' |
| 29 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 30 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 31 | prompt = def_args.setdefault('prompt',self.prompt) |
| 32 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 33 | self.execute( cmd= "show mc "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 34 | return main.TRUE |
| 35 | |
| 36 | def show_cfm(self, *options, **def_args ): |
| 37 | '''Possible Options :[]''' |
| 38 | arguments= '' |
| 39 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 40 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 41 | prompt = def_args.setdefault('prompt',self.prompt) |
| 42 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 43 | self.execute( cmd= "show cfm "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 44 | return main.TRUE |
| 45 | |
| 46 | def show_ntp(self, *options, **def_args ): |
| 47 | '''Possible Options :[]''' |
| 48 | arguments= '' |
| 49 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 50 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 51 | prompt = def_args.setdefault('prompt',self.prompt) |
| 52 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 53 | self.execute( cmd= "show ntp "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 54 | return main.TRUE |
| 55 | |
| 56 | def show_ssh(self, *options, **def_args ): |
| 57 | '''Possible Options :[]''' |
| 58 | arguments= '' |
| 59 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 60 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 61 | prompt = def_args.setdefault('prompt',self.prompt) |
| 62 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 63 | self.execute( cmd= "show ssh "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 64 | return main.TRUE |
| 65 | |
| 66 | def show_qos(self, *options, **def_args ): |
| 67 | '''Possible Options :[]''' |
| 68 | arguments= '' |
| 69 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 70 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 71 | prompt = def_args.setdefault('prompt',self.prompt) |
| 72 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 73 | self.execute( cmd= "show qos "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 74 | return main.TRUE |
| 75 | |
| 76 | def show_cpu(self, *options, **def_args ): |
| 77 | '''Possible Options :[]''' |
| 78 | arguments= '' |
| 79 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 80 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 81 | prompt = def_args.setdefault('prompt',self.prompt) |
| 82 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 83 | self.execute( cmd= "show cpu "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 84 | return main.TRUE |
| 85 | |
| 86 | def show_vlan(self, *options, **def_args ): |
| 87 | '''Possible Options :[]''' |
| 88 | arguments= '' |
| 89 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 90 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 91 | prompt = def_args.setdefault('prompt',self.prompt) |
| 92 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 93 | self.execute( cmd= "show vlan "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 94 | return main.TRUE |
| 95 | |
| 96 | def show_lldp(self, *options, **def_args ): |
| 97 | '''Possible Options :[]''' |
| 98 | arguments= '' |
| 99 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 100 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 101 | prompt = def_args.setdefault('prompt',self.prompt) |
| 102 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 103 | self.execute( cmd= "show lldp "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 104 | return main.TRUE |
| 105 | |
| 106 | def show_dhcp(self, *options, **def_args ): |
| 107 | '''Possible Options :[]''' |
| 108 | arguments= '' |
| 109 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 110 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 111 | prompt = def_args.setdefault('prompt',self.prompt) |
| 112 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 113 | self.execute( cmd= "show dhcp "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 114 | return main.TRUE |
| 115 | |
| 116 | def show_axrp(self, *options, **def_args ): |
| 117 | '''Possible Options :[]''' |
| 118 | arguments= '' |
| 119 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 120 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 121 | prompt = def_args.setdefault('prompt',self.prompt) |
| 122 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 123 | self.execute( cmd= "show axrp "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 124 | return main.TRUE |
| 125 | |
| 126 | def show_oadp(self, *options, **def_args ): |
| 127 | '''Possible Options :[]''' |
| 128 | arguments= '' |
| 129 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 130 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 131 | prompt = def_args.setdefault('prompt',self.prompt) |
| 132 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 133 | self.execute( cmd= "show oadp "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 134 | return main.TRUE |
| 135 | |
| 136 | def show_gsrp(self, *options, **def_args ): |
| 137 | '''Possible Options :[]''' |
| 138 | arguments= '' |
| 139 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 140 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 141 | prompt = def_args.setdefault('prompt',self.prompt) |
| 142 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 143 | self.execute( cmd= "show gsrp "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 144 | return main.TRUE |
| 145 | |
| 146 | def show_port(self, *options, **def_args ): |
| 147 | '''Possible Options :[]''' |
| 148 | arguments= '' |
| 149 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 150 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 151 | prompt = def_args.setdefault('prompt',self.prompt) |
| 152 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 153 | self.execute( cmd= "show port "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 154 | return main.TRUE |
| 155 | |
| 156 | def show_file(self, *options, **def_args ): |
| 157 | '''Possible Options :[]''' |
| 158 | arguments= '' |
| 159 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 160 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 161 | prompt = def_args.setdefault('prompt',self.prompt) |
| 162 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 163 | self.execute( cmd= "show file "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 164 | return main.TRUE |
| 165 | |
| 166 | def show_power(self, *options, **def_args ): |
| 167 | '''Possible Options :[]''' |
| 168 | arguments= '' |
| 169 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 170 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 171 | prompt = def_args.setdefault('prompt',self.prompt) |
| 172 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 173 | self.execute( cmd= "show power "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 174 | return main.TRUE |
| 175 | |
| 176 | def show_clock(self, *options, **def_args ): |
| 177 | '''Possible Options :[]''' |
| 178 | arguments= '' |
| 179 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 180 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 181 | prompt = def_args.setdefault('prompt',self.prompt) |
| 182 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 183 | self.execute( cmd= "show clock "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 184 | return main.TRUE |
| 185 | |
| 186 | def show_dot1x(self, *options, **def_args ): |
| 187 | '''Possible Options :[]''' |
| 188 | arguments= '' |
| 189 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 190 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 191 | prompt = def_args.setdefault('prompt',self.prompt) |
| 192 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 193 | self.execute( cmd= "show dot1x "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 194 | return main.TRUE |
| 195 | |
| 196 | def show_sflow(self, *options, **def_args ): |
| 197 | '''Possible Options :[]''' |
| 198 | arguments= '' |
| 199 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 200 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 201 | prompt = def_args.setdefault('prompt',self.prompt) |
| 202 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 203 | self.execute( cmd= "show sflow "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 204 | return main.TRUE |
| 205 | |
| 206 | def show_track(self, *options, **def_args ): |
| 207 | '''Possible Options :[]''' |
| 208 | arguments= '' |
| 209 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 210 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 211 | prompt = def_args.setdefault('prompt',self.prompt) |
| 212 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 213 | self.execute( cmd= "show track "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 214 | return main.TRUE |
| 215 | |
| 216 | def show_flash(self, *options, **def_args ): |
| 217 | '''Possible Options :[]''' |
| 218 | arguments= '' |
| 219 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 220 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 221 | prompt = def_args.setdefault('prompt',self.prompt) |
| 222 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 223 | self.execute( cmd= "show flash "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 224 | return main.TRUE |
| 225 | |
| 226 | def show_system(self, *options, **def_args ): |
| 227 | '''Possible Options :[]''' |
| 228 | arguments= '' |
| 229 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 230 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 231 | prompt = def_args.setdefault('prompt',self.prompt) |
| 232 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 233 | self.execute( cmd= "show system "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 234 | return main.TRUE |
| 235 | |
| 236 | def show_whoami(self, *options, **def_args ): |
| 237 | '''Possible Options :[]''' |
| 238 | arguments= '' |
| 239 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 240 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 241 | prompt = def_args.setdefault('prompt',self.prompt) |
| 242 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 243 | self.execute( cmd= "show whoami "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 244 | return main.TRUE |
| 245 | |
| 246 | def show_efmoam(self, *options, **def_args ): |
| 247 | '''Possible Options :[]''' |
| 248 | arguments= '' |
| 249 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 250 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 251 | prompt = def_args.setdefault('prompt',self.prompt) |
| 252 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 253 | self.execute( cmd= "show efmoam "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 254 | return main.TRUE |
| 255 | |
| 256 | def show_memory(self, *options, **def_args ): |
| 257 | '''Possible Options :[]''' |
| 258 | arguments= '' |
| 259 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 260 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 261 | prompt = def_args.setdefault('prompt',self.prompt) |
| 262 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 263 | self.execute( cmd= "show memory "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 264 | return main.TRUE |
| 265 | |
| 266 | def show_tcpdump(self, *options, **def_args ): |
| 267 | '''Possible Options :[]''' |
| 268 | arguments= '' |
| 269 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 270 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 271 | prompt = def_args.setdefault('prompt',self.prompt) |
| 272 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 273 | self.execute( cmd= "show tcpdump "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 274 | return main.TRUE |
| 275 | |
| 276 | def show_history(self, *options, **def_args ): |
| 277 | '''Possible Options :[]''' |
| 278 | arguments= '' |
| 279 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 280 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 281 | prompt = def_args.setdefault('prompt',self.prompt) |
| 282 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 283 | self.execute( cmd= "show history "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 284 | return main.TRUE |
| 285 | |
| 286 | def show_logging(self, *options, **def_args ): |
| 287 | '''Possible Options :[]''' |
| 288 | arguments= '' |
| 289 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 290 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 291 | prompt = def_args.setdefault('prompt',self.prompt) |
| 292 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 293 | self.execute( cmd= "show logging "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 294 | return main.TRUE |
| 295 | |
| 296 | def show_license(self, *options, **def_args ): |
| 297 | '''Possible Options :[]''' |
| 298 | arguments= '' |
| 299 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 300 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 301 | prompt = def_args.setdefault('prompt',self.prompt) |
| 302 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 303 | self.execute( cmd= "show license "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 304 | return main.TRUE |
| 305 | |
| 306 | def show_netstat(self, *options, **def_args ): |
| 307 | '''Possible Options :[]''' |
| 308 | arguments= '' |
| 309 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 310 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 311 | prompt = def_args.setdefault('prompt',self.prompt) |
| 312 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 313 | self.execute( cmd= "show netstat "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 314 | return main.TRUE |
| 315 | |
| 316 | def show_version(self, *options, **def_args ): |
| 317 | '''Possible Options :[]''' |
| 318 | arguments= '' |
| 319 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 320 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 321 | prompt = def_args.setdefault('prompt',self.prompt) |
| 322 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 323 | self.execute( cmd= "show version "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 324 | return main.TRUE |
| 325 | |
| 326 | def show_netconf(self, *options, **def_args ): |
| 327 | '''Possible Options :[]''' |
| 328 | arguments= '' |
| 329 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 330 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 331 | prompt = def_args.setdefault('prompt',self.prompt) |
| 332 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 333 | self.execute( cmd= "show netconf "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 334 | return main.TRUE |
| 335 | |
| 336 | def show_ipdual(self, *options, **def_args ): |
| 337 | '''Possible Options :[]''' |
| 338 | arguments= '' |
| 339 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 340 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 341 | prompt = def_args.setdefault('prompt',self.prompt) |
| 342 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 343 | self.execute( cmd= "show ip-dual "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 344 | return main.TRUE |
| 345 | |
| 346 | def show_sessions(self, *options, **def_args ): |
| 347 | '''Possible Options :[]''' |
| 348 | arguments= '' |
| 349 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 350 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 351 | prompt = def_args.setdefault('prompt',self.prompt) |
| 352 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 353 | self.execute( cmd= "show sessions "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 354 | return main.TRUE |
| 355 | |
| 356 | def show_qosflow(self, *options, **def_args ): |
| 357 | '''Possible Options :[]''' |
| 358 | arguments= '' |
| 359 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 360 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 361 | prompt = def_args.setdefault('prompt',self.prompt) |
| 362 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 363 | self.execute( cmd= "show qos-flow "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 364 | return main.TRUE |
| 365 | |
| 366 | def show_openflow(self, *options, **def_args ): |
| 367 | '''Possible Options :[]''' |
| 368 | arguments= '' |
| 369 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 370 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 371 | prompt = def_args.setdefault('prompt',self.prompt) |
| 372 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 373 | self.execute( cmd= "show openflow "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 374 | return main.TRUE |
| 375 | |
| 376 | def show_dumpfile(self, *options, **def_args ): |
| 377 | '''Possible Options :[]''' |
| 378 | arguments= '' |
| 379 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 380 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 381 | prompt = def_args.setdefault('prompt',self.prompt) |
| 382 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 383 | self.execute( cmd= "show dumpfile "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 384 | return main.TRUE |
| 385 | |
| 386 | def show_ipv6dhcp(self, *options, **def_args ): |
| 387 | '''Possible Options :[]''' |
| 388 | arguments= '' |
| 389 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 390 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 391 | prompt = def_args.setdefault('prompt',self.prompt) |
| 392 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 393 | self.execute( cmd= "show ipv6-dhcp "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 394 | return main.TRUE |
| 395 | |
| 396 | def show_processes(self, *options, **def_args ): |
| 397 | '''Possible Options :[]''' |
| 398 | arguments= '' |
| 399 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 400 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 401 | prompt = def_args.setdefault('prompt',self.prompt) |
| 402 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 403 | self.execute( cmd= "show processes "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 404 | return main.TRUE |
| 405 | |
| 406 | def show_vrrpstatus(self, *options, **def_args ): |
| 407 | '''Possible Options :[]''' |
| 408 | arguments= '' |
| 409 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 410 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 411 | prompt = def_args.setdefault('prompt',self.prompt) |
| 412 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 413 | self.execute( cmd= "show vrrpstatus "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 414 | return main.TRUE |
| 415 | |
| 416 | def show_interfaces(self, *options, **def_args ): |
| 417 | '''Possible Options :[]''' |
| 418 | arguments= '' |
| 419 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 420 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 421 | prompt = def_args.setdefault('prompt',self.prompt) |
| 422 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 423 | self.execute( cmd= "show interfaces "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 424 | return main.TRUE |
| 425 | |
| 426 | def show_environment(self, *options, **def_args ): |
| 427 | '''Possible Options :[]''' |
| 428 | arguments= '' |
| 429 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 430 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 431 | prompt = def_args.setdefault('prompt',self.prompt) |
| 432 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 433 | self.execute( cmd= "show environment "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 434 | return main.TRUE |
| 435 | |
| 436 | def show_autoconfig(self, *options, **def_args ): |
| 437 | '''Possible Options :[]''' |
| 438 | arguments= '' |
| 439 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 440 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 441 | prompt = def_args.setdefault('prompt',self.prompt) |
| 442 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 443 | self.execute( cmd= "show auto-config "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 444 | return main.TRUE |
| 445 | |
| 446 | def show_techsupport(self, *options, **def_args ): |
| 447 | '''Possible Options :[]''' |
| 448 | arguments= '' |
| 449 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 450 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 451 | prompt = def_args.setdefault('prompt',self.prompt) |
| 452 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 453 | self.execute( cmd= "show tech-support "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 454 | return main.TRUE |
| 455 | |
| 456 | def show_mldsnooping(self, *options, **def_args ): |
| 457 | '''Possible Options :[]''' |
| 458 | arguments= '' |
| 459 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 460 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 461 | prompt = def_args.setdefault('prompt',self.prompt) |
| 462 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 463 | self.execute( cmd= "show mld-snooping "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 464 | return main.TRUE |
| 465 | |
| 466 | def show_igmpsnooping(self, *options, **def_args ): |
| 467 | '''Possible Options :[]''' |
| 468 | arguments= '' |
| 469 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 470 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 471 | prompt = def_args.setdefault('prompt',self.prompt) |
| 472 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 473 | self.execute( cmd= "show igmp-snooping "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 474 | return main.TRUE |
| 475 | |
| 476 | def show_channelgroup(self, *options, **def_args ): |
| 477 | '''Possible Options :[]''' |
| 478 | arguments= '' |
| 479 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 480 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 481 | prompt = def_args.setdefault('prompt',self.prompt) |
| 482 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 483 | self.execute( cmd= "show channel-group "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 484 | return main.TRUE |
| 485 | |
| 486 | def show_spanningtree(self, *options, **def_args ): |
| 487 | '''Possible Options :[]''' |
| 488 | arguments= '' |
| 489 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 490 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 491 | prompt = def_args.setdefault('prompt',self.prompt) |
| 492 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 493 | self.execute( cmd= "show spanning-tree "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 494 | return main.TRUE |
| 495 | |
| 496 | def show_loopdetection(self, *options, **def_args ): |
| 497 | '''Possible Options :[]''' |
| 498 | arguments= '' |
| 499 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 500 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 501 | prompt = def_args.setdefault('prompt',self.prompt) |
| 502 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 503 | self.execute( cmd= "show loop-detection "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 504 | return main.TRUE |
| 505 | |
| 506 | def show_acknowledgments(self, *options, **def_args ): |
| 507 | '''Possible Options :[' interface ']''' |
| 508 | arguments= '' |
| 509 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 510 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 511 | prompt = def_args.setdefault('prompt',self.prompt) |
| 512 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 513 | self.execute( cmd= "show acknowledgments "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 514 | return main.TRUE |
| 515 | |
| 516 | def show_macaddresstable(self, *options, **def_args ): |
| 517 | '''Possible Options :[]''' |
| 518 | arguments= '' |
| 519 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 520 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 521 | prompt = def_args.setdefault('prompt',self.prompt) |
| 522 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 523 | self.execute( cmd= "show mac-address-table "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 524 | return main.TRUE |
| 525 | |
| 526 | def show_configlockstatus(self, *options, **def_args ): |
| 527 | '''Possible Options :[]''' |
| 528 | arguments= '' |
| 529 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 530 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 531 | prompt = def_args.setdefault('prompt',self.prompt) |
| 532 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 533 | self.execute( cmd= "show config-lock-status "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 534 | return main.TRUE |
| 535 | |
| 536 | def show_acknowledgments_interface(self, *options, **def_args ): |
| 537 | '''Possible Options :[]''' |
| 538 | arguments= '' |
| 539 | for option in options: |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 540 | arguments = arguments + option +' ' |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 541 | prompt = def_args.setdefault('prompt',self.prompt) |
| 542 | timeout = def_args.setdefault('timeout',self.timeout) |
Jon Hall | 4ba53f0 | 2015-07-29 13:07:41 -0700 | [diff] [blame] | 543 | self.execute( cmd= "show acknowledgments interface "+ arguments, prompt = prompt, timeout = timeout ) |
admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 544 | return main.TRUE |
| 545 | |