Rohit Yadav
5b9a989ab0
Updating pom.xml version numbers for release 4.17.2.0
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-12-14 05:22:52 +00:00
Abhishek Kumar
0075717612
api: fix listVirtuaMachinesMetrics API for user ( #6985 )
...
Fixes #6983
In case of multiple classes for and API class, ApiServer returns an API command class for User role only when ResponseView is set to Restricted in annotation.
This PR set Restricted ResponseView for ListVMsMetrics class. It also adds a smoke test for User role account for the listVirtualMachinesMetrics API.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-12-14 10:48:40 +05:30
Abhishek Kumar
4de66f9855
server: fix listing vm metrics for infra resources ( #6851 )
...
Fixes #6786
listVirtualMachinesMetrics does not support some of the params that are supported by admin API call for listVirtualMachines.
These parameters are used in UI.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Co-authored-by: Rohit Yadav <rohityadav89@gmail.com>
Co-authored-by: Daan Hoogland <daan@onecht.net>
2022-12-12 11:22:07 +05:30
Abhishek Kumar
9fd2d82af9
vmware: fix vmware vm snapshot operations for datastorecluster ( #6912 )
...
Fixes #6894
Fixes NPE observed when VM volume is present on the same child datastore.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-12-07 14:43:44 +05:30
Wei Zhou
d182eacf86
host affinity: fix vm cannot be started if a vm is stopped in the affinity group ( #6936 )
2022-12-06 10:05:49 +01:00
Wei Zhou
296035d9a5
XenServer/XCP-ng: fix vm memory usage is always 99.9x% ( #6852 )
...
According to https://docs.citrix.com/en-us/citrix-hypervisor/monitor-performance.html
The metrics "memory_internal_free" is already in KiB, no need to convert.
"Memory used as reported by the guest agent (KiB). Enabled by default"
2022-11-02 09:36:16 +01:00
Rohit Yadav
5669888c16
mvn: fix build and use the 4.17.2.0-SNAPSHOT in version
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-09-21 13:41:21 +05:30
Abhishek Kumar
d724a9d15c
Updating pom.xml version numbers for release 4.17.2.0-SNAPSHOT
...
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-09-19 16:21:35 +05:30
Abhishek Kumar
350ef38e1c
Updating pom.xml version numbers for release 4.17.1.0
...
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-09-14 12:58:03 +05:30
Wei Zhou
20950e0e1d
jacoco: fix no coverage result in server and some other modules ( #6730 )
...
According to https://www.eclemma.org/jacoco/trunk/doc/prepare-agent-mojo.html
we need to add "@{argLine}" to argLine if it exists in pom.xml
2022-09-12 21:27:55 +05:30
Abhishek Kumar
b831f23f5f
kvm: add libvirt host capabilities method for cpu speed retrieval ( #6696 )
...
Fixes #6680
While finding CPU speed for KVM host following methods will be used in the same order:
1. lscpu
2. value in /sys/devices/system/cpu/cpu0/cpufreq/base_frequency
3. virsh capabilities
4. libvirt nodeinfo
This will allow correct value for AMD based hosts when first two methods doesn't give a value
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-09-06 16:45:05 +05:30
Abhishek Kumar
a21efe75df
vmware: fix vm snapshot with datastore cluster, drs ( #6643 )
...
Fixes #6595
Sync volume datastore, path and chaininfo info while calculating snapshot chain size after snapshot operation is complete from vCenter.
2022-08-31 16:00:14 +05:30
Abhishek Kumar
814dbbaf86
cks: fix k8s cluster deployment with host tagged offering ( #6658 )
...
Fixes #6657
Fixes k8s cluster node VM deployment when the underlying hypervisor host has multiple host tags and the service offering used for the cluster deployment does not contain all of those host tags.
2022-08-22 14:39:36 +05:30
Abhishek Kumar
770df60bbe
vmware,cks: fix attachiso failure with vmware drs ( #6625 )
...
Fixes #4314
Failure in attaching k8s ISO is seen when VMware DRS is enabled. Log reported VM is not found. This fix tries to find VM on peer hosts when the VM is not found on the given host.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-08-16 16:17:13 +05:30
Ruben Bosch
696b93f421
kvm: update host memory stats ( #6622 )
...
Fixes #6621
Each time getMemStat() is called, a static value is returned. This value
should instead be refreshed to return the actual memory used.
Co-authored-by: Ruben Bosch <ruben.bosch@cldin.eu>
2022-08-12 17:14:04 +05:30
slavkap
76f52af8f3
removed the use of SharedMountPoint storage type for the StorPool plugin ( #6552 )
...
Fixes #6455
The default storage adaptor - LibvirtStorageAdaptor - is used by different storage types and doesn't use the annotation @StorageAdaptorInfo. In this case, a storage plugin that wants to adopt one of the predefined storage pool types will override the default behaviour. If fixing the issue in general (for new storage plugins or current ones that want to reuse the existing storage pool types) would affect all volume/snapshot/VM cases. This will lead to the need of extensive testing for each storage plugin for which we don't have the resources to do it. That's why this patch fixes the old behaviour for the SharedMountPoint by adding a new storage pool type for the StorPool plugin.
2022-08-10 14:41:32 +05:30
Rohit Yadav
441edf3ca7
utils: use safer parsing utility across codebase ( #6562 )
...
This addresses SonarQube/SonarCloud quality checks to use safer xml
parser to resist potential XXE attacks.
https://sonarcloud.io/organizations/apache/rules?open=java%3AS2755&rule_key=java%3AS2755
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-07-27 14:31:51 +05:30
Rohit Yadav
c4c4c71591
cherry-pick ce7c3694c8
...
This fixes cherry-pick issue, while merging 4.17.0.1 on 4.17 branch
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-07-20 16:18:32 +05:30
Harikrishna
2c05b63495
kvm: Fix for Revert volume snapshot ( #6527 )
...
This PR fixes the issue #6209 where the snapshot revert operation fails after certain volume operations like Migrate VM with volume / migrate volume / reinstall VM.
The root cause of the issue after these volume operations, the primary storage entry is getting deleted for that volume. We have fixed it here to get the primary datastore entry wrt volume and continue the operation.
2022-07-20 11:34:02 +05:30
Rohit Yadav
7a3e97d67e
Tagging release 4.17.0.1 on branch b30a4a99d1.
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEXtHhEi3F6KSkURLCSEJIIQ7j2IQFAmLRYi0ACgkQSEJIIQ7j
2ISTWxAAlozJuDMoRnr4D1TDbNCr2hzWSgVn5AK+IZGwnd22OnaZnS7tVQUheTCq
t9aQgRLb7oUGAzNngHEjDaQBnxlHdLHMKby+QGe+RjX/d9urFoEyHe2xyvCJPkwM
hFM1uesMqtH/HKwhIL3l8fATGPHlucdhQEZ+XA4bu91IVzxog0gikSnm7SjbaljF
yYNkn9CgOWtZYFek7lcOM7iuKB79QSdpYxN8PYLpE7esyQSu4KjU4Ekufv1u6Tql
ILsY5PA5tzzxS7ArfW5PICgSxkXOUIkflBbPHObGgduKw9Q36bmnRM/701lNb2re
EWE4NMlM2PDn8kKZ2zULD2VBIq5tVdJuZjXbjDyD17z/KiU9pd6hGeHABSitnpDW
vAS6rLJVY3YT9eqoVDVhpkpFQZmvdfDC8L4nYU2E7dCHj4lF9FlsgYO08SCfSgvP
InAnfg1jZvbhA9EDL+LiuhxCStn6ZpjRuRCC89hYfRfRM1ZdrT2FazDj8KwPuC0P
xfEr8eTnMm7xM+B9JCBQ2Lskl3jxQk3KAYQX13LtZCUj05Y1f3crx/iq6t0qIrAH
PU9keojKMZffLz5MBlFU8qor32stw+uNMky8dZgtDIx6kRjnuYuPYOxpcPDzl+Cs
KBRcwpIP+GR9mePU8PKBNDClLA45vDE1XqeK6KnOOf7MBSprU5o=
=ETOD
-----END PGP SIGNATURE-----
Merge tag '4.17.0.1' into 4.17
Tagging release 4.17.0.1 on branch b30a4a99d1 .
2022-07-18 19:40:53 +05:30
Rohit Yadav
1c7efcbd0d
Updating pom.xml version numbers for release 4.17.0.1
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-07-15 18:18:40 +05:30
Rohit Yadav
ce7c3694c8
storpool: fix mvn pom.xml build issue
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-07-14 17:36:02 +05:30
Rohit Yadav
f27de63644
saml: Safer DocumentBuilderFactory and ParserPool configuration
...
This implements safer DocumentBuilderFactory and ParserPool utilities
to be used throughout the codebase to prevent potential XXE exploits.
References:
https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html
https://www.blackhat.com/docs/us-15/materials/us-15-Wang-FileCry-The-New-Age-Of-XXE-java-wp.pdf
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 8e0e68ef368ebe2793ef80e2c3821eaecb47b593)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-07-14 17:31:12 +05:30
Rohit Yadav
3d316546bf
kvm: skip test that can't run and pass on M1 mac ( #6537 )
...
This fixes the build issue on M1 mac/osx.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-07-07 14:36:15 +05:30
Abhishek Kumar
67e941f690
cks: fix k8s version upgrade ( #6513 )
...
Fixes #6514
On latest systemvm template used for CKS /usr/sbin is not present in the $PATH for normal user used during upgrade. This leads to failure for blkid command. Due to this during k8s version upgrade ISO is not being able to mount on the k8s cluster VMs and upgrade process is not carried out.
This PR fixes mounting of k8s version ISO and also returns failure for script when ISO mounting is failed.
Same failure is not seen during deployment of the cluster because setup-kube-system workflow is executed as ROOT user and it has a different value for $PATH.
From /etc/login.defs:
ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV_PATH PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-07-06 12:34:49 +05:30
Luis Moreira
c6b611433b
saml: Fix SAML SSO plugin redirect URL ( #6457 )
...
This PR fixes the issue #6427 -> SAML request must be appended to an IdP URL as a query param with an ampersand, if the URL already contains a question mark, as opposed to always assume that IdP URLs don't have any query params.
Google's IdP URL for instance looks like this: https://accounts.google.com/o/saml2/idp?idpid= <ID>, therefore the expected redirect URL would be https://accounts.google.com/o/saml2/idp?idpid= <ID>&SAMLRequest=<SAMLRequest>
This code change is backwards compatible with the current behaviour.
2022-07-06 09:28:37 +05:30
John Bampton
7d23a0a759
Fix spelling ( #6272 )
2022-07-05 09:08:53 +02:00
João Jandre
e467ad02ce
Fix VMware memory retrieval ( #6414 )
...
* Fix VMware memory retrieval
* Address review
Co-authored-by: Joao <JoaoJandre@gitlab.com>
2022-07-01 23:36:40 -03:00
Harikrishna
637a102922
Fix for VMware VM migration with volume in local storage ( #6483 )
...
* Fix VMware VM migration with volume in case of local storage
* Break the loop once target host is found
* Code optimisations in getting the target host guid for local storage
* Fixed code smells and added unit test
2022-07-01 10:39:02 +05:30
Wei Zhou
a9a2aa953c
CKS: add created to k8s cluster and k8s version ( #6446 )
...
This PR adds created info to the response of kubernetes clusters and kubernetes supported version.
2022-06-30 12:03:12 +05:30
Suresh Kumar Anaparti
c70bc9d69c
kvm: Updated PowerFlex/ScaleIO storage plugin to support separate (storage) network for Hosts(KVM)/Storage connection. ( #6367 )
...
This PR enhances the existing PowerFlex/ScaleIO storage plugin to support separate (storage) network for Hosts(KVM)/Storage connection, mainly the SDC (ScaleIo Data Client) connection.
2022-06-27 14:42:51 +05:30
nvazquez
7ed8d54db2
Fix version numbers
2022-06-06 12:22:11 -03:00
nvazquez
038a669d6b
Updating pom.xml version numbers for release 4.17.1.0-SNAPSHOT
...
Signed-off-by: nvazquez <nicovazquez90@gmail.com>
2022-06-06 12:19:44 -03:00
nvazquez
c56220fcf2
Updating pom.xml version numbers for release 4.17.0.0
...
Signed-off-by: nvazquez <nicovazquez90@gmail.com>
2022-05-31 14:33:47 -03:00
David Jumani
0f4c3af935
cks: Fix when deployed on a nw without internet access ( #6418 )
...
* cks: Fix when deployed on a nw without internet access
* Revert "cks: Fix when deployed on a nw without internet access"
This reverts commit 40e3338001 .
* cks: Fix issue when creating cluster in nw without internet access
2022-05-31 14:32:27 -03:00
Nicolas Vazquez
82e0d5d679
Fix UEFI detection on KVM and prevent deployments on non UEFI enabled hosts ( #6423 )
...
* Do not allow UEFI deployments on non UEFI enabled hosts
* Fix UEFI detection on KVM
* Refactor
* Improvement
2022-05-31 14:31:42 -03:00
Daniel Augusto Veronezi Salvador
81b7e6e750
Fix extract snapshot from vm snapshot on kvm ( #6422 )
...
* Fix extract snapshot from VM snapshot on KVM
* Fix validation expression - does not need to escape the slash
Co-authored-by: GutoVeronezi <daniel@scclouds.com.br>
2022-05-31 14:30:36 -03:00
dahn
c123c3fd2f
remove request listener to prevent untimely session invalidation ( #6393 )
...
* login/-out constants
* no request listener
* store session as value, using id as key
* Apply suggestions from sonarcloud.io code review
three instances of unsafe parameters to logging
* new sonar issues
* sonar issues
2022-05-24 10:00:06 -03:00
nvazquez
96594aec28
Merge branch '4.16'
2022-05-23 08:16:52 -03:00
Nicolas Vazquez
b1c8b5ab37
[KVM] Fix VM migration error due to VNC password on libvirt limiting versions ( #6404 )
...
* [KVM] Fix VM migration error due to VNC password on libvirt limiting versions
* Fix passwd value
* Simplify implementation
2022-05-23 08:12:49 -03:00
Nicolas Vazquez
dc975dff95
[KVM] Enable IOURING only when it is available on the host ( #6399 )
...
* [KVM] Disable IOURING by default on agents
* Refactor
* Remove agent property for iouring
* Restore property
* Refactor suse check and enable on ubuntu by default
* Refactor irrespective of guest OS
* Improvement
* Logs and new path
* Refactor condition to enable iouring
* Improve condition
* Refactor property check
* Improvement
* Doc comment
* Extend comment
* Move method
* Add log
2022-05-23 08:11:14 -03:00
Nicolas Vazquez
363a2cff82
Backport: kvm: truncate vnc password to 8 chars ( #6244 ) ( #6402 )
...
* kvm: truncate vnc password to 8 chars (#6244 )
This PR truncates the vnc password of kvm vms to 8 chars to support latest versions of libvirt.
* Use lang3 string utils
Co-authored-by: Wei Zhou <weizhou@apache.org>
2022-05-20 11:36:43 -03:00
David Jumani
5fdd4d211d
cks: Get caller user keys if cluster belongs to project ( #6392 )
...
* cks: Get caller user keys if cluster belongs to project
* Refactor
2022-05-18 10:40:13 -03:00
Wei Zhou
8f39a049bb
agent: enable ssl only for kvm agent (not in system vms) ( #6371 )
...
* agent: enable ssl only for kvm agent (not in system vms)
* Revert "agent: enable ssl only for kvm agent (not in system vms)"
This reverts commit b2d76bad2e .
* Revert "KVM: Enable SSL if keystore exists (#6200 )"
This reverts commit 4525f8c8e7 .
* KVM: Enable SSL if keystore exists in LibvirtComputingResource.java
2022-05-12 07:01:55 -03:00
Marcus Sorensen
3dcb93d981
maven: Move apache DS dependencies to test scope ( #6347 )
...
Fixes : #6346
Move LDAP embedded server dependencies to test scope so they aren't packaged in final management server jar.
Co-authored-by: Marcus Sorensen <mls@apple.com>
2022-05-04 11:49:29 +05:30
Pearl Dsilva
3bd723ca06
Change patch path during live patching of systemVMs ( #6328 )
...
* Improve log when live patching fails
* change patching path from /tmp to /var/cache/clou
* add iptable rule for console proxy (novnc)
* temporary template paths
* revert pom xml to original paths
2022-04-29 00:01:11 -03:00
slavkap
453bb57fd2
Disable creating StorPool logs when there isn't StorPool primary storage ( #6317 )
...
There is not need to create log files for StorPool driver when there
isn't a StorPool primary storage
2022-04-27 07:24:44 -03:00
SadiJr
4cc830d04a
[VMWare] error when detaching volume ( #6283 )
...
* Fix exception, in VMWare 6.5, when trying to detach volume
* Address reviews
* Address reviews
Co-authored-by: SadiJr <sadi@scclouds.com.br>
2022-04-26 23:29:17 -03:00
Abhishek Kumar
4a914aa88d
network: ipv6 static routes ( #5786 )
...
* wip
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* IPv6: configure VR of isolated networks
* IPv6: add default IPv6 route in VR of isolated networks
* Reformat server/src/main/java/com/cloud/network/NetworkServiceImpl.java
* IPv6: update network to offering which support IPv6
* IPv6: update vm nic ipv6 address when update network to new offering
* IPv6: configure VPC VR to support multiple tiers with IPv6
* IPv6: add RDNSS in radvd.conf
* IPv6/UI: support ipv6 protocols in Network ACL
* wip
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes for diagnostics
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* more import fromo #5594
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* IPv6: fix wrong public ipv6 in VPC VR
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* Update server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java
Co-authored-by: dahn <daan.hoogland@gmail.com>
* ui: fix add ipv6 prefix labels, message
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: label fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* logging fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* test fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* minor ui refactor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ip6 events
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ip6 usage
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* unused
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* slaac based public ip
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* remove unused
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* diagnostics fix for vr
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* firewall changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* alert and show ipv6 usage
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* change for network response
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ipv6 network test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: fix ipaddress listing
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* wip
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix simulator
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* test fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* test and fixes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* test temp change revert
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fixes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* use uuid
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* event syntax fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* wip
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* review comments
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* assign vlan public IP for dualstack only if both protocols present on same vlan
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* internetprotocol in networkofferingresponse
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add tcp, udp
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* support vpc with ipv6 only on same vlan
- adds new internet protocol param to createVpcOffering API
- When DualStack internet protocol is selected for the VPC offering, tiers with network with or without IPv6 support can be deployed.
- When IPv4 internet protocol is used for the VPC offering, tiers with network with only IPv4 support can be deployed
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* change and fix
allow VPC with IPv4 protocol to deploy tiers with IPv6
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* test fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui fixes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix multiple routes, network guest ipv6 gateway
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* address review comments
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* stop radvd on backup VR
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix router redundant status with ipv6
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* disable radvd for backup vr
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* correctly set ipv6 in redundant router case
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* remove unused code
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix connection
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: don't show all protocol for egress
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix guest ipv6 for redundant VRs
Redundant VRs will not be assigned an IPv6 by ACS and guest netwrok gateway will be added as IPv6 for guest interface by systemvm scripts during setting redundant state of the VR.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix missing ipv6 on redundant vr
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix syntax
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: fix vpc tier redirect to show details
When redirecting to VPC tier, details tab should be active by default
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* restart radvd on primary redundant vr
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* check for ipv6 values
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* remove old ui change
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix condition
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* remove gateway from backup vr
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* network upgrade fail early
when IPv6 network cannot be allocated fail before shutting down the network
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix radvd not running on RVR
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* prepare radvd.conf once
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix job polling
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix RVR for vpc with ipv6
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix ipv6 network acls
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* Update CsConfig.py
* add check
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* test: vpc offering test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* test: add negative tests for guest prefix, public range
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add default ipv6 route for primary
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix dadfailed on vpc rvr
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: fix add iprange form, dedicate action visibility
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix adding, deleting ipv6 range
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix failing test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix missing destination cidr in ipv6 firewall
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix ipv6 nftables rules
Allow storing linger IPv6 CIDRs in DB
Specify all port range for TC{, UDP protocol rules withot ports
Fix adding nft rules by creating chains first
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix icmpv6 type, code
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix icmp type, code
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* test: add more for ipv6 network
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add warning message for egress policy in ipv6 fw rule
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui,server: update ipv6 vlan range
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* subnet operations inside transaction
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* server: persistent public IPv6 for network
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: fix action alignment
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix vpc acl for tiers
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix removing network placeholder nic
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix acl rules for ip version
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix placeholder nic and nd-neighbor block issue
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* test for redundant nw
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix ping
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* systemvm: uprgade to debian 11.3.0
* ipv6: enable ipv6 in sysctl config in bootstrap.sh
* VR: fix KeyError: 'nic_ip6_cidr'
* build fix for latest event changes
Signed-off-by: Abhishek Kumar <abhishek.kumar@shapeblue.com>
Co-authored-by: Wei Zhou <weizhou@apache.org>
Co-authored-by: dahn <daan.hoogland@gmail.com>
2022-04-25 22:51:32 -03:00
Abhishek Kumar
523805c8bc
schema,server,api: events improvement ( #5997 )
...
* schema,server,api: events improvement
Add resource ID and resource type to event.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* wip
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* refactor resourcetype association with API class
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add resource anme to the response
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* more tests
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* new line
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add resource test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* smoke test for events resource
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui improvements
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* refactor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* api,ui: add support for listing events for a resource
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* since key
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* tests and permission changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* missing test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* events for domain
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* improvements
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add missing license
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: fix js console errors
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* sort enumeration
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix event resource for vpc
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* feedback changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix order
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* events with parent resource
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* missing UI labels
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* donot call cmd resource methods before dispatch
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add restore vm to procedure
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add missing imports
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* resource details for more events
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add test for changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* more test, license fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* wrong merge fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix for more event types
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-04-25 09:05:17 -03:00