From 58732d537d282f95d54e84553656a43406c1e201 Mon Sep 17 00:00:00 2001 From: Marcus Vinicius Goncalves Cesario Date: Thu, 4 Sep 2014 20:07:08 -0300 Subject: [PATCH] Inserting license text in files. Replacing old used headers. --- networkapiclient/Ambiente.py | 20 ++++++++++++------ networkapiclient/AmbienteLogico.py | 19 ++++++++++++----- networkapiclient/BlockRule.py | 14 +++++++++++++ networkapiclient/ClientFactory.py | 19 ++++++++++++----- networkapiclient/Config.py | 19 ++++++++++++----- networkapiclient/DireitoGrupoEquipamento.py | 19 ++++++++++++----- networkapiclient/DivisaoDc.py | 19 ++++++++++++----- networkapiclient/EnvironmentVIP.py | 19 ++++++++++++----- networkapiclient/Equipamento.py | 19 ++++++++++++----- networkapiclient/EquipamentoAcesso.py | 19 ++++++++++++----- networkapiclient/EquipamentoAmbiente.py | 19 ++++++++++++----- networkapiclient/EquipamentoRoteiro.py | 19 ++++++++++++----- networkapiclient/EspecificacaoGrupoVirtual.py | 19 ++++++++++++----- networkapiclient/EventLog.py | 14 +++++++++++++ networkapiclient/Filter.py | 19 ++++++++++++----- networkapiclient/GenericClient.py | 19 ++++++++++++----- networkapiclient/GrupoEquipamento.py | 19 ++++++++++++----- networkapiclient/GrupoL3.py | 19 ++++++++++++----- networkapiclient/GrupoUsuario.py | 19 ++++++++++++----- networkapiclient/Interface.py | 19 ++++++++++++----- networkapiclient/Ip.py | 19 ++++++++++++----- networkapiclient/Marca.py | 19 ++++++++++++----- networkapiclient/Modelo.py | 19 ++++++++++++----- networkapiclient/Network.py | 19 ++++++++++++----- networkapiclient/OptionVIP.py | 19 ++++++++++++----- networkapiclient/Pagination.py | 19 ++++++++++++----- networkapiclient/PermissaoAdministrativa.py | 19 ++++++++++++----- networkapiclient/Permission.py | 19 ++++++++++++----- networkapiclient/Roteiro.py | 19 ++++++++++++----- networkapiclient/RoteiroEquipamento.py | 19 ++++++++++++----- networkapiclient/TipoAcesso.py | 19 ++++++++++++----- networkapiclient/TipoEquipamento.py | 19 ++++++++++++----- networkapiclient/TipoRede.py | 19 ++++++++++++----- networkapiclient/TipoRoteiro.py | 19 ++++++++++++----- networkapiclient/Usuario.py | 19 ++++++++++++----- networkapiclient/UsuarioGrupo.py | 19 ++++++++++++----- networkapiclient/Vip.py | 19 ++++++++++++----- networkapiclient/Vlan.py | 19 ++++++++++++----- networkapiclient/__init__.py | 21 +++++++++++++------ networkapiclient/exception.py | 19 ++++++++++++----- networkapiclient/rest.py | 19 ++++++++++++----- networkapiclient/utils.py | 19 ++++++++++++----- networkapiclient/version_control.py | 2 +- networkapiclient/xml_utils.py | 19 ++++++++++++----- 44 files changed, 604 insertions(+), 208 deletions(-) diff --git a/networkapiclient/Ambiente.py b/networkapiclient/Ambiente.py index 46a9eaa..ba2419c 100755 --- a/networkapiclient/Ambiente.py +++ b/networkapiclient/Ambiente.py @@ -1,10 +1,18 @@ # -*- coding:utf-8 -*- -""" -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. - -""" +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.exception import InvalidParameterError diff --git a/networkapiclient/AmbienteLogico.py b/networkapiclient/AmbienteLogico.py index cea7c8a..7214b31 100644 --- a/networkapiclient/AmbienteLogico.py +++ b/networkapiclient/AmbienteLogico.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/BlockRule.py b/networkapiclient/BlockRule.py index 0297739..31304f2 100755 --- a/networkapiclient/BlockRule.py +++ b/networkapiclient/BlockRule.py @@ -1,4 +1,18 @@ # -*- coding:utf-8 -*- +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient diff --git a/networkapiclient/ClientFactory.py b/networkapiclient/ClientFactory.py index 8c7271f..765a7e1 100755 --- a/networkapiclient/ClientFactory.py +++ b/networkapiclient/ClientFactory.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.Ambiente import Ambiente from networkapiclient.Equipamento import Equipamento diff --git a/networkapiclient/Config.py b/networkapiclient/Config.py index a548cc8..c90e4e9 100644 --- a/networkapiclient/Config.py +++ b/networkapiclient/Config.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: masilva / S2it -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. class IP_VERSION: diff --git a/networkapiclient/DireitoGrupoEquipamento.py b/networkapiclient/DireitoGrupoEquipamento.py index c54acdc..d46e62a 100644 --- a/networkapiclient/DireitoGrupoEquipamento.py +++ b/networkapiclient/DireitoGrupoEquipamento.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/DivisaoDc.py b/networkapiclient/DivisaoDc.py index cb30c7c..437c879 100644 --- a/networkapiclient/DivisaoDc.py +++ b/networkapiclient/DivisaoDc.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/EnvironmentVIP.py b/networkapiclient/EnvironmentVIP.py index 1a2f499..1f1b3fb 100644 --- a/networkapiclient/EnvironmentVIP.py +++ b/networkapiclient/EnvironmentVIP.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: s2it / masilva -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.exception import InvalidParameterError diff --git a/networkapiclient/Equipamento.py b/networkapiclient/Equipamento.py index 821924c..61d22d6 100644 --- a/networkapiclient/Equipamento.py +++ b/networkapiclient/Equipamento.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import urllib from networkapiclient.GenericClient import GenericClient diff --git a/networkapiclient/EquipamentoAcesso.py b/networkapiclient/EquipamentoAcesso.py index d1f5db9..7639d98 100644 --- a/networkapiclient/EquipamentoAcesso.py +++ b/networkapiclient/EquipamentoAcesso.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/EquipamentoAmbiente.py b/networkapiclient/EquipamentoAmbiente.py index 54a6a98..dd4f2ac 100644 --- a/networkapiclient/EquipamentoAmbiente.py +++ b/networkapiclient/EquipamentoAmbiente.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import is_valid_int_param diff --git a/networkapiclient/EquipamentoRoteiro.py b/networkapiclient/EquipamentoRoteiro.py index e74b73d..afcf62a 100644 --- a/networkapiclient/EquipamentoRoteiro.py +++ b/networkapiclient/EquipamentoRoteiro.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/EspecificacaoGrupoVirtual.py b/networkapiclient/EspecificacaoGrupoVirtual.py index eeb059f..d196196 100644 --- a/networkapiclient/EspecificacaoGrupoVirtual.py +++ b/networkapiclient/EspecificacaoGrupoVirtual.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. class EspecificacaoGrupoVirtual(object): diff --git a/networkapiclient/EventLog.py b/networkapiclient/EventLog.py index e0f5955..5013e33 100644 --- a/networkapiclient/EventLog.py +++ b/networkapiclient/EventLog.py @@ -1,4 +1,18 @@ # -*- coding:utf-8 -*- +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.exception import InvalidParameterError diff --git a/networkapiclient/Filter.py b/networkapiclient/Filter.py index 0a88365..9ed689f 100644 --- a/networkapiclient/Filter.py +++ b/networkapiclient/Filter.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: s2it / csilva -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.exception import InvalidParameterError diff --git a/networkapiclient/GenericClient.py b/networkapiclient/GenericClient.py index 672e725..87cccb2 100644 --- a/networkapiclient/GenericClient.py +++ b/networkapiclient/GenericClient.py @@ -1,10 +1,19 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.rest import RestRequest, RestError from networkapiclient.exception import ErrorHandler diff --git a/networkapiclient/GrupoEquipamento.py b/networkapiclient/GrupoEquipamento.py index 7920635..1b39c5a 100644 --- a/networkapiclient/GrupoEquipamento.py +++ b/networkapiclient/GrupoEquipamento.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/GrupoL3.py b/networkapiclient/GrupoL3.py index 7dfae62..16071cf 100644 --- a/networkapiclient/GrupoL3.py +++ b/networkapiclient/GrupoL3.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/GrupoUsuario.py b/networkapiclient/GrupoUsuario.py index d02a383..cfcfd2e 100644 --- a/networkapiclient/GrupoUsuario.py +++ b/networkapiclient/GrupoUsuario.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/Interface.py b/networkapiclient/Interface.py index c148857..a159963 100644 --- a/networkapiclient/Interface.py +++ b/networkapiclient/Interface.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/Ip.py b/networkapiclient/Ip.py index c186b15..d9416bd 100644 --- a/networkapiclient/Ip.py +++ b/networkapiclient/Ip.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.exception import InvalidParameterError diff --git a/networkapiclient/Marca.py b/networkapiclient/Marca.py index fc991ba..58356f2 100644 --- a/networkapiclient/Marca.py +++ b/networkapiclient/Marca.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/Modelo.py b/networkapiclient/Modelo.py index 1ad7f0f..38686aa 100644 --- a/networkapiclient/Modelo.py +++ b/networkapiclient/Modelo.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/Network.py b/networkapiclient/Network.py index e650685..724532b 100644 --- a/networkapiclient/Network.py +++ b/networkapiclient/Network.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import is_valid_int_param diff --git a/networkapiclient/OptionVIP.py b/networkapiclient/OptionVIP.py index 10a8b78..4baac8f 100755 --- a/networkapiclient/OptionVIP.py +++ b/networkapiclient/OptionVIP.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: s2it / masilva -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.exception import InvalidParameterError diff --git a/networkapiclient/Pagination.py b/networkapiclient/Pagination.py index 7f692ce..6721d6c 100644 --- a/networkapiclient/Pagination.py +++ b/networkapiclient/Pagination.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -""" -Title: Infrastructure NetworkAPI -Author: avanzolin / S2it -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -""" +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. class Pagination(): diff --git a/networkapiclient/PermissaoAdministrativa.py b/networkapiclient/PermissaoAdministrativa.py index 26085d0..5a85545 100644 --- a/networkapiclient/PermissaoAdministrativa.py +++ b/networkapiclient/PermissaoAdministrativa.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/Permission.py b/networkapiclient/Permission.py index 48639e0..37c6baf 100644 --- a/networkapiclient/Permission.py +++ b/networkapiclient/Permission.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: masilva / s2it -Copyright: ( c ) 2012 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map diff --git a/networkapiclient/Roteiro.py b/networkapiclient/Roteiro.py index ebbe922..2b0a027 100644 --- a/networkapiclient/Roteiro.py +++ b/networkapiclient/Roteiro.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/RoteiroEquipamento.py b/networkapiclient/RoteiroEquipamento.py index 4f33a4d..f840469 100644 --- a/networkapiclient/RoteiroEquipamento.py +++ b/networkapiclient/RoteiroEquipamento.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Created on 02/09/2009 - -@author: eduardo.ferreira -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient diff --git a/networkapiclient/TipoAcesso.py b/networkapiclient/TipoAcesso.py index c50d9b8..6145902 100644 --- a/networkapiclient/TipoAcesso.py +++ b/networkapiclient/TipoAcesso.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/TipoEquipamento.py b/networkapiclient/TipoEquipamento.py index 5357c09..19f3377 100644 --- a/networkapiclient/TipoEquipamento.py +++ b/networkapiclient/TipoEquipamento.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map diff --git a/networkapiclient/TipoRede.py b/networkapiclient/TipoRede.py index b3c65d4..a4c088e 100644 --- a/networkapiclient/TipoRede.py +++ b/networkapiclient/TipoRede.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/TipoRoteiro.py b/networkapiclient/TipoRoteiro.py index e72d1d6..573b579 100644 --- a/networkapiclient/TipoRoteiro.py +++ b/networkapiclient/TipoRoteiro.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/Usuario.py b/networkapiclient/Usuario.py index 86b8ea0..cea3ac3 100644 --- a/networkapiclient/Usuario.py +++ b/networkapiclient/Usuario.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import get_list_map, is_valid_int_param diff --git a/networkapiclient/UsuarioGrupo.py b/networkapiclient/UsuarioGrupo.py index 1ad06d6..fef93ef 100644 --- a/networkapiclient/UsuarioGrupo.py +++ b/networkapiclient/UsuarioGrupo.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.utils import is_valid_int_param diff --git a/networkapiclient/Vip.py b/networkapiclient/Vip.py index bd363ca..c986da0 100755 --- a/networkapiclient/Vip.py +++ b/networkapiclient/Vip.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.exception import InvalidParameterError diff --git a/networkapiclient/Vlan.py b/networkapiclient/Vlan.py index 8221df6..16f4b75 100755 --- a/networkapiclient/Vlan.py +++ b/networkapiclient/Vlan.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from networkapiclient.GenericClient import GenericClient from networkapiclient.exception import InvalidParameterError diff --git a/networkapiclient/__init__.py b/networkapiclient/__init__.py index 05fd83f..7d4b6e1 100644 --- a/networkapiclient/__init__.py +++ b/networkapiclient/__init__.py @@ -1,12 +1,21 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. MAJOR_VERSION = '0' MINOR_VERSION = '2' -PATCH_VERSION = '1' +PATCH_VERSION = '2' VERSION = '.'.join((MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION,)) diff --git a/networkapiclient/exception.py b/networkapiclient/exception.py index 987291f..985e7a3 100644 --- a/networkapiclient/exception.py +++ b/networkapiclient/exception.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. class NetworkAPIClientError(Exception): diff --git a/networkapiclient/rest.py b/networkapiclient/rest.py index a6bf1eb..5790626 100644 --- a/networkapiclient/rest.py +++ b/networkapiclient/rest.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import logging from urllib2 import * diff --git a/networkapiclient/utils.py b/networkapiclient/utils.py index 7db57cb..495f15c 100644 --- a/networkapiclient/utils.py +++ b/networkapiclient/utils.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import re from Config import IP_VERSION diff --git a/networkapiclient/version_control.py b/networkapiclient/version_control.py index 8786718..e25e572 100755 --- a/networkapiclient/version_control.py +++ b/networkapiclient/version_control.py @@ -1 +1 @@ -CLIENT_VERSION = '0.1.98' +CLIENT_VERSION = '0.2.2' diff --git a/networkapiclient/xml_utils.py b/networkapiclient/xml_utils.py index 9955bd4..86f6b0b 100644 --- a/networkapiclient/xml_utils.py +++ b/networkapiclient/xml_utils.py @@ -1,9 +1,18 @@ # -*- coding:utf-8 -*- -''' -Title: Infrastructure NetworkAPI -Author: globo.com / TQI -Copyright: ( c ) 2009 globo.com todos os direitos reservados. -''' +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from xml.dom import InvalidCharacterErr from xml.dom.minidom import *