Commit Graph

18 Commits

Author SHA1 Message Date
Ghanshyam Mann 6ed93f8448 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: I9da248ee774c038c99bf452898ac8658aa337aad
2024-02-24 11:41:53 -08:00
vcandappa 4ed6d471c4 Updates to tox and setup.cfg files
Using upper-constraints when creating tox environments is
currently having an issue. Updated old version for packages
like pbr, oslo.concurrency, oslo.utils.

Change-Id: Icd019e62a045cab05df82421298100a79c2a669f
2022-11-19 00:11:39 +05:30
Alex Schultz 6dc407b11e Drop six
With os-net-config being python3 only now, we no longer need to leverage
six.

Change-Id: I955f0b8426641c81fe3471e57e94b07fef7a965a
2021-09-24 09:59:46 -06:00
Alex Schultz 3c8d3d62ad Drop unused requirements
We don't actually use anyjson, eventlet or iso8601. Let's drop these
explicit requirements. anyjson hasn't been updated since 2012 and is
starting to fail with newer setuptools.

Change-Id: Iaa7c43e78c881fe3931a6bcf7ebe2a5487c3cd6d
2021-09-24 09:47:28 -06:00
Hervé Beraud 00b3ae27f9 Add support for python 3.8
Introduce support of python 3.8 [1] and move tox and jobs to py38.

jsonschema 3.2.0 [2] support python 3.8

[1] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
[2] https://github.com/Julian/jsonschema/pull/627

Change-Id: I77dcb2e24a61e72b33b05b1bca36bc7cff6f8500
2020-05-26 14:26:03 +02:00
Tony Breeds 8634e3ad4d Uncap jsonschema
We have jsonschema capped at a fairly old version. Other than some
specific releases, it looks like keeping it below 3.0 was added in
I943fd68b9fab3bce1764305a5058df5339470757 without really any explanation
why.

In order to update to a 3.x release we need to:
1. Remove the cap from global-requirements.txt (see Depends-On), leaving
   upper-constraints.txt at a 2.x release
2. Remove the cap from all consumers (this change)
3. Release a new version of consumers that are published to pypi
4. Update upper-constraints.txt with those new releases
5. Update jsonschema in upper-constraints.txt to a 3.X release
   (See: https://review.openstack.org/649789)
6. Test consumers with the change from 5.
7. [Optional] fix issues in consumers that arise from 6.
8. Merge the change from 5.

Change-Id: I2d2ad4bbc7c54d3ff33deaa49553fc001f218316
Co-Authored-by: Sean McGinnis <sean.mcginnis@gmail.com>
Depends-On: https://review.openstack.org/649669
2019-04-24 13:59:41 +00:00
karthik s 4b48b525c4 Updating requirements for pyudev
The stable/queens branch has a lower constraint for pyudev
version (0.16.1). This is required for backporting
NIC Partitioning feature to stable/queens.

Change-Id: I81c93a6f44b5b587759c002ad29b5c087ec53205
2019-01-21 17:49:08 +05:30
Karthik S dbeb6fe87b Adding VLAN support and other configs for sriov_vf
Allow additional settings for configuring sriov_vf types
such as vlan, qos, spoofcheck, trust mode, state control,
mac address, promisc.

Implements: blueprint sriov-vfs-as-network-interface
Change-Id: I078a202b1f5769d8b18db2618914edb5ad836919
Signed-off-by: Karthik S <ksundara@redhat.com>
2018-07-10 01:19:04 -04:00
Saravanan KR 609a19c85c Syncing the requirements
Change-Id: I24af14c4896d38d398505a4c7566622e41d5226c
2018-07-06 03:04:10 -04:00
Frank A. Zdarsky 9ef9a7a92d Add schema-based config data validation
This patch adds a jsonschema for os-net-config's configuration data
and a library function to validate configuration data based on this
schema. Adding schema-based validation allows catching a larger class of
errors (typos, missing required parameters, etc.) for all devices
configurable through os-net-config.

The validation is run in the os-net-config CLI after loading the config
file. If the config file fails to validate, the current default is to
just log a warning and try to continue. By providing the new CLI option
'--exit-on-validation-errors', this can be changed to log an error and
exist instead.

This validation is meant to be reusable, for example for pre-deployment
validation of network environments (see change
Ic16ee0bc353c46f8fe512454176a07ee95347346). Packaging with os-net-config
makes it easier to keep object model and schema in sync.

Change-Id: Ie4a905863b2d46c88d9cd6c3afc50e7d0a877090
Signed-off-by: Frank A. Zdarsky <fzdarsky@redhat.com>
2017-07-12 22:57:34 +02:00
Andreas Jaeger e7e81ac011 Remove unused Babel setup
This repo is not translated at all - and not setup for translation.
Remove Babel and Babel set up.

Change-Id: Ied2e0352f32108fed7b6e3e7355e9f4c029297f1
2017-05-16 14:54:58 +02:00
Ben Nemec 8d8f96ac1a Updated from global requirements
It appears os-net-config is not in the sync list for g-r.  We should
add it, but in the meantime this will get us up to date.

Change-Id: I828a394ce72824eaabe904b563f73734a88c21f8
2017-03-31 17:45:11 +00:00
Steven Hardy c86a76e13e Remove deprecated references to oslo-incubator
Purge references to modules which have been deprecated by various oslo
libraries.

Requires changes to use oslo.utils and oslo.concurrency, which are
added to the requirements, syncing with the latest in global requirements
so we can also move to the un-namespaced oslo package names.

Change-Id: Idacb71b7871330e3b3fabf4a926a5b8987614c4d
2015-02-24 09:21:04 +00:00
Dan Prince 416943cc4e Add support for parsing YAML
Adds new YAML examples. Also adds some new CLI test
cases which compare --noop stdout (from the CLI) for
the json and yaml examples to verify they generate
the same things.
2014-08-20 21:46:46 -04:00
Dan Prince 50290b0e45 Add os-net-config CLI
Adds a new CLI which parses the JSON and calls the configured
provider to apply the configuration.
2014-07-01 16:54:25 -04:00
Dan Prince 86230e11d1 Implement apply for ifcfg implementation
Adds an apply function to the ifcfg implementation
which:

1) Shuts down existing interfaces w/ ifdown

2) writes new interfaces config files (routes too)

3) Starts up new interfaces w/ ifup
2014-06-10 14:01:06 -04:00
Dan Prince 846e00d007 Add interface, address, and route objects
Add some initial objects for interfaces, routes and addresses.
2014-06-09 10:42:19 -04:00
Dan Prince 8d3dc89842 Initial commit
Initial commit of the project layout
2014-06-06 12:27:50 -04:00