Revision 16091a6e lib/opcodes.py

b/lib/opcodes.py
353 353
                 "Network type")
354 354

  
355 355

  
356
@ht.WithDesc("IPv4 network")
356 357
def _CheckCIDRNetNotation(value):
357
  """Ensure a given cidr notation type is valid.
358
  """Ensure a given CIDR notation type is valid.
358 359

  
359 360
  """
360 361
  try:
......
364 365
  return True
365 366

  
366 367

  
368
@ht.WithDesc("IPv4 address")
367 369
def _CheckCIDRAddrNotation(value):
368
  """Ensure a given cidr notation type is valid.
370
  """Ensure a given CIDR notation type is valid.
369 371

  
370 372
  """
371 373
  try:
......
375 377
  return True
376 378

  
377 379

  
380
@ht.WithDesc("IPv6 address")
378 381
def _CheckCIDR6AddrNotation(value):
379
  """Ensure a given cidr notation type is valid.
382
  """Ensure a given CIDR notation type is valid.
380 383

  
381 384
  """
382 385
  try:
......
386 389
  return True
387 390

  
388 391

  
392
@ht.WithDesc("IPv6 network")
389 393
def _CheckCIDR6NetNotation(value):
390
  """Ensure a given cidr notation type is valid.
394
  """Ensure a given CIDR notation type is valid.
391 395

  
392 396
  """
393 397
  try:

Also available in: Unified diff