aboutsummaryrefslogtreecommitdiffstats
path: root/environments/inject-trust-anchor.yaml
blob: 3ecb0d272eadca020a5a49f8ba80c3ae0eeb28df (plain)
1
2
3
4
5
6
parameter_defaults:
  SSLRootCertificate: |
    The contents of your root CA certificate go here

resource_registry:
  OS::TripleO::NodeTLSCAData: ../puppet/extraconfig/tls/ca-inject.yaml
ot;hash_utils.h" #include "expire_cpe.h" #include "prox_compat.h" #define MAX_TSC __UINT64_C(0xFFFFFFFFFFFFFFFF) void check_expire_cpe(void* data) { struct expire_cpe *um = (struct expire_cpe *)data; uint64_t cur_tsc = rte_rdtsc(); struct cpe_data *entries[4] = {0}; void *key[4] = {0}; uint64_t n_buckets = get_bucket_key8(um->cpe_table, um->bucket_index, key, (void**)entries); for (uint8_t i = 0; i < 4 && entries[i]; ++i) { if (entries[i]->tsc < cur_tsc) { int key_found = 0; void* entry = 0; prox_rte_table_key8_delete(um->cpe_table, key[i], &key_found, entry); } } um->bucket_index++; um->bucket_index &= (n_buckets - 1); }