Project

General

Profile

Bug #7430

subnet mask validation

Added by Christine Fouant over 4 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Category:
Network
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1136088
Description of problem:

subnet mask can be set to any IP address like (255.1.2.3)

valid masks are only 128.0.0.0, 192..., 224..., etc.

Version-Release number of selected component (if applicable):
Satellite-6.0.4-RHEL-6-20140829.0 [Sat6-GA-Snap7-Compose3]

How reproducible:
always

Steps to Reproduce:
1. # hammer subnet create --name subnet_1 --network 140.20.1.0 --mask 255.1.2.3
Subnet created

Associated revisions

Revision 7af45f09 (diff)
Added by Christine Fouant over 4 years ago

fixes #7430 - Adds subnet mask validation

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.7.3
  • Pull request https://github.com/theforeman/foreman/pull/1757 added
  • Pull request deleted ()

#2 Updated by Dominic Cleal over 4 years ago

  • Category set to Network

#3 Updated by Christine Fouant over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 21

Also available in: Atom PDF