diff options
| author | Trey Morris <trey.morris@rackspace.com> | 2011-12-01 16:54:40 -0600 |
|---|---|---|
| committer | Trey Morris <treyemorris@gmail.com> | 2011-12-08 17:33:04 -0600 |
| commit | d8e84937c19169e3de73e7ad6b7382d954d753ac (patch) | |
| tree | ab50a17c95db9378666350c0657bff1e8d2b9490 /nova/exception.py | |
| parent | 10c829ff39500d68f1e3493f5fa1a4e2f5bc26d6 (diff) | |
| download | nova-d8e84937c19169e3de73e7ad6b7382d954d753ac.tar.gz nova-d8e84937c19169e3de73e7ad6b7382d954d753ac.tar.xz nova-d8e84937c19169e3de73e7ad6b7382d954d753ac.zip | |
Adds network model and network info cache.
The next merge will prepopulate the cache, and use the model to keep the
cache up to date.
I realize "cache" is a bit of a stretch for what this is doing.
blueprint network-info-model
blueprint compute-network-info
Change-Id: I0f0f4ba3de1310e1ff89239dab6ea8e24c85f2c8
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 8da1d752c..565e55387 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -317,6 +317,10 @@ class InvalidCPUInfo(Invalid): message = _("Unacceptable CPU info") + ": %(reason)s" +class InvalidIpAddressError(Invalid): + message = _("%(address)s is not a valid IP v4/6 address.") + + class InvalidVLANTag(Invalid): message = _("VLAN tag is not appropriate for the port group " "%(bridge)s. Expected VLAN tag is %(tag)s, " |
